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

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

581844_ONE_OF_US.swf

This is the info page for
Flash #151616

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { _root.menu = new ContextMenu(); _root.menu.hideBuiltInItems(); } movieClip 19 { } button 25 { on (release) { startMovie(); } } movieClip 26 { 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 = true; 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(); } frame 2 { stop(); } } movieClip 39 { } // unknown tag 88 length 178 frame 92 { stop(); } movieClip 65 { } // unknown tag 88 length 71 button 72 { on (release) { _root.backgroundMusic.stop(); gotoAndPlay('fade in'); } } movieClip 73 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Title'); _root.backgroundMusic.start(0, 1000); } } // unknown tag 88 length 119 button 79 { on (press) { if (_quality == 'HIGH') { _quality = 'MEDIUM'; } else { if (_quality == 'MEDIUM') { _quality = 'LOW'; } else { if (_quality == 'LOW') { _quality = 'HIGH'; } } } } } movieClip 83 { } movieClip 147 { } movieClip 149 { } movieClip 155 { } movieClip 157 { } movieClip 163 { } movieClip 170 { } movieClip 171 { } movieClip 177 { } movieClip 178 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('white noise'); _root.backgroundMusic.start(0, 1000); } } movieClip 197 { } // unknown tag 88 length 102 movieClip 201 { } frame 259 { _root.backgroundMusic.stop(); } frame 347 { stop(); } movieClip 215 { } movieClip 217 { } movieClip 219 { } movieClip 221 { } movieClip 223 { } movieClip 225 { } movieClip 227 { } movieClip 229 { } movieClip 231 { } movieClip 233 { } movieClip 235 { } movieClip 237 { } movieClip 239 { } movieClip 241 { } movieClip 243 { } movieClip 245 { } movieClip 247 { } movieClip 249 { } movieClip 255 { } movieClip 256 { } movieClip 258 { } movieClip 259 { } movieClip 260 { } movieClip 261 { frame 1 { stop(); } } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level2'); } } } movieClip 262 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Track 1'); _root.backgroundMusic.start(0, 1000); } } movieClip 268 { } movieClip 274 { } frame 348 { stop(); } movieClip 278 { } movieClip 280 { } movieClip 282 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level3'); } } } frame 349 { stop(); } movieClip 286 { } movieClip 288 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene3'); } } } movieClip 294 { } movieClip 300 { } movieClip 304 { } frame 436 { stop(); } movieClip 321 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene4'); } } } movieClip 324 { } movieClip 326 { } movieClip 327 { } movieClip 328 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Track 2'); _root.backgroundMusic.start(0, 1000); } } movieClip 349 { } instance of movieClip 349 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d2'); } } } movieClip 362 { } movieClip 369 { } movieClip 373 { } frame 668 { _root.backgroundMusic.stop(); } movieClip 398 { } movieClip 416 { } frame 799 { _root.backgroundMusic.stop(); } frame 805 { stop(); } movieClip 428 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level6'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d3'); } } } movieClip 429 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Track 3'); _root.backgroundMusic.start(0, 1000); } } frame 806 { stop(); } movieClip 433 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level7'); } } } frame 807 { stop(); } movieClip 439 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level8'); } } } frame 808 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level9'); } } } frame 809 { stop(); } movieClip 445 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('level10'); } } } frame 810 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level11'); } } } frame 811 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level12'); } } } frame 812 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level13'); } } } movieClip 448 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Red 1'); _root.backgroundMusic.start(0, 1000); } } movieClip 454 { } movieClip 460 { } frame 813 { stop(); } movieClip 464 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene5'); } } } movieClip 470 { } movieClip 476 { } movieClip 481 { } movieClip 483 { } frame 830 { stop(); } movieClip 485 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = -scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene6'); } } } movieClip 489 { } frame 847 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level16'); } } } movieClip 499 { } movieClip 501 { } movieClip 503 { } movieClip 505 { } movieClip 507 { } movieClip 511 { } movieClip 516 { } movieClip 518 { } movieClip 527 { } movieClip 528 { } movieClip 530 { } movieClip 531 { instance of movieClip 530 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } instance of movieClip 530 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } } movieClip 532 { } movieClip 533 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Red 2'); _root.backgroundMusic.start(0, 1000); } } movieClip 535 { } movieClip 538 { } movieClip 540 { } movieClip 541 { instance of movieClip 538 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } } movieClip 545 { } movieClip 549 { } movieClip 553 { } movieClip 557 { } movieClip 562 { } movieClip 567 { } movieClip 568 { } frame 848 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level17'); } } } movieClip 580 { } movieClip 589 { } movieClip 590 { } movieClip 610 { } movieClip 611 { instance of movieClip 610 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } } movieClip 612 { } instance of movieClip 612 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } movieClip 613 { instance of movieClip 538 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } } movieClip 618 { } movieClip 622 { } movieClip 626 { } movieClip 631 { } movieClip 635 { } movieClip 636 { } frame 849 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level18'); } } } movieClip 649 { } movieClip 653 { } movieClip 657 { } movieClip 661 { } movieClip 670 { } movieClip 674 { } movieClip 680 { } movieClip 682 { } movieClip 708 { } movieClip 709 { instance of movieClip 708 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } instance of movieClip 708 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d1'); } } } } instance of movieClip 709 { onClipEvent (load) { var speed = 4; } onClipEvent (enterFrame) { _x = _x - speed; } } movieClip 710 { } instance of movieClip 710 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } movieClip 711 { } instance of movieClip 711 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } movieClip 716 { } movieClip 720 { } movieClip 724 { } movieClip 728 { } movieClip 732 { } movieClip 736 { } movieClip 741 { } movieClip 745 { } movieClip 746 { } frame 850 { stop(); } movieClip 752 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene7'); } } } movieClip 754 { } movieClip 782 { } frame 1052 { _root.backgroundMusic.stop(); } frame 1058 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene9'); } } } movieClip 789 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Red 3'); _root.backgroundMusic.start(0, 1000); } } movieClip 791 { } movieClip 887 { } frame 1113 { stop(); } movieClip 890 { } movieClip 986 { } instance pain3 of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene9'); } } } instance pain of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene9'); } } } instance pain2 of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene9'); } } } instance fire of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene10'); } } } movieClip 988 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene9'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotoAndPlay('cutscene9'); } } } frame 1188 { stop(); } movieClip 992 { } instance fire of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene11'); } } } instance pain of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene10'); } } } instance pain2 of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene10'); } } } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene9'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotoAndPlay('cutscene10'); } } } frame 1283 { stop(); } movieClip 996 { } instance pain of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene11'); } } } instance fire of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene12'); } } } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene9'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotoAndPlay('cutscene11'); } } } frame 1338 { stop(); } movieClip 1000 { } instance fire of movieClip 986 { onClipEvent (enterFrame) { if (this.hitTest(_root.char) and Key.isDown(32)) { _root.gotoAndPlay('cutscene13'); } } } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('cutscene9'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotoAndPlay('cutscene12'); } } } frame 1355 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene14'); } } } movieClip 1007 { } movieClip 1017 { } movieClip 1026 { } movieClip 1035 { } frame 1508 { _root.backgroundMusic.stop(); } frame 1568 { stop(); } movieClip 1051 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level27'); } } } movieClip 1052 { } movieClip 1054 { } movieClip 1055 { instance of movieClip 1054 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } instance of movieClip 1054 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } instance of movieClip 1054 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } instance of movieClip 1054 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } movieClip 1056 { } movieClip 1082 { } movieClip 1084 { instance of movieClip 1082 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } movieClip 1088 { } movieClip 1092 { } movieClip 1096 { } movieClip 1100 { } movieClip 1102 { } movieClip 1103 { } instance of movieClip 1103 { onClipEvent (load) { var speed = 13; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } movieClip 1104 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Chase 1'); _root.backgroundMusic.start(0, 1000); } } movieClip 1106 { } frame 1569 { stop(); } movieClip 1108 { } movieClip 1110 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level28'); } } } movieClip 1115 { instance of movieClip 1082 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } movieClip 1116 { } instance of movieClip 1116 { onClipEvent (load) { var speed = 15; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } movieClip 1122 { } movieClip 1123 { instance of movieClip 1122 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } movieClip 1124 { } instance of movieClip 1124 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } movieClip 1126 { } movieClip 1128 { } movieClip 1130 { } frame 1570 { stop(); } movieClip 1144 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level29'); } } } movieClip 1149 { instance of movieClip 1082 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } instance of movieClip 1103 { onClipEvent (load) { var speed = 12; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } movieClip 1150 { instance of movieClip 538 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } frame 1571 { stop(); } movieClip 1152 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene15'); } } } instance of movieClip 1116 { onClipEvent (load) { var speed = 15.5; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } movieClip 1153 { } movieClip 1154 { instance of movieClip 1153 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } instance of movieClip 1153 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d4'); } } } } instance of movieClip 1154 { onClipEvent (load) { var speed = 14; } onClipEvent (enterFrame) { _x = _x - speed; } } movieClip 1156 { } movieClip 1159 { } movieClip 1174 { } frame 1763 { _root.backgroundMusic.stop(); } frame 1769 { stop(); } movieClip 1177 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level31'); } } } movieClip 1181 { } movieClip 1183 { instance of movieClip 1181 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } } instance of movieClip 1103 { onClipEvent (load) { var speed = 15; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } movieClip 1184 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Chase 2'); _root.backgroundMusic.start(0, 1000); } } frame 1770 { stop(); } movieClip 1186 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level32'); } } } movieClip 1191 { instance of movieClip 1181 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } } movieClip 1197 { } movieClip 1198 { instance of movieClip 1197 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } } movieClip 1199 { } instance of movieClip 1199 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } instance of movieClip 1116 { onClipEvent (load) { var speed = 14; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } movieClip 1200 { instance of movieClip 538 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } } frame 1771 { stop(); } movieClip 1201 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene16'); } } } movieClip 1202 { } movieClip 1203 { instance of movieClip 1202 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } instance of movieClip 1202 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } } instance of movieClip 1203 { onClipEvent (load) { var speed = 8; } onClipEvent (enterFrame) { _x = _x - speed; } } instance of movieClip 1103 { onClipEvent (load) { var speed = 14.5; } onClipEvent (enterFrame) { _x = _x + speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } instance of movieClip 231 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d5'); } } } frame 1809 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level34'); } } } movieClip 1206 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Red 4'); _root.backgroundMusic.start(0, 1000); } } frame 1810 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level35'); } } } frame 1811 { stop(); } movieClip 1214 { } movieClip 1216 { } movieClip 1218 { } movieClip 1224 { } movieClip 1225 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene17'); } } } frame 1899 { _root.backgroundMusic.stop(); } frame 2014 { _root.backgroundMusic.stop(); } frame 2020 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level38'); } } } movieClip 1230 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Sadness'); _root.backgroundMusic.start(0, 1000); } } movieClip 1236 { } movieClip 1242 { } frame 2021 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level39'); } } } frame 2022 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene19'); } } } movieClip 1250 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('beep'); _root.backgroundMusic.start(0, 1000); } } frame 2072 { _root.backgroundMusic.stop(); } frame 2254 { _root.backgroundMusic.stop(); } frame 2260 { stop(); } movieClip 1264 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level41'); } } } movieClip 1265 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Hell'); _root.backgroundMusic.start(0, 1000); } } movieClip 1267 { } movieClip 1269 { } movieClip 1271 { } movieClip 1273 { } movieClip 1274 { } movieClip 1275 { } movieClip 1276 { instance of movieClip 1275 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d6'); } } } } instance of movieClip 1276 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } instance of movieClip 1276 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = scale; this._x += espeed; } if (tx > sx) { this._xscale = -scale; this._x -= espeed; } } } } movieClip 1277 { instance of movieClip 538 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d6'); } } } } movieClip 1281 { } movieClip 1283 { instance of movieClip 1281 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d6'); } } } } movieClip 1285 { } frame 2261 { stop(); } movieClip 1300 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level42'); } } } movieClip 1301 { instance of movieClip 1275 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.gotoAndStop(1); } } } } instance of movieClip 1301 { onClipEvent (load) { var espeed = 5; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } instance of movieClip 1301 { onClipEvent (load) { var espeed = 5; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = scale; this._x += espeed; } if (tx > sx) { this._xscale = -scale; this._x -= espeed; } } } } movieClip 1306 { instance of movieClip 1281 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('d6'); } } } } movieClip 1308 { } frame 2262 { stop(); } movieClip 1323 { } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level43'); } } } instance of movieClip 1276 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } instance of movieClip 1276 { onClipEvent (load) { var espeed = 4; var scale = this._xscale; } onClipEvent (enterFrame) { var distance = 1150; var tx = this._x; var ty = this._y; var sx = _root.char._x; var sy = _root.char._y; if (Math.sqrt((sx - tx) * (sx - tx) + (sy - ty) * (sy - ty)) < distance) { if (tx < sx) { this._xscale = -scale; this._x += espeed; } if (tx > sx) { this._xscale = scale; this._x -= espeed; } } } } movieClip 1325 { } frame 2263 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('cutscene20'); } } } movieClip 1333 { } movieClip 1335 { } movieClip 1336 { } frame 2439 { stop(); } instance char of movieClip 261 { onClipEvent (load) { var speed = 12; var grav = 0; var falling = 0; var jumped = false; var jumpHeight = 15; var touchingGround = false; var scale = _xscale; var doorOpened = false; var attacked = false; } onClipEvent (enterFrame) { if (!touchingGround) { ++grav; this._y += grav; } else { grav = 0; } if (_root.ground.hitTest(_x, _y, true)) { touchingGround = true; } else { touchingGround = false; } if (!attacked) { if (Key.isDown(37)) { _x = _x - speed; this.gotoAndStop(2); _xscale = -scale; } if (Key.isDown(39)) { _x = _x + speed; this.gotoAndStop(2); _xscale = scale; } } } onClipEvent (enterFrame) { if (!attacked) { if (jumped) { falling += 0.5; _y = _y + falling; if (touchingGround) { jumped = false; } } else { if (Key.isDown(38)) { jumped = true; falling = -jumpHeight; this.gotoAndStop(3); } } } if (Key.isDown(38) and Key.isDown(37)) { this.gotoAndStop(3); } if (Key.isDown(38) and Key.isDown(39)) { this.gotoAndStop(3); } if (!Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } else { if (Key.isDown(38) and !touchingGround) { this.gotoAndStop(3); } } if (_currentframe == 3 and touchingGround) { gotoAndStop(1); } } onClipEvent (keyUp) { if (!attacked) { gotoAndStop(1); } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall)) { this._x += speed; } } onClipEvent (enterFrame) { if (this.hitTest(_root.wall2)) { this._x -= speed; } } onClipEvent (enterFrame) { if (_root.door.hitTest(_x, _y, true)) { _root.gotoAndPlay('level43'); } } } movieClip 1341 { } movieClip 1342 { instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } frame 169 { gotoAndPlay(1); } } movieClip 1343 { } instance of movieClip 1343 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1343 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1343 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } movieClip 1344 { instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } instance of movieClip 1341 { onClipEvent (load) { var speed = 16; } onClipEvent (enterFrame) { _x = _x - speed; } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _root.backgroundMusic.stop(); _root.gotoAndPlay('db'); } } } frame 673 { gotoAndPlay('att'); } } movieClip 1345 { frame 1 { onLoad(); _root.backgroundMusic = new Sound(); _root.backgroundMusic.attachSound('Boss 3-1'); _root.backgroundMusic.start(0, 1000); } } // unknown tag 88 length 63 movieClip 1348 { frame 1 { timer = 40; countdown = function () { --timer; if (timer == 0) { clearInterval(countdownInterval); _root.gotoAndPlay('cutscene21'); } }; countdownInterval = setInterval(countdown, 1000); } } frame 2440 { _root.backgroundMusic.stop(); } frame 2541 { gotoAndPlay('main'); } frame 2548 { gotoAndPlay('level15'); } movieClip 1369 { } frame 2555 { gotoAndPlay('level4'); } frame 2562 { gotoAndPlay('level5'); } frame 2617 { gotoAndPlay('level30'); }




http://swfchan.com/31/151616/info.shtml
Created: 25/10 -2018 15:35:46 Last modified: 25/10 -2018 15:35:46 Server time: 09/05 -2024 03:17:20