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

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

Agent - Fox.swf

This is the info page for
Flash #236295

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { var gems = 0; var DEATHS = 0; var TIME = 0; } frame 1 { var TIME = 0; var TIME1 = 0; var TIME2 = 0; var TIME3 = 0; var TIME4 = 0; var TIME5 = 0; var TIME6 = 0; var TIME7 = 0; } frame 1 { Score = 100; } frame 1 { var gems = 0; var DEATHS = 0; var TIME = 0; } movieClip 5 { } movieClip 8 { } movieClip 19 { } movieClip 21 { frame 40 { stop(); } } movieClip 34 { } button 35 { on (release) { startMovie(); } } movieClip 36 { 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(); } } movieClip 39 { } instance of movieClip 39 { onClipEvent (release) { getURL('http://azrael.sexyfuckgames.com/', '_blank'); } } // unknown tag 88 length 65 frame 2 { stop(); } movieClip 47 { } movieClip 48 { } movieClip 50 { frame 40 { stop(); } } movieClip 52 { } movieClip 53 { frame 80 { stop(); } instance of movieClip 52 { onClipEvent (release) { _root.gotoAndPlay('level1file'); } } } frame 3 { stop(); } movieClip 57 { } movieClip 60 { } movieClip 63 { frame 1191 { stop(); } } movieClip 66 { } movieClip 67 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('levelonestart'); } } frame 60 { stop(); } } // unknown tag 88 length 282 movieClip 71 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } parentColor.setTransform(camColor.getTransform()); this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; var cX = Stage.width / 2; var cY = Stage.height / 2; var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } // unknown tag 88 length 178 button 83 { on (release) { getURL('http://www.sexyfuckgames.com', '_blank'); } } movieClip 84 { } instance mcMouse of movieClip 84 { onClipEvent (enterFrame) { _y = _y + (_root.player._y - _y) / 1; _x = _x + (_root.player._x - _x) / 1; } } frame 5 { var gems = 0; } frame 5 { onEnterFrame = function () { _root._x = 340 - _root.player._x; _root._y = 275 - _root.player._y; }; } frame 5 { var bc = 1000; _root.onMouseDown = function () { if (_root.player._currentframe != 4) { ++bc; if (bc > 1010) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } }; copcount = 1; var Score = 10; var health = 200; } frame 5 { stop(); } movieClip 98 { } movieClip 100 { } movieClip 103 { } movieClip 105 { } movieClip 106 { } movieClip 107 { } movieClip 108 { frame 1 { stop(); } } instance ground of movieClip 108 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 111 { } movieClip 113 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-2'); } } } } movieClip 115 { } movieClip 117 { instance of movieClip 115 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-12'); } } } } movieClip 124 { } movieClip 125 { } // unknown tag 88 length 171 movieClip 136 { } movieClip 137 { frame 7 { stop(); } } movieClip 138 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 5; } } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 140 { frame 7 { stop(); } } movieClip 141 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 70; } } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 143 { frame 7 { stop(); } } movieClip 144 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 50; } } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 146 { frame 7 { stop(); } } movieClip 147 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 100; } } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 149 { frame 7 { stop(); } } movieClip 150 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 200; } } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 152 { frame 7 { stop(); } } movieClip 153 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 10; } } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 155 { frame 7 { stop(); } } movieClip 156 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 20; } } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 158 { frame 33 { _root.TIME += 1; } } movieClip 160 { frame 33 { _root.TIME1 += 1; } } movieClip 163 { } movieClip 165 { } movieClip 169 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 169 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 171 { } movieClip 173 { } movieClip 175 { } movieClip 177 { } movieClip 179 { } movieClip 181 { } movieClip 183 { } movieClip 185 { } movieClip 187 { } movieClip 188 { frame 5 { stop(); } } movieClip 190 { } movieClip 191 { } movieClip 192 { frame 5 { stop(); } } movieClip 194 { } movieClip 196 { } movieClip 201 { } movieClip 203 { } movieClip 206 { } movieClip 207 { } movieClip 209 { } movieClip 211 { } movieClip 214 { } movieClip 215 { } movieClip 217 { } movieClip 218 { frame 1 { play(); } frame 15 { stop(); } } movieClip 224 { } movieClip 225 { frame 1 { varScore = 786786; } frame 1 { var Score = 10; } instance body of movieClip 171 { onClipEvent (load) { this._visible = false; } } frame 5 { varScore = 786786; } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 227 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-3'); } } } } movieClip 230 { } movieClip 231 { instance of movieClip 230 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-11'); } } } } movieClip 233 { } movieClip 236 { frame 8 { stop(); } } movieClip 242 { } movieClip 244 { } movieClip 247 { } movieClip 256 { frame 1 { stop(); } frame 14 { gotoAndPlay(1); } } instance of movieClip 256 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 65; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } frame 6 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('23'); } } movieClip 265 { } movieClip 267 { } movieClip 269 { } movieClip 271 { } movieClip 273 { } movieClip 275 { } movieClip 276 { } movieClip 277 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-1'); } } frame 81 { stop(); } } movieClip 278 { frame 1 { _root.DEATHS += 1; _root.gems -= 150; } frame 2 { stop(); } } frame 7 { stop(); } movieClip 282 { } movieClip 284 { } movieClip 285 { frame 33 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-1'); } } } frame 8 { stop(); } movieClip 287 { } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 289 { frame 1 { stop(); } frame 14 { gotoAndPlay(1); } } movieClip 290 { instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 35; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } } movieClip 291 { frame 1 { stop(); } } instance ground of movieClip 291 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 293 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 293 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 294 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-4'); } } } } movieClip 296 { } movieClip 298 { } movieClip 300 { } movieClip 302 { } movieClip 304 { } movieClip 306 { } movieClip 307 { } movieClip 308 { instance of movieClip 307 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-21'); } } } } movieClip 309 { } movieClip 312 { frame 1 { stop(); } frame 7 { stop(); } } instance of movieClip 312 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 312 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 312 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } movieClip 314 { frame 1 { stop(); } } instance of movieClip 314 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 316 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance of movieClip 316 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } frame 9 { stop(); } movieClip 320 { } movieClip 321 { } movieClip 323 { } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 331 { frame 1 { stop(); } frame 19 { stop(); } } movieClip 339 { frame 1 { stop(); } frame 61 { stop(); } } movieClip 340 { frame 1 { stop(); } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 339 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 331 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 340 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 342 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 342 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 343 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-5'); } } } } movieClip 345 { frame 1 { stop(); } } instance of movieClip 345 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 346 { } instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-31'); } } } movieClip 348 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 348 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } frame 10 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('26'); } } movieClip 353 { } movieClip 355 { } movieClip 358 { } movieClip 377 { } movieClip 378 { frame 5 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-2'); } } } frame 11 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('27'); } } movieClip 382 { } movieClip 384 { } movieClip 386 { } movieClip 407 { } movieClip 408 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-3'); } } frame 119 { stop(); } } frame 12 { stop(); } movieClip 411 { } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 414 { } movieClip 415 { frame 1 { stop(); } } movieClip 416 { frame 1 { stop(); } } movieClip 417 { frame 1 { stop(); } } movieClip 418 { frame 1 { stop(); } } movieClip 419 { frame 1 { stop(); } } movieClip 420 { frame 1 { stop(); } instance of movieClip 419 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 419 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 420 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 424 { } movieClip 426 { } movieClip 427 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-41'); } } } } movieClip 429 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 429 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 430 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-6'); } } } } movieClip 432 { frame 1 { stop(); } } instance of movieClip 432 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } frame 13 { stop(); } movieClip 435 { } movieClip 436 { } movieClip 440 { } movieClip 446 { } movieClip 448 { instance of movieClip 436 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-51'); } } } } movieClip 450 { frame 1 { stop(); } } instance ground of movieClip 450 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 452 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 452 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 455 { } movieClip 457 { } movieClip 459 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 459 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } frame 14 { stop(); } movieClip 475 { frame 22 { stop(); } } movieClip 476 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-4'); } } frame 130 { stop(); } } frame 15 { stop(); } movieClip 481 { } movieClip 483 { } movieClip 484 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-5'); } } frame 90 { stop(); } } frame 16 { stop(); } movieClip 487 { } movieClip 488 { } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 153 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 491 { } movieClip 492 { } movieClip 503 { } movieClip 505 { } movieClip 506 { instance of movieClip 505 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } } movieClip 508 { } movieClip 509 { instance of movieClip 506 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } instance of movieClip 506 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } } movieClip 511 { } movieClip 512 { } movieClip 514 { instance of movieClip 505 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-62'); } } } } movieClip 515 { } movieClip 517 { frame 1 { stop(); } } instance ground of movieClip 517 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 518 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1ending1'); } } } } movieClip 519 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1ending2'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 521 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 521 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 523 { } movieClip 525 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 525 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } frame 17 { stop(); } movieClip 528 { } movieClip 529 { } movieClip 536 { instance of movieClip 506 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-6'); } } frame 93 { stop(); } } frame 18 { stop(); } movieClip 540 { } movieClip 542 { } movieClip 543 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-6'); } } frame 100 { stop(); } } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('34'); } } frame 20 { stop(); } frame 20 { stopAllSounds(); } movieClip 551 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 554 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start2'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 21 { stop(); } movieClip 560 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start2'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 22 { stop(); } movieClip 562 { frame 1376 { stop(); } } movieClip 564 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('leveltwostart'); } } frame 60 { stop(); } } instance mcMouse of movieClip 84 { onClipEvent (enterFrame) { _y = _y + (_root.player._y - _y) / 1; _x = _x + (_root.player._x - _x) / 1; } } instance mcMouse of movieClip 84 { onClipEvent (enterFrame) { _y = _y + (_root.player._y - _y) / 1; _x = _x + (_root.player._x - _x) / 1; } } frame 24 { stop(); } movieClip 569 { } movieClip 572 { } movieClip 574 { frame 33 { _root.TIME2 += 1; } } movieClip 576 { frame 1 { stop(); } } instance ground of movieClip 576 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 578 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 578 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 580 { } movieClip 582 { } movieClip 583 { instance of movieClip 580 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-11'); } } } } movieClip 584 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 584 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 584 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 584 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } movieClip 586 { frame 1 { stop(); } } instance of movieClip 586 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 588 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 588 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 589 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndPlay('2-3'); } } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 256 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 65; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } frame 26 { stop(); } movieClip 594 { } movieClip 595 { } movieClip 596 { } movieClip 599 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-21'); } } } } movieClip 600 { } movieClip 602 { frame 1 { stop(); } } instance ground of movieClip 602 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 604 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 604 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 606 { frame 1 { stop(); } } instance of movieClip 606 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 608 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 608 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 256 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 65; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } frame 27 { stop(); } movieClip 613 { } movieClip 615 { } movieClip 621 { } movieClip 626 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-1'); } } frame 127 { stop(); } } frame 28 { stop(); } movieClip 630 { } movieClip 633 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-2'); } } frame 22 { stop(); } } frame 29 { stop(); } movieClip 636 { } movieClip 638 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-31'); } } } } movieClip 640 { frame 1 { stop(); } } instance ground of movieClip 640 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 641 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-4'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 643 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 643 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 646 { } movieClip 647 { } movieClip 649 { } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 30 { stop(); } movieClip 660 { } movieClip 661 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-3'); } } frame 100 { stop(); } } frame 31 { stop(); } movieClip 664 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-5'); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } movieClip 666 { frame 1 { stop(); } frame 2 { stop(); } } instance ground of movieClip 666 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 668 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-41'); } } } } movieClip 669 { frame 591 { stop(); } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 671 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 671 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 32 { stop(); } movieClip 675 { } movieClip 677 { } movieClip 682 { } movieClip 683 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-4'); } } frame 100 { stop(); } } frame 33 { stop(); } movieClip 686 { } movieClip 687 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-53'); } } } } movieClip 702 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-52'); } } } } movieClip 704 { } movieClip 706 { frame 1 { stop(); } } instance ground of movieClip 706 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 707 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-6'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 718 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } frame 181 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 718 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 720 { } movieClip 722 { } movieClip 723 { instance of movieClip 346 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-51'); } } } } movieClip 724 { frame 918 { stop(); } } movieClip 726 { frame 1 { stop(); } } instance of movieClip 726 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 728 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 728 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 34 { stop(); } movieClip 734 { } movieClip 735 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 42 { stop(); } } frame 35 { stop(); } movieClip 747 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 100 { stop(); } } frame 36 { stop(); } movieClip 773 { } movieClip 774 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 90 { stop(); } } frame 37 { stop(); } movieClip 776 { } movieClip 779 { } movieClip 780 { instance of movieClip 505 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-62'); } } } } movieClip 790 { } movieClip 793 { } movieClip 795 { instance of movieClip 793 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-63'); } } } } movieClip 797 { instance of movieClip 793 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-63'); } } } } movieClip 799 { } movieClip 803 { } movieClip 804 { frame 1 { stop(); } instance of movieClip 799 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-61'); } } } } movieClip 805 { frame 1 { stop(); } } movieClip 807 { frame 1 { stop(); } instance of movieClip 804 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-62'); } } } instance of movieClip 804 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-61'); } } } instance of movieClip 804 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-31'); } } } frame 30 { stop(); } } movieClip 808 { frame 1 { stop(); } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 10; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 807 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 30; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } } instance ground of movieClip 808 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 810 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2ending'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 11; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 812 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 812 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 814 { frame 1 { stop(); } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 10; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 30; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } } instance of movieClip 814 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 816 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 816 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 38 { stop(); } movieClip 819 { } movieClip 820 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } } frame 39 { stop(); } movieClip 825 { } movieClip 826 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } frame 124 { stop(); } } frame 40 { stop(); } movieClip 831 { } movieClip 842 { } movieClip 847 { } movieClip 848 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } frame 208 { stop(); } } frame 41 { stop(); } frame 41 { stopAllSounds(); } movieClip 854 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start3'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 200) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 170) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 125) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 42 { stop(); } movieClip 856 { frame 1303 { stop(); } } movieClip 858 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('levelthreestart'); } } frame 60 { stop(); } } instance mcMouse of movieClip 84 { onClipEvent (enterFrame) { _y = _y + (_root.player._y - _y) / 1; _x = _x + (_root.player._x - _x) / 1; } } frame 44 { test = true; } frame 44 { stop(); } movieClip 865 { } movieClip 867 { } movieClip 869 { } movieClip 870 { } movieClip 871 { } movieClip 880 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 881 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 5; } } } instance of movieClip 880 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndPlay('keypickup'); } } } frame 2 { _root.Test = false; } } instance of movieClip 881 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.test = false; } } } movieClip 883 { frame 33 { _root.TIME3 += 1; } } movieClip 885 { } movieClip 888 { frame 1 { stop(); } instance of movieClip 419 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 888 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 890 { } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health -= 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 12; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 892 { } movieClip 893 { } movieClip 904 { frame 25 { stop(); } } movieClip 914 { frame 15 { stop(); } } movieClip 915 { frame 1 { stop(); } } instance of movieClip 915 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndStop(2); } if (this._currentframe == 2) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } // unknown tag 88 length 284 movieClip 921 { frame 1 { stop(); } frame 25 { stop(); } } movieClip 922 { frame 1 { stop(); } } instance of movieClip 922 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndStop(2); } if (this._currentframe == 2) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } movieClip 928 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 929 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } instance of movieClip 928 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } instance of movieClip 928 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } } instance walls of movieClip 929 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 931 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-2'); } } } } movieClip 934 { frame 1 { stop(); } instance of movieClip 419 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance of movieClip 934 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 936 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } instance of movieClip 928 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } } instance walls of movieClip 936 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 256 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 65; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } frame 45 { stop(); } movieClip 943 { } movieClip 946 { } movieClip 950 { } movieClip 951 { } movieClip 953 { frame 1 { stop(); } } movieClip 954 { frame 1 { stop(); } } movieClip 955 { frame 1 { stop(); } instance of movieClip 953 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 954 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 955 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 956 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-4'); } } } } movieClip 958 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-3'); } } } } movieClip 960 { } movieClip 962 { } movieClip 964 { } movieClip 965 { instance of movieClip 964 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-21'); } } } } movieClip 968 { } movieClip 969 { instance of movieClip 968 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-22'); } } } } movieClip 970 { } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 972 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 972 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 974 { frame 1 { stop(); } } instance of movieClip 974 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 976 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 976 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 46 { stop(); } movieClip 984 { } movieClip 985 { } movieClip 987 { } movieClip 988 { } movieClip 989 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-2'); } } frame 100 { stop(); } } frame 47 { stop(); } movieClip 992 { } movieClip 993 { } movieClip 995 { } movieClip 996 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-2'); } } frame 100 { stop(); } } frame 48 { stop(); } movieClip 998 { } movieClip 1000 { frame 1 { stop(); } } instance ground of movieClip 1000 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1001 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-4'); } } } } movieClip 1004 { } movieClip 1005 { } movieClip 1007 { instance of movieClip 968 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-31'); } } } } movieClip 1008 { } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1010 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1010 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1012 { frame 1 { stop(); } } instance of movieClip 1012 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1014 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1014 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 49 { stop(); } movieClip 1018 { } movieClip 1020 { } movieClip 1022 { } movieClip 1026 { } movieClip 1027 { } movieClip 1028 { } movieClip 1029 { instance of movieClip 968 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-42'); } } } } movieClip 1031 { frame 1 { stop(); } } instance ground of movieClip 1031 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1032 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-6'); } } } } movieClip 1033 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-5'); } } } } movieClip 1035 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1035 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1037 { frame 1 { stop(); } } instance of movieClip 1037 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1039 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1039 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1042 { } movieClip 1044 { } movieClip 1061 { } movieClip 1062 { frame 361 { stop(); } instance of movieClip 1061 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-41'); } } } } movieClip 1063 { frame 8 { stop(); } } movieClip 1064 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1064 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 50 { stop(); } movieClip 1071 { } movieClip 1077 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-3'); } } frame 95 { stop(); } } frame 51 { stop(); } movieClip 1082 { } movieClip 1090 { } movieClip 1091 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-4'); } } frame 100 { stop(); } } frame 52 { stop(); } movieClip 1100 { } movieClip 1107 { frame 22 { stop(); } } movieClip 1108 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-4'); } } frame 100 { stop(); } } frame 53 { stop(); } movieClip 1110 { } movieClip 1111 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3ending2'); } } } } movieClip 1113 { } movieClip 1115 { } movieClip 1117 { } movieClip 1119 { instance of movieClip 1113 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-51'); } } } instance of movieClip 1113 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-51'); } } } } movieClip 1121 { frame 1 { stop(); } } movieClip 1122 { frame 1 { stop(); } instance of movieClip 1121 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 954 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1122 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1124 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1124 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1126 { frame 1 { stop(); } instance of movieClip 1121 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 954 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance of movieClip 1126 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1128 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1128 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 54 { stop(); } movieClip 1131 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-5'); } } } frame 55 { stop(); } movieClip 1134 { } movieClip 1135 { } movieClip 1136 { } movieClip 1138 { instance of movieClip 1136 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-62'); } } } } movieClip 1149 { instance of movieClip 1136 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(15); } } } } movieClip 1150 { } movieClip 1152 { frame 1 { stop(); } } instance ground of movieClip 1152 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1153 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3ending1'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1155 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1155 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1158 { frame 1 { stop(); } } instance of movieClip 1158 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1160 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1160 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1162 { } instance of movieClip 1162 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-61'); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 56 { stop(); } movieClip 1169 { } movieClip 1193 { } movieClip 1195 { } movieClip 1197 { } movieClip 1198 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-6'); } } frame 90 { stop(); } } frame 57 { stop(); } movieClip 1206 { } movieClip 1210 { } movieClip 1225 { } movieClip 1236 { } movieClip 1237 { } movieClip 1238 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-6'); } } frame 95 { stop(); } } frame 58 { stop(); } frame 58 { stopAllSounds(); } movieClip 1244 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start4'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 59 { stop(); } movieClip 1250 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start4'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 60 { stop(); } movieClip 1252 { frame 950 { stop(); } } movieClip 1254 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('levelfourstart'); } } frame 60 { stop(); } } instance mcMouse of movieClip 84 { onClipEvent (enterFrame) { _y = _y + (_root.player._y - _y) / 1; _x = _x + (_root.player._x - _x) / 1; } } frame 62 { stop(); } movieClip 1259 { } movieClip 1261 { } movieClip 1268 { } movieClip 1269 { instance of movieClip 1261 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-11'); } } } } movieClip 1271 { frame 33 { _root.TIME4 += 1; } } movieClip 1277 { frame 1 { stop(); } } movieClip 1278 { frame 1 { stop(); } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1278 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1279 { frame 1 { stop(); } } instance ground of movieClip 1279 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1280 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-2'); } } } } movieClip 1281 { instance of movieClip 1261 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-11'); } } } } movieClip 1284 { } movieClip 1289 { instance of movieClip 1284 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-12'); } } } } movieClip 1292 { } movieClip 1295 { } movieClip 1297 { } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1299 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1299 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1302 { } movieClip 1304 { } movieClip 1306 { } movieClip 1307 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1307 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 138 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 256 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 65; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } frame 63 { stop(); } movieClip 1324 { } movieClip 1328 { } movieClip 1332 { } movieClip 1334 { } movieClip 1335 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-1'); } } frame 100 { stop(); } } frame 64 { stop(); } movieClip 1340 { } movieClip 1355 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-1'); } } frame 95 { stop(); } } frame 65 { stop(); } movieClip 1358 { } movieClip 1360 { } movieClip 1362 { frame 1 { stop(); } } instance ground of movieClip 1362 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1363 { } movieClip 1365 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-41'); } } } } movieClip 1371 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1373 { } movieClip 1378 { } movieClip 1379 { } movieClip 1380 { frame 1 { stop(); } } movieClip 1381 { } movieClip 1382 { } movieClip 1383 { } movieClip 1384 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-5'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1386 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1386 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1388 { frame 1 { stop(); } } instance of movieClip 1388 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1390 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1390 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1392 { frame 25 { stop(); } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 1394 { } frame 66 { stop(); } movieClip 1399 { } movieClip 1401 { } movieClip 1405 { } movieClip 1427 { } movieClip 1428 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-4'); } } frame 134 { stop(); } } frame 67 { stop(); } movieClip 1434 { } movieClip 1435 { } movieClip 1437 { frame 1 { stop(); } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 419 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1277 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1437 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1438 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-3'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 14; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1440 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1440 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1442 { frame 1 { stop(); } } instance of movieClip 1442 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1444 { } instance of movieClip 1444 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-21'); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 68 { stop(); } movieClip 1451 { } movieClip 1456 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-2'); } } frame 100 { stop(); } } frame 69 { stop(); } movieClip 1458 { } movieClip 1460 { frame 1 { stop(); } } instance ground of movieClip 1460 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1461 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-6'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1463 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-51'); } } } } movieClip 1467 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-51'); } } } instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1468 { } movieClip 1470 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-52'); } } } } movieClip 1471 { } movieClip 1472 { } movieClip 1474 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1474 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1476 { frame 1 { stop(); } } instance of movieClip 1476 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1478 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1478 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 147 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 70 { stop(); } movieClip 1487 { } movieClip 1525 { } movieClip 1527 { } movieClip 1529 { } movieClip 1531 { } movieClip 1542 { } movieClip 1543 { } movieClip 1544 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-5'); } } frame 100 { stop(); } } frame 71 { stop(); } movieClip 1561 { } movieClip 1563 { } movieClip 1564 { } movieClip 1565 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-5'); } } frame 100 { stop(); } } frame 72 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-5'); } } frame 73 { stop(); } movieClip 1568 { } movieClip 1570 { } movieClip 1572 { instance of movieClip 1570 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-31'); } } } } movieClip 1574 { } movieClip 1575 { } movieClip 1576 { } movieClip 1577 { } movieClip 1578 { } movieClip 1579 { } movieClip 1580 { } movieClip 1582 { } instance of movieClip 1582 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-32'); } } } movieClip 1585 { } movieClip 1586 { frame 1 { stop(); } instance of movieClip 1585 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-33'); } } } } instance of movieClip 1586 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } movieClip 1588 { } movieClip 1598 { } movieClip 1599 { frame 1 { stop(); } } movieClip 1600 { frame 1 { stop(); } instance of movieClip 1599 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1600 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1601 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-4'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1603 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1603 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1605 { frame 1 { stop(); } } instance of movieClip 1605 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1607 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1607 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 141 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 150 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 144 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } frame 74 { stop(); } movieClip 1610 { } movieClip 1612 { } movieClip 1615 { } movieClip 1616 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-3'); } } frame 100 { stop(); } } frame 75 { stop(); } movieClip 1621 { } movieClip 1624 { } movieClip 1625 { } movieClip 1627 { } movieClip 1629 { } movieClip 1633 { } movieClip 1643 { } movieClip 1647 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-3'); } } frame 100 { stop(); } } frame 76 { stop(); } movieClip 1652 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-3'); } } frame 100 { stop(); } } frame 77 { var YELLOW = true; var RED = true; var GREEN = true; var BLUE = true; var PURPLE = true; var BLACK = true; } frame 77 { stop(); } movieClip 1655 { } movieClip 1656 { } movieClip 1690 { frame 1 { stop(); } frame 65 { stop(); } } movieClip 1706 { frame 1 { stop(); } frame 72 { stop(); } } movieClip 1707 { frame 1 { stop(); } } movieClip 1708 { frame 1 { stop(); } instance of movieClip 1690 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1706 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1706 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1707 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1707 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 15; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } instance of movieClip 289 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.player.grav = 25; gotoAndPlay(2); } if (this._currentframe == 3) { --time; if (time < 1) { this.swapDepths(100); this.removeMovieClip(); } } } } } instance ground of movieClip 1708 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1709 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4ending'); } } } } instance player of movieClip 225 { onClipEvent (load) { stop(); hitwallr = false; hitwalll = false; grav = 0; jumping = true; running = false; climbing = false; wid = _width; hei = _height; TIME = 65; speed = 15; airspeed = 7; fallspeed = 1; jumpheight = 14; maxair = 200; air = 200; } onClipEvent (enterFrame) { if (_currentframe == 4 && _root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.play(); } if (_currentframe == 4 && !_root.ground.hitTest(_x, _y + 2, true) && dead._currentframe == 4) { dead.stop(); } if (_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air > 1) { --air; } if (air < 2) { _root.health += 5; } } if (!_root.water.hitTest(_x, _y - hei * 0.7, true)) { if (air < maxair) { air += maxair / 30; } } if (air > maxair) { air = maxair; } if (_root.water.hitTest(_x, _y, true)) { speed = 3; airspeed = 2; fallspeed = 0.4; jumpheight = 5; } else { speed = 14; airspeed = 9; fallspeed = 0.7; jumpheight = 13; } if (_root.health <= 0) { --TIME; gotoAndStop(5); if (TIME < 1) { _root.gotoAndStop('fail1'); } } else { if (Key.isDown(39) && !climbing) { gotoAndStop(2); this._xscale = 100; if (!hitwallr) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x + speed; } else { _x = _x + airspeed; } running = true; } } else { if (Key.isDown(37) && !climbing) { gotoAndStop(2); this._xscale = -100; if (!hitwalll) { if (_root.ground.hitTest(_x, _y + 2, true) or _root.floor.hitTest(_x, _y + 2, true)) { _x = _x - speed; } else { _x = _x - airspeed; } running = true; } } else { running = false; if (!jumping) { if (!climbing) { this.gotoAndStop(1); } } } } if (Key.isDown(38) && !jumping && !climbing) { jumping = true; grav = jumpheight; this.gotoAndStop(3); } if (jumping) { this.gotoAndStop(3); } } if (jumping) { this._y -= grav; grav -= fallspeed; } if (_root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } for (;;) { if (!(_root.ground.hitTest(_x, _y, true) && !_root.player.hitTest(_root.ladder))) break; _y = _y - 1; } if (_root.floor.hitTest(_x, _y + 2, true) or _root.ground.hitTest(_x, _y + 2, true)) { jumping = false; grav = 0; } else { jumping = true; } while (_root.floor.hitTest(_x, _y, true)) { _y = _y - 1; } if (climbing == true) { _root.player._x = _root.ladder._x; if (Key.isDown(38) && !Key.isDown(40)) { this._y -= 5; grav = false; } if (Key.isDown(40) && !Key.isDown(38)) { this._y += 5; grav = false; } } else { if (climbing == true) { _root.player._x = _root.ladder._x; if (!Key.isDown(38) && !Key.isDown(40)) { } grav = false; } } if (_root.DeathFloor.hitTest(_x, _y + 2, true)) { gotoAndStop(4); } } } movieClip 1711 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1711 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } movieClip 1713 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-61'); } } } } movieClip 1717 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(90); } } } instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1718 { } movieClip 1720 { instance of movieClip 1363 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-62'); } } } } movieClip 1722 { frame 1 { stop(); } } instance of movieClip 1722 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1724 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1724 { onClipEvent (enterFrame) { active = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x + _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwallr = true; } else { _root.player.hitwallr = false; } if (this.hitTest(_root.player._x - _root.player.wid / 2, _root.player._y - _root.player.hei / 2, true)) { _root.player.hitwalll = true; } else { _root.player.hitwalll = false; } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } instance of movieClip 156 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndStop(2); } } } movieClip 1733 { } movieClip 1734 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-6'); } } frame 6 { stop(); } } movieClip 1743 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-6'); } } } frame 80 { stop(); } frame 80 { stopAllSounds(); } movieClip 1757 { instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 270) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 310) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 350) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start'); } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 200) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 170) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME2 >= 125) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 81 { stop(); } frame 81 { stopAllSounds(); } movieClip 1763 { instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 270) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 310) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 551 { onClipEvent (load) { if (_root.TIME5 >= 350) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('end'); } } frame 60 { stop(); } }




http://swfchan.com/48/236295/info.shtml
Created: 2/8 -2020 17:11:57 Last modified: 2/8 -2020 17:11:57 Server time: 31/10 -2020 10:50:18