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

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

i-sense.swf

This is the info page for
Flash #126999

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 30 done2 { #initclip Object.registerClass('done2', done2); #endinitclip frame 30 { _root.nextFrame(); } } movieClip 31 done { #initclip Object.registerClass('done', done); #endinitclip frame 30 { _root.nextFrame(); } } movieClip 33 { } movieClip 35 { } movieClip 36 dead { #initclip Object.registerClass('dead', dead); #endinitclip frame 23 { _root.gotoAndPlay('game_over'); } } movieClip 38 { } movieClip 39 lazer2 { #initclip Object.registerClass('lazer2', lazer2); #endinitclip } movieClip 41 door2 { #initclip Object.registerClass('door2', door2); #endinitclip } movieClip 42 lazer { #initclip Object.registerClass('lazer', lazer); #endinitclip } movieClip 44 block { #initclip Object.registerClass('block', block); #endinitclip } movieClip 46 door { #initclip Object.registerClass('door', door); #endinitclip } movieClip 49 { frame 31 { stop(); } } movieClip 50 sense { } frame 1 { function itemHandler1(obj, item) { getURL('http://www.arcadearmory.com', ''); } function itemHandler2(obj, item) { getURL('http://www.arcadearmory.com', ''); } function itemHandler3(obj, item) { getURL('http://www.xerferic.newgrounds.com', ''); } stop(); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); item1 = new ContextMenuItem('ArcadeArmory', itemHandler1); item2 = new ContextMenuItem('Progamming & Graphics: Sandeep Saha', itemHandler2); item3 = new ContextMenuItem('Music: Xerferic', itemHandler3); myMenu.customItems.push(item1); myMenu.customItems.push(item2); myMenu.customItems.push(item3); _root.menu = myMenu; } frame 1 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } __com_mochibot__('b93c1cee', this, 10301, true); } movieClip 53 { } movieClip 54 { } // unknown tag 88 length 77 movieClip 58 { frame 1 { var pc = 0; this.onEnterFrame = function () { pc = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.pc_txt.text = pc + '%'; this.bar._xscale = pc; if (pc == 100 && !isNAN(pc)) { delete this.onEnterFrame; _root.play(); } }; } } movieClip 61 { } movieClip 64 { } movieClip 67 { } movieClip 68 { } button 69 { on (release) { getURL('http://www.arcadearmory.com', _blank); } } movieClip 359 __Packages.done { #initclip if (!_global.done) { var v1 = function () { super(); }; _global.done = v1; _global.done extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.grav = 0; }; v2.onEnterFrame = function () { ++this.grav; this._y += this.grav; while (_root.ground.hitTest(this._x, this._y, true)) { --this._y; this.grav = 0; } if (this._currentframe == this._totalframes) { this.removeMovieClip(); } }; ASSetPropFlags(_global.done.prototype, null, 1); } #endinitclip } movieClip 360 __Packages.dead { #initclip if (!_global.dead) { var v1 = function () { super(); }; _global.dead = v1; _global.dead extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.grav = 0; }; v2.onEnterFrame = function () { ++this.grav; this._y += this.grav; while (_root.ground.hitTest(this._x, this._y, true)) { --this._y; this.grav = 0; } if (this._currentframe == this._totalframes) { this.removeMovieClip(); } }; ASSetPropFlags(_global.dead.prototype, null, 1); } #endinitclip } movieClip 361 __Packages.lazer2 { #initclip if (!_global.lazer2) { var v1 = function () { super(); }; _global.lazer2 = v1; _global.lazer2 extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.hitTest(_root.char)) { var v3 = _root.attachMovie('dead', 'dead' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = _root.char._x; v3._y = _root.char._y; v3._width = 24.75; v3._height = 35.75; _root.char.unloadMovie(); } }; ASSetPropFlags(_global.lazer2.prototype, null, 1); } #endinitclip } movieClip 362 __Packages.door2 { #initclip if (!_global.door2) { var v1 = function () { super(); }; _global.door2 = v1; _global.door2 extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this._visible = false; if (this.hitTest(_root.char)) { var v3 = _root.attachMovie('done2', 'done2' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = _root.char._x; v3._y = _root.char._y; v3._width = 15.75; v3._height = 37.75; _root.char.unloadMovie(); } }; ASSetPropFlags(_global.door2.prototype, null, 1); } #endinitclip } movieClip 363 __Packages.lazer { #initclip if (!_global.lazer) { var v1 = function () { super(); }; _global.lazer = v1; _global.lazer extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.hitTest(_root.char)) { var v3 = _root.attachMovie('dead', 'dead' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = _root.char._x; v3._y = _root.char._y; _root.char.unloadMovie(); } }; ASSetPropFlags(_global.lazer.prototype, null, 1); } #endinitclip } movieClip 364 __Packages.block { #initclip if (!_global.block) { var v1 = function () { super(); }; _global.block = v1; _global.block extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this._visible = false; }; ASSetPropFlags(_global.block.prototype, null, 1); } #endinitclip } movieClip 365 __Packages.door { #initclip if (!_global.door) { var v1 = function () { super(); }; _global.door = v1; _global.door extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this._visible = false; if (this.hitTest(_root.char)) { var v3 = _root.attachMovie('done', 'done' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = _root.char._x; v3._y = _root.char._y; _root.char.unloadMovie(); } }; ASSetPropFlags(_global.door.prototype, null, 1); } #endinitclip } movieClip 366 __Packages.done2 { #initclip if (!_global.done2) { var v1 = function () { super(); }; _global.done2 = v1; _global.done2 extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.grav = 0; }; v2.onEnterFrame = function () { ++this.grav; this._y += this.grav; while (_root.ground.hitTest(this._x, this._y, true)) { --this._y; this.grav = 0; } if (this._currentframe == this._totalframes) { this.removeMovieClip(); } }; ASSetPropFlags(_global.done2.prototype, null, 1); } #endinitclip } frame 2 { stop(); } button 72 { on (release) { getURL('http://www.arcadearmory.com', _blank); } } movieClip 79 { } movieClip 83 { } movieClip 86 { frame 174 { _root.play(); } } frame 3 { var savefile = SharedObject.getLocal('prototype'); _root.oldlevel = savefile.data.level; if (savefile.data.score == undefined) { _root.oldlevel = 1; } _root.level = 1; stop(); } button 90 { on (release) { var savefile = SharedObject.getLocal('prototype'); if (savefile.data.level == undefined) { gotoAndPlay('intro'); } else { if (savefile.data.level == 1) { gotoAndPlay('level1'); } else { if (savefile.data.level == 2) { gotoAndPlay('level2'); } else { if (savefile.data.level == 3) { gotoAndPlay('level3'); } else { if (savefile.data.level == 4) { gotoAndPlay('level4'); } else { if (savefile.data.level == 5) { _root.gotoAndPlay('level5'); } else { if (savefile.data.level == 6) { _root.gotoAndPlay('level6'); } else { if (savefile.data.level == 7) { _root.gotoAndPlay('level7'); } else { if (savefile.data.level == 8) { _root.gotoAndPlay('level8'); } else { if (savefile.data.level == 9) { _root.gotoAndPlay('level9'); } else { if (savefile.data.level == 10) { _root.gotoAndPlay('level10'); } else { if (savefile.data.level == 11) { _root.gotoAndPlay('level11'); } else { if (savefile.data.level == 12) { _root.gotoAndPlay('level12'); } else { if (savefile.data.level == 13) { _root.gotoAndPlay('level13'); } else { if (savefile.data.level == 14) { _root.gotoAndPlay('level14'); } else { if (savefile.data.level == 15) { _root.gotoAndPlay('level15'); } else { if (savefile.data.level == 16) { _root.gotoAndPlay('level16'); } else { if (savefile.data.level == 17) { _root.gotoAndPlay('level17'); } else { if (savefile.data.level == 18) { _root.gotoAndPlay('level18'); } else { if (savefile.data.level == 19) { _root.gotoAndPlay('level19'); } else { if (savefile.data.level == 20) { _root.gotoAndPlay('level20'); } else { if (savefile.data.level == 21) { _root.gotoAndPlay('level21'); } else { if (savefile.data.level == 22) { _root.gotoAndPlay('level22'); } else { if (savefile.data.level == 23) { _root.gotoAndPlay('level23'); } else { if (savefile.data.level == 24) { _root.gotoAndPlay('level24'); } else { if (savefile.data.level == 25) { _root.gotoAndPlay('level25'); } else { if (savefile.data.level == 26) { _root.gotoAndPlay('level26'); } else { if (savefile.data.level == 27) { _root.gotoAndPlay('level27'); } else { if (savefile.data.level == 28) { _root.gotoAndPlay('level28'); } else { if (savefile.data.level == 29) { _root.gotoAndPlay('level29'); } else { if (savefile.data.level == 30) { _root.gotoAndPlay('level30'); } else { if (savefile.data.level == 31) { _root.gotoAndPlay('level31'); } else { if (savefile.data.level == 32) { _root.gotoAndPlay('level32'); } else { if (savefile.data.level == 33) { _root.gotoAndPlay('level33'); } else { if (savefile.data.level == 34) { _root.gotoAndPlay('level34'); } else { if (savefile.data.level == 35) { _root.gotoAndPlay('level35'); } else { if (savefile.data.level == 36) { _root.gotoAndPlay('level36'); } else { if (savefile.data.level == 37) { _root.gotoAndPlay('level37'); } else { if (savefile.data.level == 38) { _root.gotoAndPlay('level38'); } else { if (savefile.data.level == 39) { _root.gotoAndPlay('level39'); } else { if (savefile.data.level == 40) { _root.gotoAndPlay('level40'); } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } button 94 { on (release) { _root.nextFrame(); } } button 98 { on (release) { _root.gotoAndPlay('credits2'); } } movieClip 116 { } button 121 { on (release) { getURL('http://www.arcadearmory.com', _blank); } } button 125 { on (release) { getURL('http://www.arcadearmory.com/distribution.php', _blank); } } button 128 { on (release) { _root.music.play(); } } button 130 { on (release) { _root.music.stop(); } } movieClip 131 { } frame 4 { stop(); } movieClip 132 { } movieClip 135 { } movieClip 137 { frame 171 { _root.nextFrame(); } } instance of movieClip 137 { onClipEvent (enterFrame) { this._xscale += 0.05; this._yscale += 0.05; } } button 141 { on (release) { _root.nextFrame(); } } button 144 { on (release) { getURL('http://www.arcadearmory.com', _blank); } } frame 5 { stop(); _root.level = 1; savefile.data.level = _root.level; savefile.flush(); } movieClip 151 { frame 6 { stop(); } } movieClip 152 { } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 154 { } movieClip 156 { } movieClip 159 { } movieClip 160 { frame 11 { stop(); } } frame 6 { _root.nextFrame(); } frame 7 { stop(); _root.level = 2; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 162 { } frame 8 { _root.nextFrame(); } frame 9 { stop(); _root.level = 3; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 166 { } frame 10 { _root.nextFrame(); } frame 11 { stop(); _root.level = 4; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 170 { } frame 12 { _root.nextFrame(); } frame 13 { stop(); _root.level = 5; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 173 { } frame 14 { _root.nextFrame(); } frame 15 { stop(); _root.level = 6; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 178 { } frame 16 { _root.nextFrame(); } frame 17 { stop(); _root.level = 7; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 42 lazer { onClipEvent (enterFrame) { this._x += 1; if (this._x > 500) { this.unloadMovie(); } } } movieClip 182 { } frame 18 { _root.nextFrame(); } frame 19 { stop(); _root.level = 8; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 186 { } frame 20 { _root.nextFrame(); } frame 21 { stop(); _root.level = 9; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 189 { } frame 22 { _root.nextFrame(); } frame 23 { stop(); _root.level = 10; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 192 { } frame 24 { _root.nextFrame(); } frame 25 { stop(); _root.level = 11; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 197 { } frame 26 { _root.nextFrame(); } frame 27 { stop(); _root.level = 12; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 201 { } frame 28 { _root.nextFrame(); } frame 29 { stop(); _root.level = 13; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 42 lazer { onClipEvent (enterFrame) { this._y += 1.25; } } movieClip 205 { } frame 30 { _root.nextFrame(); } frame 31 { stop(); _root.level = 14; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 208 { } frame 32 { _root.nextFrame(); } frame 33 { stop(); _root.level = 15; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 7.25; var jumpHeight = 15; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 212 { } frame 34 { _root.nextFrame(); } frame 35 { stop(); _root.level = 16; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 216 { } movieClip 217 { } frame 36 { _root.nextFrame(); } frame 37 { stop(); _root.level = 17; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 221 { } frame 38 { _root.nextFrame(); } frame 39 { stop(); _root.level = 18; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 225 { } frame 40 { _root.nextFrame(); } frame 41 { stop(); _root.level = 19; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y -= 1.5; } } movieClip 228 { } frame 42 { _root.nextFrame(); } frame 43 { stop(); _root.level = 20; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 232 { } movieClip 233 { } frame 44 { _root.nextFrame(); } frame 45 { stop(); _root.level = 21; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 237 { } frame 46 { _root.nextFrame(); } frame 47 { stop(); _root.level = 22; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 241 { } frame 48 { _root.nextFrame(); } frame 49 { stop(); _root.level = 23; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 244 { } frame 50 { _root.nextFrame(); } frame 51 { stop(); _root.level = 24; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y -= 0.5; } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y += 0.5; } } movieClip 248 { } frame 52 { _root.nextFrame(); } frame 53 { stop(); _root.level = 25; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 251 { } movieClip 252 { } movieClip 253 { } movieClip 255 { } frame 54 { _root.nextFrame(); } frame 55 { stop(); _root.level = 26; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 258 { } movieClip 259 { } movieClip 260 { } movieClip 261 { } movieClip 262 { } movieClip 264 { } frame 56 { _root.nextFrame(); } frame 57 { stop(); _root.level = 27; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 267 { } frame 58 { _root.nextFrame(); } frame 59 { stop(); _root.level = 28; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 271 { } movieClip 272 { } movieClip 273 { } movieClip 274 { } movieClip 275 { } movieClip 276 { } frame 60 { _root.nextFrame(); } frame 61 { stop(); _root.level = 29; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 280 { } frame 62 { _root.nextFrame(); } frame 63 { stop(); _root.level = 30; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 283 { } movieClip 284 { } movieClip 285 { } movieClip 286 { } movieClip 287 { } movieClip 288 { } frame 64 { _root.nextFrame(); } frame 65 { stop(); _root.level = 31; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 292 { } frame 66 { _root.nextFrame(); } frame 67 { stop(); _root.level = 32; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y -= 0.35; } } movieClip 296 { } frame 68 { _root.nextFrame(); } frame 69 { stop(); _root.level = 33; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 300 { } frame 70 { _root.nextFrame(); } frame 71 { stop(); _root.level = 34; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y -= 0.75; } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._x -= 1; } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._x += 1; } } movieClip 304 { } frame 72 { _root.nextFrame(); } frame 73 { stop(); _root.level = 35; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 307 { } movieClip 308 { } movieClip 310 { } frame 74 { _root.nextFrame(); } frame 75 { stop(); _root.level = 36; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 316 { } movieClip 317 { instance of movieClip 316 { onClipEvent (enterFrame) { this._y += 0.25; } } } frame 76 { _root.nextFrame(); } frame 77 { stop(); _root.level = 37; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y += 0.5; } } movieClip 322 { } movieClip 323 { instance of movieClip 322 { onClipEvent (enterFrame) { this._y -= 0.25; } } } frame 78 { _root.nextFrame(); } frame 79 { stop(); _root.level = 38; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 325 { } movieClip 327 { } frame 80 { _root.nextFrame(); } frame 81 { stop(); _root.level = 39; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } movieClip 332 { } movieClip 333 { } frame 82 { _root.nextFrame(); } frame 83 { stop(); _root.level = 40; savefile.data.level = _root.level; savefile.flush(); } instance char of movieClip 152 { onClipEvent (load) { var grav = 0; var speed = 5; var jumpHeight = 12.5; var slow = 0.7; var slowspd = speed / 1.5; var setspeed = speed; var scale = _xscale; var ex = 1; this.gotoAndStop(2); } onClipEvent (enterFrame) { ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (_root.water.hitTest(_x, _y, true)) { if (grav > 0) { grav *= slow; } speed = slowspd; } else { speed = setspeed; } if (Key.isDown(39)) { _x = _x + speed; _xscale = scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (Key.isDown(37)) { _x = _x - speed; _xscale = -scale; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(1); } else { this.gotoAndStop(2); } } else { if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } } if ((Key.isDown(38) || Key.isDown(32)) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(2); } if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) { _x = _x - speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height / 6, true) || _root.ground.hitTest(_x - _width / 2 - ex, _y - _height, true)) { _x = _x + speed; if (_root.ground.hitTest(_x, _y + 3, true)) { this.gotoAndStop(3); } } if (_root.ground.hitTest(_x, _y - _height - 15, true)) { grav = 1; } } } instance of movieClip 50 sense { onClipEvent (enterFrame) { _y = _y + (_root.char._y - 50 - _y); _x = _x + (_root.char._x - _x); if (Key.isDown(65)) { this.play(); } else { this.gotoAndStop(30); } } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._y += 1; } } instance of movieClip 39 lazer2 { onClipEvent (enterFrame) { this._x += 1; } } movieClip 336 { } frame 84 { stop(); } movieClip 341 { } movieClip 342 { frame 455 { _root.gotoAndStop('credits'); } } instance of movieClip 342 { onClipEvent (load) { var timer = 0; } onClipEvent (enterFrame) { ++timer; if (timer < 350) { this._yscale -= 0.15; this._xscale -= 0.15; } } } frame 85 { stop(); } button 347 { on (release) { _root.gotoAndPlay('menu'); } } button 354 { on (release) { getURL('http://www.arcadearmory.com', _blank); } } frame 86 { stop(); } frame 87 { stop(); } movieClip 355 { } movieClip 357 { } movieClip 358 { instance of movieClip 357 { onClipEvent (enterFrame) { this.getRGB(random(16777215)); } } frame 20 { stop(); var savefile = SharedObject.getLocal('prototype'); if (savefile.data.level == undefined) { _root.level = 1; _root.gotoAndPlay('level1'); } else { if (savefile.data.level == 1) { _root.gotoAndPlay('level1'); } else { if (savefile.data.level == 2) { _root.gotoAndPlay('level2'); } else { if (savefile.data.level == 3) { _root.gotoAndPlay('level3'); } else { if (savefile.data.level == 4) { _root.gotoAndPlay('level4'); } else { if (savefile.data.level == 5) { _root.gotoAndPlay('level5'); } else { if (savefile.data.level == 6) { _root.gotoAndPlay('level6'); } else { if (savefile.data.level == 7) { _root.gotoAndPlay('level7'); } else { if (savefile.data.level == 8) { _root.gotoAndPlay('level8'); } else { if (savefile.data.level == 9) { _root.gotoAndPlay('level9'); } else { if (savefile.data.level == 10) { _root.gotoAndPlay('level10'); } else { if (savefile.data.level == 11) { _root.gotoAndPlay('level11'); } else { if (savefile.data.level == 12) { _root.gotoAndPlay('level12'); } else { if (savefile.data.level == 13) { _root.gotoAndPlay('level13'); } else { if (savefile.data.level == 14) { _root.gotoAndPlay('level14'); } else { if (savefile.data.level == 15) { _root.gotoAndPlay('level15'); } else { if (savefile.data.level == 16) { _root.gotoAndPlay('level16'); } else { if (savefile.data.level == 17) { _root.gotoAndPlay('level17'); } else { if (savefile.data.level == 18) { _root.gotoAndPlay('level18'); } else { if (savefile.data.level == 19) { _root.gotoAndPlay('level19'); } else { if (savefile.data.level == 20) { _root.gotoAndPlay('level20'); } else { if (savefile.data.level == 21) { _root.gotoAndPlay('level21'); } else { if (savefile.data.level == 22) { _root.gotoAndPlay('level22'); } else { if (savefile.data.level == 23) { _root.gotoAndPlay('level23'); } else { if (savefile.data.level == 24) { _root.gotoAndPlay('level24'); } else { if (savefile.data.level == 25) { _root.gotoAndPlay('level25'); } else { if (savefile.data.level == 26) { _root.gotoAndPlay('level26'); } else { if (savefile.data.level == 27) { _root.gotoAndPlay('level27'); } else { if (savefile.data.level == 28) { _root.gotoAndPlay('level28'); } else { if (savefile.data.level == 29) { _root.gotoAndPlay('level29'); } else { if (savefile.data.level == 30) { _root.gotoAndPlay('level30'); } else { if (savefile.data.level == 31) { _root.gotoAndPlay('level31'); } else { if (savefile.data.level == 32) { _root.gotoAndPlay('level32'); } else { if (savefile.data.level == 33) { _root.gotoAndPlay('level33'); } else { if (savefile.data.level == 34) { _root.gotoAndPlay('level34'); } else { if (savefile.data.level == 35) { _root.gotoAndPlay('level35'); } else { if (savefile.data.level == 36) { _root.gotoAndPlay('level36'); } else { if (savefile.data.level == 37) { _root.gotoAndPlay('level37'); } else { if (savefile.data.level == 38) { _root.gotoAndPlay('level38'); } else { if (savefile.data.level == 39) { _root.gotoAndPlay('level39'); } else { if (savefile.data.level == 40) { _root.gotoAndPlay('level40'); } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }




http://swfchan.com/26/126999/info.shtml
Created: 25/2 -2019 11:52:31 Last modified: 25/2 -2019 11:52:31 Server time: 12/05 -2024 06:02:13