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

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

Agent Fox.swf

This is the info page for
Flash #207452

(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 246 { } movieClip 255 { frame 1 { stop(); } frame 14 { gotoAndPlay(1); } } instance of movieClip 255 { 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 264 { } movieClip 266 { } movieClip 268 { } movieClip 270 { } movieClip 272 { } movieClip 274 { } movieClip 275 { } movieClip 276 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-1'); } } frame 81 { stop(); } } movieClip 277 { frame 1 { _root.DEATHS += 1; _root.gems -= 150; } frame 2 { stop(); } } frame 7 { stop(); } movieClip 281 { } movieClip 283 { } movieClip 284 { frame 33 { stop(); } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-1'); } } } frame 8 { stop(); } movieClip 286 { } 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 288 { frame 1 { stop(); } frame 14 { gotoAndPlay(1); } } movieClip 289 { instance of movieClip 288 { 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 290 { frame 1 { stop(); } } instance ground of movieClip 290 { 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 292 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 292 { 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 293 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-4'); } } } } movieClip 295 { } movieClip 297 { } movieClip 299 { } movieClip 301 { } movieClip 303 { } movieClip 305 { } movieClip 306 { } movieClip 307 { instance of movieClip 306 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-21'); } } } } movieClip 308 { } movieClip 311 { frame 1 { stop(); } frame 7 { stop(); } } instance of movieClip 311 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 311 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 311 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } movieClip 313 { frame 1 { stop(); } } instance of movieClip 313 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 315 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance of movieClip 315 { 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 319 { } movieClip 320 { } movieClip 322 { } 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 330 { frame 1 { stop(); } frame 19 { stop(); } } movieClip 338 { frame 1 { stop(); } frame 61 { stop(); } } movieClip 339 { frame 1 { stop(); } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 338 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 330 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 339 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 341 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 341 { 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 342 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-5'); } } } } movieClip 344 { frame 1 { stop(); } } instance of movieClip 344 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 345 { } instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-31'); } } } movieClip 347 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 347 { 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 352 { } movieClip 354 { } movieClip 357 { } movieClip 376 { } movieClip 377 { 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 381 { } movieClip 383 { } movieClip 385 { } movieClip 406 { } movieClip 407 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-3'); } } frame 119 { stop(); } } frame 12 { stop(); } movieClip 410 { } 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 413 { } movieClip 414 { frame 1 { stop(); } } 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(); } instance of movieClip 418 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 418 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 419 { 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 423 { } movieClip 425 { } movieClip 426 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-41'); } } } } movieClip 428 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 428 { 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 429 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-6'); } } } } movieClip 431 { frame 1 { stop(); } } instance of movieClip 431 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } frame 13 { stop(); } movieClip 434 { } movieClip 435 { } movieClip 439 { } movieClip 445 { } movieClip 447 { instance of movieClip 435 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-51'); } } } } movieClip 449 { frame 1 { stop(); } } instance ground of movieClip 449 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 451 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 451 { 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 454 { } movieClip 456 { } movieClip 458 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 458 { 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 474 { frame 22 { stop(); } } movieClip 475 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-4'); } } frame 130 { stop(); } } frame 15 { stop(); } movieClip 480 { } movieClip 482 { } movieClip 483 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('1-5'); } } frame 90 { stop(); } } frame 16 { stop(); } movieClip 486 { } movieClip 487 { } 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 490 { } movieClip 491 { } movieClip 502 { } movieClip 504 { } movieClip 505 { instance of movieClip 504 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } } movieClip 507 { } movieClip 508 { instance of movieClip 505 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } instance of movieClip 505 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-61'); } } } } movieClip 510 { } movieClip 511 { } movieClip 513 { instance of movieClip 504 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1-62'); } } } } movieClip 514 { } movieClip 516 { frame 1 { stop(); } } instance ground of movieClip 516 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 517 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('1ending1'); } } } } movieClip 518 { 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 520 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 520 { 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 522 { } movieClip 524 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 524 { 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 527 { } movieClip 528 { } movieClip 535 { instance of movieClip 505 { 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 539 { } movieClip 541 { } movieClip 542 { 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 550 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 553 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start2'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 21 { stop(); } movieClip 559 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start2'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 22 { stop(); } movieClip 561 { frame 1376 { stop(); } } movieClip 563 { 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 568 { } movieClip 571 { } movieClip 573 { frame 33 { _root.TIME2 += 1; } } movieClip 575 { frame 1 { stop(); } } instance ground of movieClip 575 { 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 577 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 577 { 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 579 { } movieClip 581 { } movieClip 582 { instance of movieClip 579 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-11'); } } } } movieClip 583 { frame 1 { stop(); } frame 10 { stop(); } } instance of movieClip 583 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 583 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } instance of movieClip 583 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); _root.player.grav = 10; } } } movieClip 585 { frame 1 { stop(); } } instance of movieClip 585 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 587 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 587 { 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 588 { 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 255 { 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 593 { } movieClip 594 { } movieClip 595 { } movieClip 598 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-21'); } } } } movieClip 599 { } movieClip 601 { frame 1 { stop(); } } instance ground of movieClip 601 { 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 603 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 603 { 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 605 { frame 1 { stop(); } } instance of movieClip 605 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 607 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 607 { 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 255 { 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 612 { } movieClip 614 { } movieClip 620 { } movieClip 625 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-1'); } } frame 127 { stop(); } } frame 28 { stop(); } movieClip 629 { } movieClip 632 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-2'); } } frame 22 { stop(); } } frame 29 { stop(); } movieClip 635 { } movieClip 637 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-31'); } } } } movieClip 639 { frame 1 { stop(); } } instance ground of movieClip 639 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 640 { 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 642 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 642 { 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 645 { } movieClip 646 { } movieClip 648 { } 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 659 { } movieClip 660 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-3'); } } frame 100 { stop(); } } frame 31 { stop(); } movieClip 663 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-5'); } } } } instance of movieClip 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 665 { frame 1 { stop(); } frame 2 { stop(); } } instance ground of movieClip 665 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 667 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-41'); } } } } movieClip 668 { 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 670 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 670 { 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 674 { } movieClip 676 { } movieClip 681 { } movieClip 682 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-4'); } } frame 100 { stop(); } } frame 33 { stop(); } movieClip 685 { } movieClip 686 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-53'); } } } } movieClip 701 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-52'); } } } } movieClip 703 { } movieClip 705 { frame 1 { stop(); } } instance ground of movieClip 705 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 706 { 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 717 { 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 717 { 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 719 { } movieClip 721 { } movieClip 722 { instance of movieClip 345 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-51'); } } } } movieClip 723 { frame 918 { stop(); } } movieClip 725 { frame 1 { stop(); } } instance of movieClip 725 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 727 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 727 { 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 733 { } movieClip 734 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 42 { stop(); } } frame 35 { stop(); } movieClip 746 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 100 { stop(); } } frame 36 { stop(); } movieClip 772 { } movieClip 773 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-5'); } } frame 90 { stop(); } } frame 37 { stop(); } movieClip 775 { } movieClip 778 { } movieClip 779 { instance of movieClip 504 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-62'); } } } } movieClip 789 { } movieClip 792 { } movieClip 794 { instance of movieClip 792 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-63'); } } } } movieClip 796 { instance of movieClip 792 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-63'); } } } } movieClip 798 { } movieClip 802 { } movieClip 803 { frame 1 { stop(); } instance of movieClip 798 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-61'); } } } } movieClip 804 { frame 1 { stop(); } } movieClip 806 { frame 1 { stop(); } instance of movieClip 803 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-62'); } } } instance of movieClip 803 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-61'); } } } instance of movieClip 803 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('2-31'); } } } frame 30 { stop(); } } movieClip 807 { frame 1 { stop(); } instance of movieClip 288 { 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 288 { 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 288 { 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 806 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 288 { 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 807 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 809 { 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 811 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 811 { 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 813 { frame 1 { stop(); } instance of movieClip 288 { 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 288 { 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 288 { 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 813 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 815 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 815 { 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 818 { } movieClip 819 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } } frame 39 { stop(); } movieClip 824 { } movieClip 825 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } frame 124 { stop(); } } frame 40 { stop(); } movieClip 830 { } movieClip 841 { } movieClip 846 { } movieClip 847 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('2-6'); } } frame 208 { stop(); } } frame 41 { stop(); } frame 41 { stopAllSounds(); } movieClip 853 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start3'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 200) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 170) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 125) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 42 { stop(); } movieClip 855 { frame 1303 { stop(); } } movieClip 857 { 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 864 { } movieClip 866 { } movieClip 868 { } movieClip 869 { } movieClip 870 { } movieClip 879 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 880 { frame 1 { stop(); } instance of movieClip 125 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gems += 5; } } } instance of movieClip 879 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { gotoAndPlay('keypickup'); } } } frame 2 { _root.Test = false; } } instance of movieClip 880 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.test = false; } } } movieClip 882 { frame 33 { _root.TIME3 += 1; } } movieClip 884 { } movieClip 887 { frame 1 { stop(); } instance of movieClip 418 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 887 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 889 { } 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 891 { } movieClip 892 { } movieClip 903 { frame 25 { stop(); } } movieClip 913 { frame 15 { stop(); } } movieClip 914 { frame 1 { stop(); } } instance of movieClip 914 { 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 920 { frame 1 { stop(); } frame 25 { stop(); } } movieClip 921 { frame 1 { stop(); } } instance of movieClip 921 { 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 927 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 928 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } instance of movieClip 927 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } instance of movieClip 927 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } } instance walls of movieClip 928 { 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 930 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-2'); } } } } movieClip 933 { frame 1 { stop(); } instance of movieClip 418 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance of movieClip 933 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 935 { frame 1 { stop(); _root.player.hitwalll = false; _root.player.hitwallr = false; } instance of movieClip 927 { onClipEvent (enterFrame) { if (_root.test == false) { gotoAndStop('works'); } } } } instance walls of movieClip 935 { 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 255 { 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 942 { } movieClip 945 { } movieClip 949 { } movieClip 950 { } movieClip 952 { frame 1 { stop(); } } movieClip 953 { frame 1 { stop(); } } movieClip 954 { frame 1 { stop(); } instance of movieClip 952 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 953 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 954 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 955 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-4'); } } } } movieClip 957 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-3'); } } } } movieClip 959 { } movieClip 961 { } movieClip 963 { } movieClip 964 { instance of movieClip 963 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-21'); } } } } movieClip 967 { } movieClip 968 { instance of movieClip 967 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-22'); } } } } movieClip 969 { } 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 971 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 971 { 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 973 { frame 1 { stop(); } } instance of movieClip 973 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 975 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 975 { 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 983 { } movieClip 984 { } movieClip 986 { } movieClip 987 { } movieClip 988 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-2'); } } frame 100 { stop(); } } frame 47 { stop(); } movieClip 991 { } movieClip 992 { } movieClip 994 { } movieClip 995 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-2'); } } frame 100 { stop(); } } frame 48 { stop(); } movieClip 997 { } movieClip 999 { frame 1 { stop(); } } instance ground of movieClip 999 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1000 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-4'); } } } } movieClip 1003 { } movieClip 1004 { } movieClip 1006 { instance of movieClip 967 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-31'); } } } } movieClip 1007 { } 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 1009 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1009 { 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 1011 { frame 1 { stop(); } } instance of movieClip 1011 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1013 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1013 { 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 1017 { } movieClip 1019 { } movieClip 1021 { } movieClip 1025 { } movieClip 1026 { } movieClip 1027 { } movieClip 1028 { instance of movieClip 967 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-42'); } } } } movieClip 1030 { frame 1 { stop(); } } instance ground of movieClip 1030 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1031 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-6'); } } } } movieClip 1032 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-5'); } } } } movieClip 1034 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1034 { 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 1036 { frame 1 { stop(); } } instance of movieClip 1036 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1038 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1038 { 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 1041 { } movieClip 1043 { } movieClip 1060 { } movieClip 1061 { frame 361 { stop(); } instance of movieClip 1060 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-41'); } } } } movieClip 1062 { frame 8 { stop(); } } movieClip 1063 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 1063 { 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 1070 { } movieClip 1076 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-3'); } } frame 95 { stop(); } } frame 51 { stop(); } movieClip 1081 { } movieClip 1089 { } movieClip 1090 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-4'); } } frame 100 { stop(); } } frame 52 { stop(); } movieClip 1099 { } movieClip 1106 { frame 22 { stop(); } } movieClip 1107 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-4'); } } frame 100 { stop(); } } frame 53 { stop(); } movieClip 1109 { } movieClip 1110 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3ending2'); } } } } movieClip 1112 { } movieClip 1114 { } movieClip 1116 { } movieClip 1118 { instance of movieClip 1112 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-51'); } } } instance of movieClip 1112 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-51'); } } } } movieClip 1120 { frame 1 { stop(); } } movieClip 1121 { frame 1 { stop(); } instance of movieClip 1120 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 953 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1121 { 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 1123 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1123 { 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 1125 { frame 1 { stop(); } instance of movieClip 1120 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 953 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance of movieClip 1125 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1127 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1127 { 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 1130 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-5'); } } } frame 55 { stop(); } movieClip 1133 { } movieClip 1134 { } movieClip 1135 { } movieClip 1137 { instance of movieClip 1135 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('3-62'); } } } } movieClip 1148 { instance of movieClip 1135 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(15); } } } } movieClip 1149 { } movieClip 1151 { frame 1 { stop(); } } instance ground of movieClip 1151 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1152 { 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 1154 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1154 { 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 1157 { frame 1 { stop(); } } instance of movieClip 1157 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1159 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1159 { 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 1161 { } instance of movieClip 1161 { 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 1168 { } movieClip 1192 { } movieClip 1194 { } movieClip 1196 { } movieClip 1197 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-6'); } } frame 90 { stop(); } } frame 57 { stop(); } movieClip 1205 { } movieClip 1209 { } movieClip 1224 { } movieClip 1235 { } movieClip 1236 { } movieClip 1237 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('3-6'); } } frame 95 { stop(); } } frame 58 { stop(); } frame 58 { stopAllSounds(); } movieClip 1243 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start4'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 59 { stop(); } movieClip 1249 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start4'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 60 { stop(); } movieClip 1251 { frame 950 { stop(); } } movieClip 1253 { 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 1258 { } movieClip 1260 { } movieClip 1267 { } movieClip 1268 { instance of movieClip 1260 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-11'); } } } } movieClip 1270 { frame 33 { _root.TIME4 += 1; } } movieClip 1276 { frame 1 { stop(); } } movieClip 1277 { frame 1 { stop(); } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1277 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1278 { frame 1 { stop(); } } instance ground of movieClip 1278 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1279 { instance of movieClip 111 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-2'); } } } } movieClip 1280 { instance of movieClip 1260 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-11'); } } } } movieClip 1283 { } movieClip 1288 { instance of movieClip 1283 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-12'); } } } } movieClip 1291 { } movieClip 1294 { } movieClip 1296 { } 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 1298 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1298 { 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 1301 { } movieClip 1303 { } movieClip 1305 { } movieClip 1306 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1306 { 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 255 { 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 1323 { } movieClip 1327 { } movieClip 1331 { } movieClip 1333 { } movieClip 1334 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-1'); } } frame 100 { stop(); } } frame 64 { stop(); } movieClip 1339 { } movieClip 1354 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-1'); } } frame 95 { stop(); } } frame 65 { stop(); } movieClip 1357 { } movieClip 1359 { } movieClip 1361 { frame 1 { stop(); } } instance ground of movieClip 1361 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1362 { } movieClip 1364 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-41'); } } } } movieClip 1370 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1372 { } movieClip 1377 { } movieClip 1378 { } movieClip 1379 { frame 1 { stop(); } } movieClip 1380 { } movieClip 1381 { } movieClip 1382 { } movieClip 1383 { 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 1385 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1385 { 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 1387 { frame 1 { stop(); } } instance of movieClip 1387 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1389 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1389 { 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 1391 { 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 1393 { } frame 66 { stop(); } movieClip 1398 { } movieClip 1400 { } movieClip 1404 { } movieClip 1426 { } movieClip 1427 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-4'); } } frame 134 { stop(); } } frame 67 { stop(); } movieClip 1433 { } movieClip 1434 { } movieClip 1436 { frame 1 { stop(); } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 418 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1276 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1436 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1437 { 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 1439 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1439 { 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 1441 { frame 1 { stop(); } } instance of movieClip 1441 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1443 { } instance of movieClip 1443 { 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 1450 { } movieClip 1455 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-2'); } } frame 100 { stop(); } } frame 69 { stop(); } movieClip 1457 { } movieClip 1459 { frame 1 { stop(); } } instance ground of movieClip 1459 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1460 { 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 1462 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-51'); } } } } movieClip 1466 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-51'); } } } instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1467 { } movieClip 1469 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-52'); } } } } movieClip 1470 { } movieClip 1471 { } movieClip 1473 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1473 { 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 1475 { frame 1 { stop(); } } instance of movieClip 1475 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1477 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1477 { 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 1486 { } movieClip 1524 { } movieClip 1526 { } movieClip 1528 { } movieClip 1530 { } movieClip 1541 { } movieClip 1542 { } movieClip 1543 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-5'); } } frame 100 { stop(); } } frame 71 { stop(); } movieClip 1560 { } movieClip 1562 { } movieClip 1563 { } movieClip 1564 { 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 1567 { } movieClip 1569 { } movieClip 1571 { instance of movieClip 1569 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-31'); } } } } movieClip 1573 { } movieClip 1574 { } movieClip 1575 { } movieClip 1576 { } movieClip 1577 { } movieClip 1578 { } movieClip 1579 { } movieClip 1581 { } instance of movieClip 1581 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-32'); } } } movieClip 1584 { } movieClip 1585 { frame 1 { stop(); } instance of movieClip 1584 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-33'); } } } } instance of movieClip 1585 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } movieClip 1587 { } movieClip 1597 { } movieClip 1598 { frame 1 { stop(); } } movieClip 1599 { frame 1 { stop(); } instance of movieClip 1598 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } } instance ground of movieClip 1599 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1600 { 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 1602 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1602 { 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 1604 { frame 1 { stop(); } } instance of movieClip 1604 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1606 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1606 { 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 1609 { } movieClip 1611 { } movieClip 1614 { } movieClip 1615 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-3'); } } frame 100 { stop(); } } frame 75 { stop(); } movieClip 1620 { } movieClip 1623 { } movieClip 1624 { } movieClip 1626 { } movieClip 1628 { } movieClip 1632 { } movieClip 1642 { } movieClip 1646 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-3'); } } frame 100 { stop(); } } frame 76 { stop(); } movieClip 1651 { 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 1654 { } movieClip 1655 { } movieClip 1689 { frame 1 { stop(); } frame 65 { stop(); } } movieClip 1705 { frame 1 { stop(); } frame 72 { stop(); } } movieClip 1706 { frame 1 { stop(); } } movieClip 1707 { frame 1 { stop(); } instance of movieClip 1689 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1705 { onClipEvent (load) { time = 15; } onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { play(); } } } instance of movieClip 1705 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 288 { 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 1707 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1708 { 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 1710 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1710 { 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 1712 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-61'); } } } } movieClip 1716 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(90); } } } instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop(77); } } } } movieClip 1717 { } movieClip 1719 { instance of movieClip 1362 { onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.gotoAndStop('4-62'); } } } } movieClip 1721 { frame 1 { stop(); } } instance of movieClip 1721 { onClipEvent (enterFrame) { if (_root.player.jumping == true) { this.gotoAndStop(2); } } } movieClip 1723 { frame 1 { _root.player.hitwalll = false; _root.player.hitwallr = false; } } instance walls of movieClip 1723 { 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 1732 { } movieClip 1733 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-6'); } } frame 6 { stop(); } } movieClip 1742 { instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('4-6'); } } } frame 80 { stop(); } frame 80 { stopAllSounds(); } movieClip 1756 { instance of movieClip 550 { onClipEvent (load) { if (_root.TIME5 >= 270) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME5 >= 310) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME5 >= 350) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 57 { onClipEvent (release) { _root.gotoAndPlay('start'); } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 140) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 120) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 90) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 200) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 170) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME2 >= 125) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 190) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 150) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME3 >= 110) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } frame 60 { stop(); } } frame 81 { stop(); } frame 81 { stopAllSounds(); } movieClip 1762 { instance of movieClip 550 { onClipEvent (load) { if (_root.TIME5 >= 270) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { onClipEvent (load) { if (_root.TIME5 >= 310) { --TIME; gotoAndStop(2); _root.gotoAndStop('NOSTAR'); } } } instance of movieClip 550 { 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/42/207452/info.shtml
Created: 23/7 -2019 08:06:17 Last modified: 23/7 -2019 08:06:17 Server time: 24/04 -2024 23:40:00