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

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

500_amil.swf

This is the info page for
Flash #83034

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { var CPMStarContentSpotID = '1818Q2FD69960'; System.security.allowDomain('server.cpmstar.com'); adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID); } frame 1 { var NoMenu = new ContextMenu(); NoMenu.hideBuiltInItems(); this.menu = NoMenu; } frame 1 { } 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 { } movieClip 9 { } movieClip 11 { } movieClip 12 { frame 1 { stop(); this.onRollOver = function () { this.gotoAndStop(2); }; this.onRollOut = function () { this.gotoAndStop(1); }; this.onReleaseOutside = function () { this.gotoAndStop(1); }; this.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=somesubid', '_blank'); }; } } movieClip 14 { } movieClip 18 { } movieClip 21 { } // unknown tag 88 length 55 // unknown tag 88 length 55 // unknown tag 88 length 55 button 40 { on (release) { startMovie(); } } movieClip 44 { 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 button 47 { on (release) { getURL('http://pixlcrushr.newgrounds.com/', 'blank'); } } button 48 { on (release) { getURL('http://fionnhodgson.newgrounds.com/', 'blank'); } } button 49 { on (release) { getURL('http://vibe-newgrounds.newgrounds.com/', 'blank'); } } button 50 { on (release) { getURL('http://eliteferrex.newgrounds.com/', 'blank'); } } // 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://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=somesubid', 'blank'); } function doSomething3() { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=walkthrough&action=walkthrough_1725', '_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('Sponsored By Bubblebox.com', doSomething2); Functioned3 = new ContextMenuItem('Walkthrough', doSomething3); 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(Functioned3); MENU.customItems.push(Functioned4); MENU.customItems.push(Functioned5); MENU.customItems.push(Functioned6); _root.menu = MENU; } frame 2 { myMasterSoundObject = new Sound(); myMasterSoundObject.setVolume(0); } frame 2 { stop(); } movieClip 56 { } movieClip 87 { } movieClip 88 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 89 { } movieClip 92 { frame 1 { this._parent.stop(); this.link.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=splash', '_blank'); }; } frame 156 { this._parent.stop(); this.link.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=splash', '_blank'); }; } frame 198 { stop(); this._parent.play(); } } movieClip 94 { } movieClip 95 { } movieClip 97 { } movieClip 99 { } movieClip 103 { } movieClip 104 { } movieClip 105 { } movieClip 107 { } movieClip 111 { } movieClip 113 { } movieClip 121 { } movieClip 123 { frame 30 { prevFrame(); } frame 31 { prevFrame(); } } movieClip 148 { frame 25 { stop(); } } movieClip 149 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 177 { } movieClip 180 { frame 1 { stop(); } frame 2 { _root.myMasterSoundObject.setVolume(10); _root._quality = 'LOW'; } instance of movieClip 99 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.play(); } } } instance of movieClip 99 { 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 113 { 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(); } } movieClip 183 { } movieClip 188 { } movieClip 191 { } movieClip 196 { } movieClip 201 { } // unknown tag 88 length 55 movieClip 206 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 214 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } // unknown tag 88 length 55 movieClip 222 { } movieClip 223 { frame 1 { stop(); } } movieClip 224 { frame 1 { stop(); } } // unknown tag 88 length 55 movieClip 232 { frame 1 { stop(); } frame 2 { stop(); _root.scored.score *= 1; _root.scored.score += 3; } } movieClip 238 { } movieClip 240 { frame 1 { stop(); } frame 2 { stop(); _root.scored.gotoAndStop(2); _root.scored.score.coind *= 1; _root.scored.score.coind += 1; } frame 3 { stop(); } } movieClip 243 { } movieClip 244 { frame 1 { stop(); } frame 2 { stop(); } } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 254 { } // unknown tag 88 length 55 movieClip 258 { } movieClip 264 { } movieClip 270 { } movieClip 276 { } movieClip 282 { } movieClip 288 { } movieClip 294 { } movieClip 308 { } movieClip 318 { } movieClip 327 { } movieClip 328 { frame 1 { stop(); } frame 7 { _root.t8 = true; } } movieClip 329 { frame 1 { stop(); } } instance ach of movieClip 329 { 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 351 { } movieClip 352 { } movieClip 353 { } movieClip 354 { frame 1 { stop(); } instance key of movieClip 353 { } } instance lives of movieClip 354 { 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 368 { on (press) { _root.gotoAndStop(5); } } movieClip 371 { } button 372 { on (press) { _root.gotoAndStop(6); } } button 373 { on (press) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=walkthrough&action=walkthrough_1725', '_blank'); } } movieClip 397 { frame 1 { stop(); } } movieClip 398 { frame 1 { this.onRollOver = function () { this.logo_ro.gotoAndStop(2); }; this.onRollOut = function () { this.logo_ro.gotoAndStop(1); }; this.onReleaseOutside = function () { this.logo_ro.gotoAndStop(1); }; this.onRelease = function () { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=somesubid', '_blank'); }; } } movieClip 404 { } movieClip 413 { frame 1 { stop(); } } instance of movieClip 413 { 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 415 { } movieClip 416 { frame 1 { stop(); } } instance t1 of movieClip 416 { onClipEvent (enterFrame) { if (_root.t1 == true) { this.gotoAndStop(2); } } } movieClip 417 { frame 1 { stop(); } } instance t2 of movieClip 417 { onClipEvent (enterFrame) { if (_root.t2 == true) { this.gotoAndStop(2); } } } movieClip 418 { frame 1 { stop(); } } instance t3 of movieClip 418 { onClipEvent (enterFrame) { if (_root.t3 == true) { this.gotoAndStop(2); } } } movieClip 419 { frame 1 { stop(); } } instance t4 of movieClip 419 { onClipEvent (enterFrame) { if (_root.t4 == true) { this.gotoAndStop(2); } } } movieClip 420 { frame 1 { stop(); } } instance t5 of movieClip 420 { onClipEvent (enterFrame) { if (_root.t5 == true) { this.gotoAndStop(2); } } } movieClip 421 { frame 1 { stop(); } } instance t6 of movieClip 421 { onClipEvent (enterFrame) { if (_root.t6 == true) { this.gotoAndStop(2); } } } frame 4 { _root.controlsone = 1; _root.sound = true; } frame 5 { _root._quality = 'LOW'; } movieClip 422 { } movieClip 423 { } // unknown tag 88 length 55 // unknown tag 88 length 55 movieClip 432 { frame 1 { stop(); } } instance t14 of movieClip 432 { onClipEvent (enterFrame) { if (_root.t14 == true) { this.gotoAndStop(2); } } } instance t1 of movieClip 416 { onClipEvent (enterFrame) { if (_root.t1 == true) { this.gotoAndStop(2); } } } instance t2 of movieClip 417 { onClipEvent (enterFrame) { if (_root.t2 == true) { this.gotoAndStop(2); } } } instance t3 of movieClip 418 { onClipEvent (enterFrame) { if (_root.t3 == true) { this.gotoAndStop(2); } } } instance t4 of movieClip 419 { onClipEvent (enterFrame) { if (_root.t4 == true) { this.gotoAndStop(2); } } } instance t5 of movieClip 420 { onClipEvent (enterFrame) { if (_root.t5 == true) { this.gotoAndStop(2); } } } instance t6 of movieClip 421 { onClipEvent (enterFrame) { if (_root.t6 == true) { this.gotoAndStop(2); } } } movieClip 437 { frame 1 { stop(); } } instance t11 of movieClip 437 { onClipEvent (enterFrame) { if (_root.t11 == true) { this.gotoAndStop(2); } } } movieClip 442 { frame 1 { stop(); } } instance t13 of movieClip 442 { onClipEvent (enterFrame) { if (_root.t13 == true) { this.gotoAndStop(2); } } } movieClip 445 { frame 1 { stop(); } } instance t9 of movieClip 445 { onClipEvent (enterFrame) { if (_root.t9 == true) { this.gotoAndStop(2); } } } movieClip 448 { frame 1 { stop(); } } instance t8 of movieClip 448 { onClipEvent (enterFrame) { if (_root.t8 == true) { this.gotoAndStop(2); } } } movieClip 452 { frame 1 { stop(); } } instance t12 of movieClip 452 { onClipEvent (enterFrame) { if (_root.t12 == true) { this.gotoAndStop(2); } } } movieClip 455 { frame 1 { stop(); } } instance t10 of movieClip 455 { onClipEvent (enterFrame) { if (_root.t10 == true) { this.gotoAndStop(2); } } } movieClip 458 { frame 1 { stop(); } } instance t7 of movieClip 458 { onClipEvent (enterFrame) { if (_root.t7 == true) { this.gotoAndStop(2); } } } button 459 { on (press) { _root.gotoAndStop(3); } } frame 6 { stop(); _root._quality = 'LOW'; } // unknown tag 88 length 55 // unknown tag 88 length 55 button 478 { on (press) { _root.fa.play(); } } movieClip 481 { } movieClip 482 { 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 483 { 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 489 { 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 491 { frame 41 { _root.nextFrame(); } } frame 9 { stop(); bob = true; stop(); _root.controlsone = 1; } frame 9 { myMasterSoundObject.setVolume(100); } movieClip 493 { } movieClip 494 { } movieClip 501 { frame 1 { stop(); } } movieClip 503 { } movieClip 511 { } movieClip 512 { } movieClip 527 { } movieClip 529 { } movieClip 531 { } movieClip 533 { } movieClip 534 { } movieClip 535 { } instance ground of movieClip 535 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } movieClip 536 { } movieClip 550 { } movieClip 552 { } movieClip 558 { 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 560 { frame 24 { _root.nextFrame(); } } movieClip 562 { frame 3 { _root.lives.key.keydd -= 1; } frame 10 { stop(); } } movieClip 576 { frame 17 { _root.char.gotoAndStop(1); } } movieClip 577 { 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 560 { } frame 9 { stop(); } frame 10 { stop(); } } instance char of movieClip 577 { 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 578 { } instance of movieClip 578 { 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 580 { frame 26 { stop(); } } movieClip 583 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } movieClip 584 { } movieClip 585 { } movieClip 586 { } movieClip 589 { } movieClip 590 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 11 { _root.box22.gotoAndStop(2); } frame 11 { stop(); _root.controlsone = 1; } movieClip 595 { } movieClip 596 { instance of movieClip 578 { 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 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } movieClip 597 { } instance ground of movieClip 597 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } instance char of movieClip 577 { 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 598 { } instance ground of movieClip 598 { } movieClip 615 { instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance char of movieClip 577 { 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 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } movieClip 616 { frame 95 { stop(); } } movieClip 618 { instance aasd of movieClip 616 { } 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 619 { 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 623 { } movieClip 624 { } movieClip 626 { } movieClip 629 { } movieClip 630 { } movieClip 632 { } movieClip 634 { } movieClip 636 { } movieClip 638 { } movieClip 642 { frame 28 { stop(); } } instance ach of movieClip 329 { 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(); } } } } button 647 { on (press) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=walkthrough&action=walkthrough_1725', '_blank'); } } movieClip 649 { } movieClip 650 { 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 650 { onClipEvent (enterFrame) { if (Key.isDown(77)) { this.play(); } } } movieClip 653 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } frame 18 { myMasterSoundObject.setVolume(100); } frame 18 { play(); } frame 19 { _root.mutes.gotoAndStop(2); } frame 19 { stop(); } movieClip 656 { } movieClip 658 { } movieClip 660 { } movieClip 662 { } movieClip 664 { } movieClip 666 { } movieClip 682 { } movieClip 684 { } movieClip 687 { } movieClip 688 { frame 195 { _root.nextFrame(); } } instance of movieClip 688 { 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 689 { frame 68 { _root.nextFrame(); } } frame 22 { stop(); } movieClip 694 { } movieClip 695 { } movieClip 697 { } movieClip 701 { frame 4 { _root.lives.key.keydd -= 1; } frame 10 { stop(); } } movieClip 702 { 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 702 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 711 { frame 8 { stop(); } } movieClip 713 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 715 { } movieClip 723 { } movieClip 724 { } instance of movieClip 724 { 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 725 { frame 36 { stop(); } } frame 23 { _root.map.ty.gotoAndStop(2); _root.map.play(); } frame 23 { stop(); } movieClip 727 { } movieClip 729 { } instance of movieClip 729 { 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 730 { } movieClip 732 { } instance of movieClip 732 { 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 734 { } instance of movieClip 734 { 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 736 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 743 { } instance of movieClip 743 { 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 732 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.o1.gotoAndStop(1); } } } instance of movieClip 732 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.o1.gotoAndStop(1); } } } instance char of movieClip 702 { 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 745 { } movieClip 747 { frame 1 { stop(); } } instance o1 of movieClip 747 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 758 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 759 { frame 175 { stop(); } } frame 24 { stop(); } movieClip 762 { } movieClip 764 { } movieClip 767 { } movieClip 768 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 767 { 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 702 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 769 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 771 { } movieClip 773 { } movieClip 777 { } movieClip 778 { } movieClip 780 { } movieClip 781 { frame 603 { stop(); } } frame 25 { stop(); } movieClip 782 { } instance char of movieClip 702 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 26 { stop(); } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 787 { } movieClip 788 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 788 { 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 803 { } movieClip 804 { } instance of movieClip 804 { 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 809 { } movieClip 810 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 809 { 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 812 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 27 { stop(); stop(); } movieClip 814 { } movieClip 816 { } movieClip 839 { frame 1 { stop(); } instance of movieClip 814 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a1.play(); } } } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 841 { } instance of movieClip 841 { 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 842 { } instance char of movieClip 702 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 28 { myMasterSoundObject.setVolume(100); } frame 28 { stop(); } instance of movieClip 729 { 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 848 { } instance of movieClip 848 { 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 853 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 853 { 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 99 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(30); } } } movieClip 854 { } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); _root.char._x = 458; _root.char._y = 182; } } } instance char of movieClip 702 { 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 861 { } movieClip 862 { } instance of movieClip 862 { 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 863 { } // unknown tag 88 length 55 movieClip 869 { 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 871 { } instance of movieClip 666 { 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 854 { 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 875 { } movieClip 877 { } instance of movieClip 877 { 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 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('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 885 { } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 886 { } movieClip 889 { } movieClip 890 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 890 { 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 702 { 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 892 { } frame 31 { stop(); } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 729 { 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 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('Sigh... the fish just don\'t seem to be biting tonight.'), 'Simon'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 99 { 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 743 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(33); } } } movieClip 904 { } movieClip 905 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 904 { 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 702 { 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 906 { } instance 2 of movieClip 747 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 909 { } movieClip 910 { frame 757 { stop(); } } frame 32 { _x = 0; _y = 0; play(); } frame 33 { stop(); } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.fade.play(); } } } movieClip 912 { } instance of movieClip 729 { 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 916 { } movieClip 917 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 917 { 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 919 { } instance of movieClip 919 { 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 924 { } movieClip 925 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 924 { 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 919 { 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 929 { } movieClip 930 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 929 { 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 99 { 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 702 { 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 724 { 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 932 { 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 941 { } movieClip 943 { frame 1 { stop(); } frame 8 { stop(); } frame 13 { stop(); } frame 17 { stop(); } frame 19 { stop(); } frame 21 { stop(); } } instance of movieClip 943 { onClipEvent (keyPress '<Space>') { this.play(); } } frame 35 { _root.mutes.gotoAndStop(1); } frame 35 { myMasterSoundObject.setVolume(100); } frame 35 { stop(); } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 99 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char.collect.play(); _root.c1 = false; } if (_root.c1 == false) { this.gotoAndStop(2); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char.collect.play(); _root.c1 = false; } if (_root.c1 == false) { this.gotoAndStop(2); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 804 { 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 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('Computer status: *offline*'), 'Computer'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 951 { } instance of movieClip 951 { 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 953 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 702 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; gravity = 0; _root.nextFrame(); } } } movieClip 955 { } instance char of movieClip 702 { 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 481 { 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 105 { 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 959 { frame 30 { stop(); } } frame 39 { myMasterSoundObject.setVolume(0); } frame 39 { stopAllSounds(); } frame 39 { stop(); _root.portal1 = false; } movieClip 960 { frame 107 { _root.play(); } } frame 40 { play(); } frame 41 { myMasterSoundObject.setVolume(44); _root.mutes.gotoAndStop(1); } frame 41 { stop(); myMasterSoundObject.setVolume(100); } movieClip 962 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; gravity = 0; _root.gravity = 0; _root.nextFrame(); } } } movieClip 963 { } instance char of movieClip 702 { 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 964 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 966 { } movieClip 968 { } movieClip 969 { } instance of movieClip 969 { 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 971 { } movieClip 972 { } movieClip 975 { } instance of movieClip 975 { 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 983 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 994 { } movieClip 996 { } instance of movieClip 996 { 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; } } } instance of movieClip 201 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); } } } movieClip 997 { instance of movieClip 578 { 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 999 { } movieClip 1000 { } 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 201 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } instance of movieClip 99 { 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 969 { 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 1002 { frame 367 { stop(); } } movieClip 1003 { frame 10 { stop(); } } instance char of movieClip 577 { 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 1006 { instance of movieClip 578 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 201 { 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 1020 { frame 40 { stop(); } } movieClip 1021 { frame 28 { stop(); } frame 29 { stop(); } } movieClip 1022 { } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 1023 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1024 { } movieClip 1025 { } instance of movieClip 1025 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; _root.nextFrame(); } } } movieClip 1027 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 767 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 1028 { } instance of movieClip 123 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 99 { 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 1029 { instance of movieClip 481 { 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 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1030 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 1031 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 577 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 481 { 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 481 { 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 481 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1032 { frame 25 { stop(); } } movieClip 1034 { frame 1 { stop(); } frame 2 { _root.lives.key.keydd *= 1; _root.lives.key.keydd += 1; } frame 3 { stop(); } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } button 1036 { on (release) { _root.myMasterSoundObject.setVolume(0); _root.mutes.gotoAndStop(4); _root.snd.gotoAndStop(1); } } button 1038 { on (release) { _root.myMasterSoundObject.setVolume(0); _root.mutes.gotoAndStop(4); } } button 1041 { on (release) { _root.myMasterSoundObject.setVolume(100); _root.mutes.gotoAndStop(1); _root.snd.gotoAndStop(5); } } movieClip 1042 { frame 1 { stop(); } } movieClip 1046 { frame 1 { stopAllSounds(); } frame 2 { stop(); } } frame 52 { stop(); } movieClip 1047 { instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 25 { stop(); } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 123 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.keys > 3) { _root.ground.lock1.play(); } } } movieClip 1050 { frame 1 { stop(); } frame 16 { stop(); } frame 17 { prevFrame(); } } movieClip 1051 { } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 578 { 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 1052 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1052 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1054 { } movieClip 1055 { } movieClip 1071 { } movieClip 1073 { frame 1 { stop(); } frame 2 { _root.key *= 1; _root.key += 1; } frame 2 { stop(); } } instance 1 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); } } } instance 2 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); } } } frame 54 { stop(); _root.key = 0; } frame 54 { _root.keyd.key.keyd = 0; } movieClip 1074 { frame 25 { stop(); } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 1075 { instance of movieClip 481 { 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 1087 { frame 1 { stop(); } } instance of movieClip 1087 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -21; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 123 { 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 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 56 { stop(); } movieClip 1088 { frame 25 { stop(); } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1089 { } instance of movieClip 578 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 58 { stop(); } movieClip 1090 { } movieClip 1091 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 59 { stop(); keys = 0; } movieClip 1093 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1094 { } instance of movieClip 123 { 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 854 { onClipEvent (enterFrame) { if (_root.keys > 1) { _root.ground.lock1.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1095 { frame 5 { stop(); } } movieClip 1103 { instance of movieClip 578 { 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 1115 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 578 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 577 { 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 1087 { 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 1087 { 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 1116 { frame 25 { stop(); } instance char of movieClip 577 { 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 1117 { instance of movieClip 578 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1118 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 123 { 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 1119 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 63 { stop(); } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 578 { 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 1120 { } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance char of movieClip 577 { 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 123 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } frame 64 { stop(); } movieClip 1121 { frame 25 { stop(); } instance char of movieClip 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 1122 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1125 { instance of movieClip 578 { 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 1130 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 578 { 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 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 577 { 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 1131 { frame 30 { prevFrame(); } frame 31 { prevFrame(); } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 66 { stop(); } frame 67 { stop(); } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1087 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -25; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 1087 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.char.gravity = -23; play(); _root.char.gotoAndStop(3); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 578 { 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 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1132 { } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } frame 68 { stop(); } movieClip 1133 { instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 69 { stop(); } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 1134 { } instance of movieClip 123 { 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 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 578 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1135 { instance of movieClip 481 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 70 { stop(); } movieClip 1136 { frame 25 { stop(); } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance char of movieClip 577 { 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 1137 { } instance of movieClip 578 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1138 { } instance yt of movieClip 1138 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance yi of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } frame 72 { stop(); _root.restartX = 89; _root.restartY = 350; } movieClip 1139 { } instance of movieClip 123 { 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 1140 { } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 73 { stop(); } frame 73 { stop(); } movieClip 1141 { instance of movieClip 481 { 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 481 { 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 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1142 { } movieClip 1143 { } instance 3 of movieClip 1143 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1144 { 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 1145 { 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 1145 { 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 1146 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; _root.nextFrame(); } } } instance of movieClip 481 { 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 1147 { } instance of movieClip 1025 { 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 1148 { } frame 78 { _root.restartX = 190; _root.restartY = 85; } frame 78 { _root.restartX = 75; _root.restartY = 401; } instance c33 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c33 = false; } if (_root.c33 == false) { this.gotoAndStop(3); } } } instance c35 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c35 = false; } if (_root.c35 == false) { this.gotoAndStop(3); } } } instance c31 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c31 = false; } if (_root.c31 == false) { this.gotoAndStop(3); } } } instance c38 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c38 = false; } if (_root.c38 == false) { this.gotoAndStop(3); } } } instance c40 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c40 = false; } if (_root.c40 == false) { this.gotoAndStop(3); } } } instance c36 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c36 = false; } if (_root.c36 == false) { this.gotoAndStop(3); } } } instance c43 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c43 = false; } if (_root.c43 == false) { this.gotoAndStop(3); } } } instance c45 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c45 = false; } if (_root.c45 == false) { this.gotoAndStop(3); } } } instance c41 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c41 = false; } if (_root.c41 == false) { this.gotoAndStop(3); } } } instance c48 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c48 = false; } if (_root.c48 == false) { this.gotoAndStop(3); } } } instance c50 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c50 = false; } if (_root.c50 == false) { this.gotoAndStop(3); } } } instance c46 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c46 = false; } if (_root.c46 == false) { this.gotoAndStop(3); } } } instance c53 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c53 = false; } if (_root.c53 == false) { this.gotoAndStop(3); } } } instance c55 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c55 = false; } if (_root.c55 == false) { this.gotoAndStop(3); } } } instance c51 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c51 = false; } if (_root.c51 == false) { this.gotoAndStop(3); } } } instance c34 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c34 = false; } if (_root.c34 == false) { this.gotoAndStop(3); } } } instance c39 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c39 = false; } if (_root.c39 == false) { this.gotoAndStop(3); } } } instance c44 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c44 = false; } if (_root.c44 == false) { this.gotoAndStop(3); } } } instance c49 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c49 = false; } if (_root.c49 == false) { this.gotoAndStop(3); } } } instance c54 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c54 = false; } if (_root.c54 == false) { this.gotoAndStop(3); } } } instance c32 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c32 = false; } if (_root.c32 == false) { this.gotoAndStop(3); } } } instance c37 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c37 = false; } if (_root.c37 == false) { this.gotoAndStop(3); } } } instance c42 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c42 = false; } if (_root.c42 == false) { this.gotoAndStop(3); } } } instance c47 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c47 = false; } if (_root.c47 == false) { this.gotoAndStop(3); } } } instance c52 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c52 = false; } if (_root.c52 == false) { this.gotoAndStop(3); } } } instance a6 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a6 = false; } if (_root.a6 == false) { this.gotoAndStop(3); } } } instance a4 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a4 = false; } if (_root.a4 == false) { this.gotoAndStop(3); } } } instance l2 of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.cl2 = false; } if (_root.cl2 == false) { this.gotoAndStop(3); } } } movieClip 1149 { } instance of movieClip 123 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance c8 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c8 = false; } if (_root.c8 == false) { this.gotoAndStop(3); } } } instance c10 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c10 = false; } if (_root.c10 == false) { this.gotoAndStop(3); } } } instance c6 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c6 = false; } if (_root.c6 == false) { this.gotoAndStop(3); } } } instance c13 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c13 = false; } if (_root.c13 == false) { this.gotoAndStop(3); } } } instance c15 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c15 = false; } if (_root.c15 == false) { this.gotoAndStop(3); } } } instance c11 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c11 = false; } if (_root.c11 == false) { this.gotoAndStop(3); } } } instance c18 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c18 = false; } if (_root.c18 == false) { this.gotoAndStop(3); } } } instance c20 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c20 = false; } if (_root.c20 == false) { this.gotoAndStop(3); } } } instance c16 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c16 = false; } if (_root.c16 == false) { this.gotoAndStop(3); } } } instance c23 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c23 = false; } if (_root.c23 == false) { this.gotoAndStop(3); } } } instance c25 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c25 = false; } if (_root.c25 == false) { this.gotoAndStop(3); } } } instance c21 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c21 = false; } if (_root.c21 == false) { this.gotoAndStop(3); } } } instance c28 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c28 = false; } if (_root.c28 == false) { this.gotoAndStop(3); } } } instance c30 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c30 = false; } if (_root.c30 == false) { this.gotoAndStop(3); } } } instance c26 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c26 = false; } if (_root.c26 == false) { this.gotoAndStop(3); } } } instance c3 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c3 = false; } if (_root.c3 == false) { this.gotoAndStop(3); } } } instance c5 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c5 = false; } if (_root.c5 == false) { this.gotoAndStop(3); } } } instance c1000 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c1000 = false; } if (_root.c1000 == false) { this.gotoAndStop(3); } } } instance c9 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c9 = false; } if (_root.c9 == false) { this.gotoAndStop(3); } } } instance c14 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c14 = false; } if (_root.c14 == false) { this.gotoAndStop(3); } } } instance c19 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c19 = false; } if (_root.c19 == false) { this.gotoAndStop(3); } } } instance c24 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c24 = false; } if (_root.c24 == false) { this.gotoAndStop(3); } } } instance c29 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c29 = false; } if (_root.c29 == false) { this.gotoAndStop(3); } } } instance c4 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c4 = false; } if (_root.c4 == false) { this.gotoAndStop(3); } } } instance c7 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c7 = false; } if (_root.c7 == false) { this.gotoAndStop(3); } } } instance c12 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c12 = false; } if (_root.c12 == false) { this.gotoAndStop(3); } } } instance c17 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c17 = false; } if (_root.c17 == false) { this.gotoAndStop(3); } } } instance c22 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c22 = false; } if (_root.c22 == false) { this.gotoAndStop(3); } } } instance c27 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c27 = false; } if (_root.c27 == false) { this.gotoAndStop(3); } } } instance c2 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c2 = false; } if (_root.c2 == false) { this.gotoAndStop(3); } } } instance a1 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a1 = false; } if (_root.a1 == false) { this.gotoAndStop(3); } } } instance a2 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a2 = false; } if (_root.a2 == false) { this.gotoAndStop(3); } } } instance a5 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a5 = false; } if (_root.a5 == false) { this.gotoAndStop(3); } } } instance a3 of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.a3 = false; } if (_root.a3 == false) { this.gotoAndStop(3); } } } instance l1 of movieClip 1034 { 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 99 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.play(); } } } instance of movieClip 99 { 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 577 { 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 111 { onClipEvent (enterFrame) { if (_root.t5 == false) { _root.t5 = true; _root.ach.trust.gotoAndStop(5); _root.ach.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } frame 83 { stop(); } movieClip 1150 { instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } frame 25 { stop(); } instance char of movieClip 577 { 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 1154 { } movieClip 1155 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } instance of movieClip 1154 { 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 1157 { } movieClip 1159 { } instance char of movieClip 577 { 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 1163 { } movieClip 1164 { } movieClip 1168 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 1171 { frame 1 { stop(); } instance of movieClip 1168 { 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 1171 { } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 578 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } // unknown tag 88 length 55 movieClip 1176 { } movieClip 1177 { } movieClip 1178 { frame 205 { stop(); } } // unknown tag 88 length 55 movieClip 1182 { } movieClip 1183 { frame 158 { stop(); } } movieClip 1186 { } movieClip 1187 { frame 1 { stop(); } } instance of movieClip 1187 { onClipEvent (load) { this.gotoAndStop(2); } } frame 87 { stop(); } movieClip 1189 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 88 { stop(); } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1191 { instance of movieClip 999 { 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 481 { } } instance ground of movieClip 1191 { } instance char of movieClip 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.nextFrame(); } } } frame 89 { stop(); } movieClip 1192 { } movieClip 1193 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 90 { _root.map.ty.gotoAndStop(5); } frame 90 { stop(); } movieClip 1195 { } instance ground of movieClip 1195 { } instance char of movieClip 577 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 578 { 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 1196 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 92 { _root.achd.trust.password = 'adamsmurmer'; passd = 'adamsmurmer'; _root.achd.play(); } frame 92 { stop(); _root.controlsone = 1; } movieClip 1197 { instance of movieClip 481 { 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 1197 { } instance char of movieClip 577 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 93 { stop(); _root.key = 0; } movieClip 1198 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 94 { stop(); } movieClip 1199 { instance of movieClip 481 { 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 1199 { } instance char of movieClip 577 { 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 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 1052 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } frame 95 { stop(); } movieClip 1200 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 96 { _root.achd.trust.password = 'cosmos'; passd = 'cosmos'; _root.achd.play(); } frame 96 { stop(); _root.controlsone = 1; } movieClip 1202 { } instance ground of movieClip 1202 { } instance char of movieClip 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 97 { stop(); _root.key = 0; } movieClip 1203 { frame 25 { stop(); } instance char of movieClip 577 { 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 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndStop(40); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } movieClip 1205 { } instance ground of movieClip 1205 { } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1208 { instance of movieClip 578 { 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 1117 { onClipEvent (load) { this.gotoAndStop(15); } } } instance of movieClip 1208 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance char of movieClip 577 { 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 578 { 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 578 { 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 578 { 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 578 { 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 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(50); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 596 { onClipEvent (load) { this.gotoAndPlay(110); } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1211 { frame 1 { stop(); } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } frame 15 { stop(); } frame 16 { prevFrame(); } } movieClip 1212 { } instance ground of movieClip 1212 { } instance 3 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 4 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance char of movieClip 577 { 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 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 2 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance 1 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1052 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1052 { 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 854 { onClipEvent (enterFrame) { if (_root.key > 4) { _root.ground.lock1.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 705; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = -1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 500; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 700; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 1; } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; } } } instance of movieClip 105 { 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 1213 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 104 { _root.keys = 0; stop(); } movieClip 1215 { } instance ground of movieClip 1215 { } instance char of movieClip 577 { 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 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k2 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1052 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } frame 105 { stop(); _root.key = 0; } frame 106 { stop(); _root.key = 0; _root.controlsone = 1; } movieClip 1217 { instance of movieClip 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 481 { 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 1217 { } instance char of movieClip 577 { 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 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 1052 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } frame 107 { stop(); _root.key = 0; } movieClip 1218 { frame 25 { stop(); } instance char of movieClip 577 { onClipEvent (enterFrame) { this.gotoAndStop(8); } } } frame 108 { stop(); } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1220 { } instance ground of movieClip 1220 { } instance char of movieClip 577 { 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 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance k2 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance k1 of movieClip 1073 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _root.keys += 1; } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock1.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (_root.key > 1) { _root.ground.lock2.play(); } } } instance of movieClip 1052 { 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 1052 { 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 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 1034 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { 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 1223 { instance of movieClip 578 { 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 578 { 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 1223 { 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 1227 { instance of movieClip 481 { 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 481 { 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 481 { 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 1227 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.nextFrame(); } } } instance of movieClip 1223 { 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 111 { onClipEvent (enterFrame) { if (_root.t13 == false) { _root.t13 = true; _root.ach.trust.gotoAndStop(13); _root.ach.play(); } } } movieClip 1228 { 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 1229 { 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 1229 { 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 578 { 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 578 { 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 1230 { instance of movieClip 481 { 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 481 { 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 481 { 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 1230 { } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1231 { instance of movieClip 578 { 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 578 { 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 1231 { 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 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } movieClip 1233 { instance of movieClip 481 { 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 481 { 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 481 { 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 1233 { } instance of movieClip 1117 { onClipEvent (load) { this.gotoAndStop(15); } } instance 3 of movieClip 1223 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c61 = false; } if (_root.c61 == false) { this.gotoAndStop(3); } } } instance c56 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c56 = false; } if (_root.c56 == false) { this.gotoAndStop(3); } } } instance c62 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c62 = false; } if (_root.c62 == false) { this.gotoAndStop(3); } } } instance c57 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c57 = false; } if (_root.c57 == false) { this.gotoAndStop(3); } } } instance c63 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c63 = false; } if (_root.c63 == false) { this.gotoAndStop(3); } } } instance c58 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c58 = false; } if (_root.c58 == false) { this.gotoAndStop(3); } } } instance c65 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c65 = false; } if (_root.c65 == false) { this.gotoAndStop(3); } } } instance c59 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c59 = false; } if (_root.c59 == false) { this.gotoAndStop(3); } } } instance c64 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c64 = false; } if (_root.c64 == false) { this.gotoAndStop(3); } } } instance c60 of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); _root.c60 = false; } if (_root.c60 == false) { this.gotoAndStop(3); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1234 { instance of movieClip 481 { 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 481 { 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 481 { 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 1234 { } instance of movieClip 113 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _root.play(); } } } instance of movieClip 578 { 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 1235 { } movieClip 1237 { instance char of movieClip 577 { 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 1240 { frame 30 { _root.play(); } } frame 117 { pass = _root.achd.trust.password; } frame 117 { stop(); stopAllSounds(); _root._quality = 'HIGH'; } // unknown tag 88 length 55 button 1252 { on (press) { getURL('http://www.bubblebox.com/clickreg.php?type=gamestats&id=1725&subid=somesubid', '_blank'); } } movieClip 1255 { instance of movieClip 734 { 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 732 { 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 732 { 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 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance char of movieClip 577 { 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 99 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 111 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1267 { frame 1 { stop(); } } movieClip 1268 { } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a3.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a4.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a5.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a6.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a7.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a8.play(); } } } instance of movieClip 578 { 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 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1271 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance char of movieClip 577 { 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 481 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } instance of movieClip 713 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.nextFrame(); } } } movieClip 1274 { } instance a1 of movieClip 839 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1275 { frame 1 { stop(); } instance of movieClip 814 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a2.play(); } } } instance of movieClip 578 { 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 1275 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1276 { frame 1 { stop(); } instance of movieClip 814 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.a3.play(); } } } instance of movieClip 578 { 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 1276 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1278 { } movieClip 1279 { } movieClip 1280 { frame 1 { stop(); } instance of movieClip 1278 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s1.play(); } } } instance of movieClip 578 { 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 1280 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } instance of movieClip 862 { 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 577 { 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 105 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { onClipEvent (enterFrame) { if (_root.char.hitTest(hit) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(4); _root.dead = true; } } } movieClip 1283 { } instance t1 of movieClip 839 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { this.play(); } } } movieClip 1284 { instance of movieClip 1278 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s2.gotoAndPlay(24); } } } frame 23 { gotoAndPlay(1); } instance of movieClip 578 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } } movieClip 1285 { instance of movieClip 1278 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true)) { _root.s3.gotoAndPlay(24); } } } frame 23 { gotoAndPlay(1); } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a2.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a3.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a4.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a5.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a6.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a7.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a8.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a9.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a10.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a11.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a12.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a13.play(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a14.play(); } } } instance char of movieClip 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1288 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a1.play(); } } } instance of movieClip 578 { 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 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1293 { } instance of movieClip 1293 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { onClipEvent (enterFrame) { if (_root.char.hitTest(hit) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(4); _root.dead = true; } } } movieClip 1295 { } instance of movieClip 578 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) and _root.dead == false) { _root.ground.a14.play(); } } } movieClip 1299 { } movieClip 1300 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 1300 { 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 577 { 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 804 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.nextFrame(); _root.char._x = 10; } } } instance of movieClip 111 { 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 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1302 { } movieClip 1304 { } movieClip 1306 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 685; _root.prevFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(127); } } } instance of movieClip 854 { onClipEvent (enterFrame) { if (this.hitTest(_root.char._x, _root.char._y, true) && Key.isDown(32)) { _root.nextFrame(); } } } instance char of movieClip 577 { 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 666 { 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 1308 { } instance of movieClip 1308 { 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 854 { 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 662 { 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 666 { 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 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1310 { } instance of movieClip 1310 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(26); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(130); } } } movieClip 1315 { } instance of movieClip 1315 { 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 1316 { } instance of movieClip 854 { 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 724 { 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 1321 { } movieClip 1322 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } instance of movieClip 1322 { 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 1324 { 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 1324 { 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 1327 { } movieClip 1329 { } instance of movieClip 1329 { 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 1308 { 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 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('Those animals you\'re carrying must be heavy. Please don\'t hurt yourself.'), 'Catherine'); _root.char.speekable = false; } } temp = false; } else { temp = true; } } } movieClip 1335 { } instance of movieClip 113 { 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 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } movieClip 1338 { } movieClip 1341 { } instance of movieClip 1341 { 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 99 { 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 1342 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.gotoAndStop(32); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._x = 0; _root.nextFrame(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance char of movieClip 577 { 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 578 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char.gravity = -30; _root.char.gotoAndStop(9); _root.dead = true; } } } movieClip 1343 { } instance of movieClip 732 { 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 734 { 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 734 { 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 734 { 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 734 { 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 732 { 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 1345 { } movieClip 1347 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } movieClip 1348 { } instance char of movieClip 577 { 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 577 { 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 1350 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance of movieClip 724 { 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 1315 { 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 1354 { } instance of movieClip 1354 { 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 577 { 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 1357 { instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } } instance char of movieClip 577 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1358 { } instance of movieClip 99 { 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 1360 { } instance char of movieClip 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 136 { nextFrame(); } frame 137 { _x = 0; _y = 0; } instance of movieClip 885 { onClipEvent (load) { origx = _x; origy = _why; } onClipEvent (enterFrame) { _x = origx - _root._x; _y = origy - _root._y; } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1362 { instance of movieClip 481 { 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 578 { 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 577 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } frame 138 { stop(); } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1363 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 577 { 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 1364 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.prevFrame(); } } } instance char of movieClip 577 { 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 1366 { } movieClip 1367 { } frame 141 { stop(); } instance of movieClip 729 { 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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } movieClip 1369 { } 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('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 983 { onClipEvent (load) { this.gotoAndPlay(10); } } instance of movieClip 578 { 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 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.char._x = 10; _root.nextFrame(); } } } movieClip 1371 { } frame 142 { stop(); } instance of movieClip 99 { 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 1372 { } movieClip 1375 { frame 1 { if (!loaded) { loaded = true; origxscale = _xscale; this.onEnterFrame = function () { if (_root.char._x > _x) { _xscale = origxscale; } else { _xscale = -origxscale; } }; } } } movieClip 1376 { } instance of movieClip 1376 { 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 1378 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 577 { 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 1382 { } movieClip 1383 { } instance of movieClip 1383 { 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 99 { 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 1385 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and _root.dead == false) { _root.nextFrame(); _root.char._x = 10; } } } instance of movieClip 99 { 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 724 { 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 577 { 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 1388 { } instance of movieClip 105 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.char._y = 1; _root.gravity = 0; _root.nextFrame(); } } } instance char of movieClip 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } movieClip 1391 { } instance char of movieClip 577 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 146 { stop(); stop(); } movieClip 1394 { } instance char of movieClip 577 { 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 804 { 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 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } instance of movieClip 240 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.play(); } } } frame 147 { stop(); } instance of movieClip 732 { 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 732 { 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 630 { 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 1397 { } instance char of movieClip 577 { 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 951 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) && Key.isDown(32)) { _root.nextFrame(); } } } instance char of movieClip 577 { 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 1400 { } movieClip 1404 { } movieClip 1406 { } movieClip 1410 { } movieClip 1412 { instance of movieClip 975 { 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 1412 { 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 1414 { 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 1414 { onClipEvent (enterFrame) { } onClipEvent (keyPress '<Space>') { this.play(); } } movieClip 1416 { frame 1 { stop(); } frame 30 { _root.nextFrame(); } } frame 154 { stop(); } movieClip 1424 { } button 1427 { on (press) { _root.gotoAndStop(2); } } movieClip 1442 { } movieClip 1460 { 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); } }




http://swfchan.com/17/83034/info.shtml
Created: 1/4 -2019 02:17:54 Last modified: 1/4 -2019 02:17:54 Server time: 05/11 -2024 16:42:26