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

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

Astroman.swf

This is the info page for
Flash #211423

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


ActionScript [AS1/AS2]
Combined Code
movieClip 116 hitbox { } movieClip 118 trail3 { frame 1 { life = 25; gotoAndStop(color); onEnterFrame = function () { _xscale = _xscale - 2; _yscale = _yscale - 2; _alpha = _alpha - 4; --life; if (life < 1) { this.removeMovieClip(); } }; } } movieClip 120 shadow { } movieClip 124 { } movieClip 126 { } movieClip 128 { } movieClip 129 { frame 1 { stop(); } frame 88 { gotoAndPlay('loop'); } } movieClip 130 { } movieClip 142 { } movieClip 144 { } movieClip 146 { } movieClip 147 { frame 1 { stop(); } frame 88 { gotoAndPlay('loop'); } } movieClip 159 { } movieClip 161 { } movieClip 163 { } movieClip 165 { } movieClip 166 { frame 1 { stop(); } frame 88 { gotoAndPlay('loop'); } } movieClip 179 achie { instance of movieClip 130 { onClipEvent (enterFrame) { if (_root['achievement' + _parent.num] == 0) { if (_root['achievement' + (_parent.num - 1)] != 1 && _root['achievement' + (_parent.num + 1)] != 1 && _root['achievement' + (_parent.num - 10)] != 1 && _root['achievement' + (_parent.num + 10)] != 1) { if (_parent.num >= 1 && _parent.num <= 10) { _parent.gotoAndStop(32); } else { if (_parent.num >= 11 && _parent.num <= 20) { _parent.gotoAndStop(33); } else { _parent.gotoAndStop(34); } } } _parent._alpha = 40; _parent.r._alpha = 0; } else { _parent._alpha = 100; _parent.r._alpha = 100; _parent.r.play(); } } } } movieClip 182 { } movieClip 184 { } movieClip 186 { } movieClip 188 { } movieClip 190 { } movieClip 192 { } movieClip 194 rock { frame 1 { stop(); } instance of movieClip 130 { onClipEvent (load) { _parent.ang = (-35 + Math.random() * 70) / 57.29577951308232; xspd = 4 * Math.sin(_parent.ang); yspd = _root.fallspd * 10 * Math.cos(_parent.ang); if (falling != true) { falling = false; } trailtime = 0; if (falling != true) { grav = 0; } timer = 0; d = _root.despawntime; tc = 1; sm = 0.6; if (_root.timeremain < 1) { --_root.numstars; _parent.removeMovieClip(); } kicktimer = 3; kicktimer2 = 3; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (this.hitTest(_root.char.hit) && _parent._currentframe == 1) { if (_root.char._y > _parent._y - 10 && _parent._y > 60) { kbx = 7; kby = 16; dmg = 9001; _root.hurtChar(kbx, kby, dmg, 1000, _parent._x); _root.smeteorhit.start(0, 1); _root.sstarlose.start(0, 1); } else { if (thisjumped != true) { _root.smeteorjump.start(0, 1); thisjumped = true; _root.grav = -_root.jumpheight * 0.8; _root.char.anim.gotoAndPlay('2ndjump'); _root.fftimer = 10; _root.djumped = false; xspd = 0; yspd = 40; if (counted) { ++_root.numstars; } ++_root.slidecaught; if (_root.slidecaught > 1 && _root.slidecaught < 10) { _root.slidebonus = _root.slidecaught; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(6); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus * _root.heightbonus); ++_root.i; ++_root.starsgot[5]; _root.score += _root.scores[6] * _root.slidebonus * _root.heightbonus; } } } if (this.hitTest(_root.char2.hit) && _parent._currentframe == 1) { if (_root.char2._y > _parent._y - 10 && _parent._y > 60) { kbx = 7; kby = 16; dmg = 9001; _root.hurtChar2(kbx, kby, dmg, 1000, _parent._x); _root.smeteorhit.start(0, 1); _root.sstarlose.start(0, 1); } else { if (thisjumped != true) { thisjumped = true; _root.smeteorjump.start(0, 1); _root.grav2 = -_root.jumpheight * 0.8; _root.char2.anim.gotoAndPlay('2ndjump'); _root.fftimer2 = 10; _root.djumped2 = false; xspd = 0; yspd = 40; if (counted) { ++_root.numstars; } ++_root.slidecaught2; if (_root.slidecaught2 > 1 && _root.slidecaught2 < 10) { _root.slidebonus2 = _root.slidecaught2; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(6); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus2 * _root.heightbonus2); ++_root.i; ++_root.starsgot2[5]; _root.score2 += _root.scores[6] * _root.slidebonus2 * _root.heightbonus2; } } } if (_currentframe == 1 && _root.landed && _root.char._x > _parent._x - 90 && _root.char._x < _parent._x + 90 && _root.timeremain < 10 && !_root.attack && _parent._y > _root.char._y - 100 && _parent._y < _root.char._y + 80) { --kicktimer; } if (_currentframe == 1 && _root.landed2 && _root.char2._x > _parent._x - 90 && _root.char2._x < _parent._x + 90 && _root.timeremain < 10 && !_root.attack2 && _parent._y > _root.char2._y - 100 && _parent._y < _root.char2._y + 80) { --kicktimer2; } if (kicktimer < 1) { _root.attack = true; _root.char.gotoAndStop('kick'); kicktimer = 8; } if (kicktimer2 < 1) { _root.attack2 = true; _root.char2.gotoAndStop('kick'); kicktimer2 = 8; } if (_parent._currentframe > 3 && _parent._currentframe <= 17) { if (this.hitTest(_root.char.anim.hit) || this.hitTest(_root.char2.anim.hit)) { _parent.gotoAndPlay(18); if (_root.levels.curvoiceclip == 13) { ++_root.levels.trocks; } if (this.hitTest(_root.char.anim.hit)) { _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(6); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus * _root.heightbonus); ++_root.i; ++_root.starsgot[6]; _root.score += 25 * _root.slidebonus * _root.heightbonus; } else { _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(6); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus2 * _root.heightbonus2); ++_root.i; ++_root.starsgot2[6]; _root.score2 += 25 * _root.slidebonus2 * _root.heightbonus2; } ++_root.mrockbreak; _root.srockkick.start(0, 1); _root.walls['particle' + wstore].removeMovieClip(); _root.ground['particle' + gstore].removeMovieClip(); _root.roofs['particle' + rstore].removeMovieClip(); --_root.numstars; } } if (_parent._y > 500) { --_root.numstars; _parent.removeMovieClip(); } if (_root._currentframe > 100) { if (_parent._x < 5 && xspd < 0 || _parent._x > 795 && xspd > 0) { xspd *= -1; } } if (!landed) { --trailtime; if (trailtime < 1) { if (_root._currentframe > 100) { _root.attachMovie('trail', 'trail' + _root.i, _root.i); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; _root['trail' + _root.i].color = 6; _root['trail' + _root.i]._xscale = 200; _root['trail' + _root.i]._yscale = 200; _root['trail' + _root.i]._rotation = 90 + 57.29577951308232 * Math.atan2(yspd, xspd); } ++_root.i; trailtime = 2; } _parent._y += yspd * sm; if (_parent._y > 380) { _parent._y = 380; landed = true; if (_root._currentframe > 100) { _root.ground.attachMovie('hitbox', 'particle' + _root.h, _root.h); _root.ground['particle' + _root.h]._x = _parent._x; _root.ground['particle' + _root.h]._y = _parent._y + 10; _root.ground['particle' + _root.h]._width = _parent._width; _root.ground['particle' + _root.h]._height = _parent._height * 0.6; _root.ground['particle' + _root.h]._alpha = 0; gstore = _root.h; ++_root.h; _root.walls.attachMovie('hitbox', 'particle' + _root.h, _root.h); _root.walls['particle' + _root.h]._x = _parent._x; _root.walls['particle' + _root.h]._y = _parent._y; _root.walls['particle' + _root.h]._width = _parent._width; _root.walls['particle' + _root.h]._height = _parent._height * 0.4; _root.walls['particle' + _root.h]._alpha = 0; wstore = _root.h; ++_root.h; _root.roofs.attachMovie('hitbox', 'particle' + _root.h, _root.h); _root.roofs['particle' + _root.h]._x = _parent._x; _root.roofs['particle' + _root.h]._y = _parent._y + 10; _root.roofs['particle' + _root.h]._width = _parent._width; _root.roofs['particle' + _root.h]._height = _parent._height * 0.6; _root.roofs['particle' + _root.h]._alpha = 0; rstore = _root.h; ++_root.h; } } else { _parent._x += xspd * sm; } } else { if (_parent._currentframe == 1) { _root.smeteorbreak.start(0, 1); _parent.play(); } } } } } frame 17 { stop(); } frame 18 { play(); } frame 19 { play(); } frame 34 { this.removeMovieClip(); } } movieClip 196 { } movieClip 198 { } movieClip 201 { } movieClip 203 { } movieClip 205 { } movieClip 207 { } movieClip 209 { } movieClip 211 { } movieClip 214 { } movieClip 224 get7 { frame 23 { this.removeMovieClip(); } } movieClip 226 { } movieClip 227 { instance of movieClip 130 { onClipEvent (enterFrame) { if (_root.paus || _root.paus2) { _parent._parent.stop(); } else { _parent._parent.play(); } } } } movieClip 237 drun { frame 1 { if (_root.curmap == 6 || _root.curmap == 10 && _x > 134 && _x < 226) { gotoAndPlay('wet'); } } frame 10 { this.removeMovieClip(); } frame 20 { this.removeMovieClip(); } } movieClip 239 { } movieClip 241 { } movieClip 243 { } movieClip 245 { } movieClip 259 dturn { frame 1 { if (_root.curmap == 6 || _root.curmap == 10 && _x > 134 && _x < 226) { gotoAndPlay('wet'); } } frame 10 { this.removeMovieClip(); } frame 24 { this.removeMovieClip(); } } movieClip 261 rjump { frame 11 { this.removeMovieClip(); } } movieClip 262 { frame 10 { this.removeMovieClip(); loadMovie('', this); } } movieClip 275 dland { frame 1 { if (_root.curmap == 6 || _root.curmap == 10 && _x > 134 && _x < 226) { gotoAndPlay('wet'); } } frame 11 { stop(); this.removeMovieClip(); } frame 29 { stop(); this.removeMovieClip(); } } movieClip 277 { } movieClip 279 { } movieClip 280 { } movieClip 281 { } movieClip 283 { } movieClip 285 { } movieClip 286 { } movieClip 288 { } movieClip 290 { } movieClip 291 { } movieClip 293 { } movieClip 295 { } movieClip 296 { } movieClip 297 crystal { instance of movieClip 130 { onClipEvent (load) { this.bounces = new Sound(this); bounces.attachSound('star0'); bounces.setVolume(80); _parent.ang = (-35 + Math.random() * 70) / 57.29577951308232; xspd = 4 * Math.sin(_parent.ang); yspd = _root.fallspd * 10 * Math.cos(_parent.ang); if (falling != true) { falling = false; } trailtime = 0; rot = 0; _parent.gotoAndStop(_parent.color); color = _parent.color; if (falling != true) { grav = 0; } timer = 0; d = _root.despawntime; tc = 1; sm = 1; if (_root.timeremain < 1) { --_root.numstars; _parent.removeMovieClip(); } touchedg = false; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (this.hitTest(_root.char.anim.hit) || this.hitTest(_root.char2.anim.hit)) { n = 0; while (n < 15) { _root.attachMovie('star', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y - 10; _root['particle' + _root.p].xspd = random(21) - 10; _root['particle' + _root.p].grav = (random(15) + 5) * -1; _root['particle' + _root.p].counted = false; _root['particle' + _root.p].color = color; _root['particle' + _root.p].falling = true; _root['particle' + _root.p].ctimer = 20; ++_root.p; ++n; } _root.attachMovie('getC', 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; --_root.numstars; ++_root.ach17; if (!touchedg && _parent._y < 350 && (_root.char._currentframe == 18 && this.hitTest(_root.char.anim.hit) || _root.char2._currentframe == 18 && this.hitTest(_root.char2.anim.hit))) { ++_root.ach26; } if (_root.levels.curvoiceclip == 40) { ++_root.levels.tcrystal; } _root.starsound['scrystal' + (color - 1)].start(0, 1); _parent.removeMovieClip(); } if (_parent._y > 500) { --_root.numstars; _parent.removeMovieClip(); } if (_root._currentframe > 100) { if (_root.curmap != 10) { if (_parent._x < 5 && xspd < 0 || _parent._x > 795 && xspd > 0) { xspd *= -1; } } else { if (_parent._x < -20) { _parent._x += 840; } else { if (_parent._x > 820) { _parent._x -= 840; } } } } if (!landed) { --trailtime; if (trailtime < 1) { if (_root._currentframe > 100) { _root.attachMovie('trail', 'trail' + _root.i, _root.i); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; _root['trail' + _root.i].color = tc; _root['trail' + _root.i]._xscale = 200; _root['trail' + _root.i]._yscale = 200; if (tc == 4) { tc = 6; } else { if (tc == 6) { tc = 1; } else { ++tc; } } if (falling == false) { _root['trail' + _root.i]._rotation = 90 + 57.29577951308232 * Math.atan2(yspd, xspd); } else { _root['trail' + _root.i]._rotation = 90 + 57.29577951308232 * Math.atan2(grav, xspd); } } ++_root.i; trailtime = 2; } if (falling == false) { _parent._y += yspd * sm; } else { _parent._y += grav * sm; } if (_root.ground.hitTest(_parent._x, _parent._y + _parent._height * 0.2, true)) { touchedg = true; if (sbp != true) { bounces.start(0, 1); sbp = true; } grav = -yspd * 0.5; _parent._y -= yspd * 0.5; xspd *= 0.5; if (yspd < 3) { landed = true; } yspd *= 0.5; falling = true; } else { if (falling) { grav += _root.fallspd * 0.8; } _parent._x += xspd * sm; } } else { if (!_root.ground.hitTest(_parent._x, _parent._y + _parent._height * 0.2, true)) { falling = true; landed = false; } ++timer; if (timer > d) { if (Math.round(_parent._alpha) == 100) { _parent._alpha = 90; } else { if (Math.round(_parent._alpha) == 90) { _parent._alpha = 0; } else { if (Math.round(_parent._alpha) == 0) { _parent._alpha = 10; } else { if (Math.round(_parent._alpha) == 10) { _parent._alpha = 100; } } } } } if (timer > d * 2) { --_root.numstars; _parent.removeMovieClip(); } } } } } } movieClip 299 { } movieClip 301 { } movieClip 303 { } movieClip 305 { } movieClip 307 { } movieClip 310 { } movieClip 318 getC { frame 17 { this.removeMovieClip(); } } movieClip 319 { } movieClip 320 { } movieClip 323 { } movieClip 325 { } movieClip 326 { } movieClip 327 { } movieClip 329 { } movieClip 330 { } movieClip 337 get6 { frame 21 { this.removeMovieClip(); } } movieClip 339 { } movieClip 341 { } movieClip 342 get5 { frame 17 { this.removeMovieClip(); } } movieClip 344 { } movieClip 345 get4 { frame 17 { this.removeMovieClip(); } } movieClip 347 { } movieClip 348 get2 { frame 17 { this.removeMovieClip(); } } movieClip 350 { } movieClip 351 get3 { frame 17 { this.removeMovieClip(); } } movieClip 353 { } movieClip 354 get1 { frame 15 { this.removeMovieClip(); } } movieClip 395 { } // unknown tag 88 length 35 movieClip 406 bonus { frame 1 { onEnterFrame = function () { if (s != true) { timer = 0; s = true; } ++timer; _yscale = _yscale + (100 - _yscale) / 8; if (timer > 25) { _alpha = _alpha - 5; if (_alpha < 0) { this.removeMovieClip(); } } if (_x == 0 && _y == 0) { this.removeMovieClip(); } else { if (_y < 60) { _y = 60; } } }; } } movieClip 408 trail2 { frame 1 { life = 25; gotoAndStop(color); onEnterFrame = function () { _xscale = _xscale - 2; _yscale = _yscale - 2; _alpha = _alpha - 4; --life; if (life < 1) { this.removeMovieClip(); } }; } } movieClip 417 trail { frame 1 { if (_root._quality == 'LOW') { life = 15; } else { life = 30; } gotoAndStop(color); onEnterFrame = function () { if (!_root.paus && !_root.paus2) { if (_xscale > 0) { _xscale = _xscale - 75 / life; _yscale = _yscale - 75 / life; } _alpha = _alpha - 100 / life; --life; if (life < 1 || _x == 0 && _y == 0) { this.removeMovieClip(); } } }; } } movieClip 419 { } movieClip 420 { } movieClip 421 { } movieClip 423 { } movieClip 424 { } movieClip 425 { } movieClip 427 { } movieClip 428 { } movieClip 429 { } movieClip 431 { } movieClip 432 { } movieClip 434 { } movieClip 436 { } movieClip 437 { } movieClip 439 { } movieClip 440 { } movieClip 443 { } movieClip 460 { } movieClip 461 { } movieClip 462 star { instance of movieClip 130 { onClipEvent (load) { stt = random(100); if (stt > 50) { stn = 'star1'; } else { stn = 'star2'; } this.bounces = new Sound(this); bounces.attachSound(stn); bounces.setVolume(80); _parent.ang = (-35 + Math.random() * 70) / 57.29577951308232; if (_parent.xspd == undefined) { xspd = 8 * Math.sin(_parent.ang); } else { xspd = _parent.xspd; } if (_parent.ctimer == undefined) { ctimer = 0; } else { ctimer = _parent.ctimer; } yspd = (_root.fallspd / 6 + 0.5) * 20 * Math.cos(_parent.ang); if (_parent.falling == undefined) { falling = false; } else { falling = _parent.falling; } trailtime = 0; total = 0; i = 0; while (i < 6) { this['f' + i] = _root.frequency[i]; total += _root.frequency[i]; ++i; } if (!_root.multiplayer && _root.curchar == 1) { f5 += 6; total += 6; } if (_parent.color == undefined) { rng = random(Math.floor(total)); if (rng < f0) { color = 1; } else { if (rng > f0 && rng < f0 + f1) { color = 2; } else { if (rng > f0 + f1 && rng < f0 + f1 + f2) { color = 3; } else { if (rng > f0 + f1 + f2 && rng < f0 + f1 + f2 + f3) { color = 4; } else { if (rng > f0 + f1 + f2 + f3 && rng < f0 + f1 + f2 + f3 + f4) { color = 5; } else { color = 6; } } } } } } else { color = _parent.color; } if (_root.timeremain < 30 && _parent.counted != false || _root.meteormode) { if (_root.curmap != 10) { color = 6; } if (_root.curmap == 9) { color = 7; } } asshole = 0; if (color == 6 && _root.curchar == 1 && !_root.multiplayer) { asshole = Math.random(); if (asshole > 0.8) { color = 7; } } if (color == 6 && _root.curmap == 9) { asshole = Math.random(); if (asshole > 0.5) { color = 7; } } if (_root.curmap == 10 && _parent.color == undefined) { color = random(5) + 1; } rot = 0; if (color >= 6) { sm = 0.4; rot = random(20) - 10; sc = 1 + random(50) * 0.01; _parent._xscale *= sc; _parent._yscale *= sc; thisjumped = false; thisjumped2 = false; _root.smeteorspawn.start(0, 1); } else { sm = 1; random1 = random(6); if (random1 > 0 && random1 < 4) { _root['sstarf' + random1].start(0, 1); } } _parent.gotoAndStop(color); if (_parent.counted == undefined) { counted = true; } else { counted = _parent.counted; } if (_parent.grav == undefined) { grav = 0; } else { grav = _parent.grav; } timer = 0; if (_root._currentframe < 290) { d = 20; } else { d = _root.despawntime; } if (_parent._x == 0 && _parent._y == 0) { if (counted) { --_root.numstars; } _parent.removeMovieClip(); loadMovie('', _parent); } } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { --ctimer; if (ctimer < _parent.d && _parent.d != undefined) { _parent._alpha -= 5; if (_parent._alpha <= 1) { _parent.removeMovieClip(); } } if (color == 6 && this.hitTest(_root.char.anim.hit) && _root.char._currentframe > 13) { if (_root.meteormode || _root.curmap == 9) { ++_root.slidecaught; if (_root.slidecaught > 1 && _root.slidecaught < 10) { _root.slidebonus = _root.slidecaught; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _root.char._x; _root['particle' + _root.i]._y = _root.char._y - _root.char._height - 10; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus * _root.heightbonus); ++_root.i; ++_root.starsgot[color - 1]; _root.score += _root.scores[color] * _root.slidebonus * _root.heightbonus; } _root.attachMovie('get' + color, 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; _root.smeteorkick.start(0, 1); _parent.removeMovieClip(); } if (this.hitTest(_root.char.hit) && ctimer < 0) { if (color < 6) { if (_root.char._currentframe == 12 || !_root.ground.hitTest(_root.char._x, _root.char._y + 4, true)) { ++_root.slidecaught; if (_root.slidecaught > 1 && _root.slidecaught < 10) { _root.slidebonus = _root.slidecaught; } } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _root.char._x; _root['particle' + _root.i]._y = _root.char._y - _root.char._height - 10; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus * _root.heightbonus); ++_root.i; _root.laststars.shift(); _root.laststars.push(color); ++_root.starsgot[color - 1]; _root.score += _root.scores[color] * _root.slidebonus * _root.heightbonus; } if (counted) { --_root.numstars; } if (_parent._y <= _root.char._y - 10 && color >= 6 && !thisjumped || color < 6 && !thisjumped) { _root.attachMovie('get' + color, 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; if (_root.getsounds[color - 1] < 1 || _root._currentframe < 290) { if (_root.slidebonus * _root.heightbonus > 5) { _root.starsound['sgetsoundcombo' + (color - 1)].start(0, 1); } else { _root.starsound['sgetsound' + (color - 1)].start(0, 1); } _root.getsounds[color - 1] = _root.soundDelay; } if (color >= 6 && _parent._y > 50 && _root.char._y > 50) { if (color == 6) { kbx = 4; kby = 10; dmg = 1; } else { kbx = 7; kby = 16; dmg = 9001; } if (_root.timeremain < 1) { ++_root.ach14[0]; } _root.hurtChar(kbx, kby, dmg, 1000, _parent._x); if (color == 6) { _root.smeteorhit.start(0, 1); } else { _root.smeteorflamehit.start(0, 1); } _root.sstarlose.start(0, 1); } _parent.removeMovieClip(); } else { if (_parent._y > _root.char._y - 10 && !thisjumped && color < 7) { thisjumped = true; ++_root.mbounced; _root.grav = -_root.jumpheight * 0.8; _root.smeteorjump.start(0, 1); ++_root.ach20[0]; _root.char.anim.gotoAndPlay('2ndjump'); _root.fftimer = 10; _root.djumped = false; xspd = 0; yspd = 40; if (counted) { ++_root.numstars; } ++_root.slidecaught; if (_root.slidecaught > 1 && _root.slidecaught < 10) { _root.slidebonus = _root.slidecaught; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus * _root.heightbonus); ++_root.i; ++_root.starsgot[color - 1]; _root.score += _root.scores[color] * _root.slidebonus * _root.heightbonus; } } } if (color == 6 && this.hitTest(_root.char2.anim.hit) && _root.char2._currentframe > 13) { if (_root.meteormode || _root.curmap == 9) { ++_root.slidecaught2; if (_root.slidecaught2 > 1 && _root.slidecaught2 < 10) { _root.slidebonus2 = _root.slidecaught2; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _root.char2._x; _root['particle' + _root.i]._y = _root.char2._y - _root.char2._height - 10; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus2 * _root.heightbonus2); ++_root.i; ++_root.starsgot2[color - 1]; _root.score2 += _root.scores[color] * _root.slidebonus2 * _root.heightbonus2; } _root.attachMovie('get' + color, 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; _root.smeteorkick.start(0, 1); _parent.removeMovieClip(); } if (this.hitTest(_root.char2.hit) && ctimer < 0) { if (color < 6) { if (_root.char2._currentframe == 12 || !_root.ground.hitTest(_root.char2._x, _root.char2._y + 4, true)) { ++_root.slidecaught2; if (_root.slidecaught2 > 1 && _root.slidecaught2 < 10) { _root.slidebonus2 = _root.slidecaught2; } } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _root.char2._x; _root['particle' + _root.i]._y = _root.char2._y - _root.char2._height - 10; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus2 * _root.heightbonus2); ++_root.i; _root.laststars2.shift(); _root.laststars2.push(color); ++_root.starsgot2[color - 1]; _root.score2 += _root.scores[color] * _root.slidebonus2 * _root.heightbonus2; } if (counted) { --_root.numstars; } if (_parent._y <= _root.char2._y - 10 && color >= 6 && !thisjumped2 || color < 6 && !thisjumped2) { _root.attachMovie('get' + color, 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; if (_root.slidebonus2 * _root.heightbonus2 > 5) { _root.starsound['sgetsoundcombo' + (color - 1)].start(0, 1); } else { _root.starsound['sgetsound' + (color - 1)].start(0, 1); } if (color >= 6 && _parent._y > 50 && _root.char._y > 50) { if (color == 6) { kbx = 4; kby = 10; dmg = 1; } else { kbx = 7; kby = 16; dmg = 9001; } if (_root.timeremain < 1) { ++_root.ach14[1]; } _root.hurtChar2(kbx, kby, dmg, 1000, _parent._x); if (color == 6) { _root.smeteorhit.start(0, 1); } else { _root.smeteorflamehit.start(0, 1); } _root.sstarlose.start(0, 1); } _parent.removeMovieClip(); } else { if (_parent._y > _root.char2._y - 10 && !thisjumped2 && color < 7) { thisjumped2 = true; ++_root.mbounced; _root.grav2 = -_root.jumpheight * 0.8; _root.smeteorjump.start(0, 1); ++_root.ach20[1]; _root.char2.anim.gotoAndPlay('2ndjump'); _root.fftimer2 = 10; _root.djumped2 = false; xspd = 0; yspd = 40; if (counted) { ++_root.numstars; } ++_root.slidecaught2; if (_root.slidecaught2 > 1 && _root.slidecaught2 < 10) { _root.slidebonus2 = _root.slidecaught2; } _root.attachMovie('bonus', 'particle' + _root.i, _root.i + 10000); _root['particle' + _root.i]._x = _parent._x; _root['particle' + _root.i]._y = _parent._y; _root['particle' + _root.i].gotoAndStop(color); _root['particle' + _root.i]._yscale = 0; _root['particle' + _root.i].m.gotoAndStop(_root.slidebonus2 * _root.heightbonus2); ++_root.i; ++_root.starsgot2[color - 1]; _root.score2 += _root.scores[color] * _root.slidebonus2 * _root.heightbonus2; } } } if (_parent._y > 500) { if (counted) { --_root.numstars; } _parent.removeMovieClip(); } if (_root._currentframe > 290) { if (_root.curmap != 10) { if (_parent._x < 5 && xspd < 0 || _parent._x > 795 && xspd > 0) { xspd *= -1; } } else { if (_parent._x < -20) { _parent._x += 840; } else { if (_parent._x > 820) { _parent._x -= 840; } } } } if (!landed) { if (color >= 6) { _parent.body._rotation += rot; } if (_root._quality == 'LOW') { trailtime -= 0.5; } else { --trailtime; } if (trailtime < 1 && _root.numstars > _root.maxstars / 2 && counted || trailtime <= 1 && _root.numstars <= _root.maxstars / 2 && counted || !counted && trailtime < -1) { if (_root._currentframe > 290) { _root.attachMovie('trail', 'trail' + _root.i, _root.i); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; _root['trail' + _root.i].color = color; if (falling == false) { _root['trail' + _root.i]._rotation = 90 + 57.29577951308232 * Math.atan2(yspd, xspd); } else { _root['trail' + _root.i]._rotation = 90 + 57.29577951308232 * Math.atan2(grav, xspd); } } else { _root.menubits.attachMovie('trail', 'trail' + _root.p, _root.p); _root.menubits['trail' + _root.p]._x = _parent._x; _root.menubits['trail' + _root.p]._y = _parent._y; _root.menubits['trail' + _root.p].color = color; if (falling == false) { _root.menubits['trail' + _root.p]._rotation = 90 + 57.29577951308232 * Math.atan2(yspd, xspd); } else { _root.menubits['trail' + _root.p]._rotation = 90 + 57.29577951308232 * Math.atan2(grav, xspd); } } ++_root.i; ++_root.p; trailtime = 2; } if (falling == false) { _parent._y += yspd * sm; } else { _parent._y += grav * sm; } x = _parent._x; y = _parent._y; w = _parent._width; h = _parent._height; ym = _root._ymouse; if (_root._currentframe > 36) { xm = 10000; } else { xm = _root._xmouse; } if (_root.ground.hitTest(_parent._x, _parent._y + _parent._height * 0.2, true) || _root._currentframe < 290 && Math.abs(x - xm) < w * 0.5 && y > ym && y < ym + 20 && !falling || _root._currentframe < 290 && Math.abs(x - xm) < w * 0.5 && y > ym && y < ym + 20 && falling && grav > 1) { if (color >= 6) { if (counted) { --_root.numstars; } _root.attachMovie('get' + color, 'trail' + _root.i, _root.i); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; ++_root.i; _root.starsound['sgetsound' + (color - 1)].start(0, 1); if (_root._currentframe < 290) { ++_root.loadgot; } if (_root.timeremain > 1 || _root._currentframe < 290) { _root.smeteorbreak.start(0, 1); } _parent.removeMovieClip(); } if (_root._currentframe < 290) { b = 0.8; } else { b = 0.5; } if (sbp != true) { bounces.start(0, 1); sbp = true; } grav = -yspd * b; _parent._y -= yspd * b; xspd *= b; if (_root._currentframe > 290) { if (yspd < 3 || color >= 6) { landed = true; } } else { if (falling) { _root.attachMovie('get' + color, 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _parent._x; _root['trail' + _root.i]._y = _parent._y; _root.starsound['sgetsound' + (color - 1)].start(0, 1); ++_root.i; if (_root._currentframe < 290) { ++_root.loadgot; } --_root.numstars; if (color == 6) { _root.smeteorbreak.start(0, 1); } _parent.removeMovieClip(); } } yspd *= b; falling = true; } else { if (falling) { grav += (_root.fallspd / 6 + 0.5) * 0.8; } _parent._x += xspd * sm; } } else { if (!_root.ground.hitTest(_parent._x, _parent._y + _parent._height * 0.2, true)) { falling = true; landed = false; } ++timer; if (_parent.d == undefined) { if (timer > d * 0.5) { if (Math.round(_parent._alpha) == 100) { _parent._alpha = 90; } else { if (Math.round(_parent._alpha) == 90) { _parent._alpha = 0; } else { if (Math.round(_parent._alpha) == 0) { _parent._alpha = 10; } else { if (Math.round(_parent._alpha) == 10) { _parent._alpha = 100; } } } } } if (timer > d) { if (counted) { --_root.numstars; } _parent.removeMovieClip(); } } } } } } } 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__('bfdaf0c0', this, 10301, true); } frame 1 { stop(); Stage.showMenu = false; soundvol = 100; unloadall = function () { loadMovie('', hud); hud.removeMovieClip(); loadMovie('', res); res.removeMovieClip(); loadMovie('', char); char.removeMovieClip(); loadMovie('', shadow); loadMovie('', char2); char2.removeMovieClip(); loadMovie('', shadow2); loadMovie('', warn); loadMovie('', warn2); loadMovie('', trainwarn); loadMovie('', vigi); i = 0; while (i < 10000) { _root['particle' + i].removeMovieClip(); _root['trail' + i].removeMovieClip(); _root['achi' + i].removeMovieClip(); loadMovie('', _root['obj' + i]); ++i; } }; curmap = 1; meteormode = false; var savefile = SharedObject.getLocal('AstroManGame2012'); _quality = 'HIGH'; loadAll = function (clearall) { if (savefile.data.bestscore1 == undefined || clearall) { _root.loadgot = 0; _root.unlocks = 1; _root.unlocksM = 1; _root.bestscoremeteor = 0; i = 1; while (i < 31) { if (i <= 11) { _root['bestscore' + i] = 0; _root['medal' + i] = 0; _root['visited' + i] = 0; _root['bestscoreM' + i] = 0; _root['medalM' + i] = 0; _root['visitedM' + i] = 0; _root['visitedMP' + i] = 0; } _root['achievement' + i] = 0; ++i; } _root.sunclear = 0; _root.gamequal = 'HIGH'; _root.playscenes = 0; _root.scu = 1; } else { _root.loadgot = _root.savefile.data.loadgot; _root.unlocks = _root.savefile.data.unlocks; _root.unlocksM = _root.savefile.data.unlocksM; _root.bestscoremeteor = _root.savefile.data.bestscoremeteor; i = 1; while (i < 31) { if (i <= 11) { _root['bestscore' + i] = _root.savefile.data['bestscore' + i]; _root['medal' + i] = _root.savefile.data['medal' + i]; _root['visited' + i] = _root.savefile.data['visited' + i]; _root['bestscoreM' + i] = _root.savefile.data['bestscoreM' + i]; _root['medalM' + i] = _root.savefile.data['medalM' + i]; _root['visitedM' + i] = _root.savefile.data['visitedM' + i]; _root['visitedMP' + i] = _root.savefile.data['visitedMP' + i]; } _root['achievement' + i] = _root.savefile.data['achievement' + i]; ++i; } _root.sunclear = _root.savefile.data.sunclear; _root.gamequal = _root.savefile.data.qsave; if (_root.savefile.data.playscenes == undefined) { _root.playscenes = 0; } else { _root.playscenes = _root.savefile.data.playscenes; } if (_root.savefile.data.scu == undefined) { _root.scu = 1; } else { _root.scu = _root.savefile.data.scu; } } }; loadAll(false); saveAll = function () { _root.savefile.data.loadgot = _root.loadgot; _root.savefile.data.unlocks = _root.unlocks; _root.savefile.data.unlocksM = _root.unlocksM; _root.savefile.data.bestscoremeteor = _root.bestscoremeteor; i = 1; while (i < 31) { if (i <= 11) { _root.savefile.data['bestscore' + i] = _root['bestscore' + i]; _root.savefile.data['medal' + i] = _root['medal' + i]; _root.savefile.data['visited' + i] = _root['visited' + i]; _root.savefile.data['bestscoreM' + i] = _root['bestscoreM' + i]; _root.savefile.data['medalM' + i] = _root['medalM' + i]; _root.savefile.data['visitedM' + i] = _root['visitedM' + i]; _root.savefile.data['visitedMP' + i] = _root['visitedMP' + i]; } _root.savefile.data['achievement' + i] = _root['achievement' + i]; ++i; } _root.savefile.data.sunclear = _root.sunclear; _root.savefile.data.qsave = _root.gamequal; _root.savefile.data.playscenes = _root.playscenes; _root.savefile.data.scu = _root.scu; _root.savefile.flush(); }; medals1 = [800, 1600, 3200, 4800, 6000]; medals2 = [900, 1800, 2700, 4500, 8192]; medals3 = [2000, 3500, 5000, 8000, 10000]; medals4 = [7000, 10000, 15000, 21000, 24680]; medals5 = [4000, 8000, 12000, 18000, 27000]; medals6 = [3000, 5000, 7000, 10000, 13337]; medals7 = [2000, 3000, 5000, 8000, 10000]; medals8 = [8000, 12000, 16000, 21000, 32768]; medals9 = [2500, 3200, 5000, 7500, 9000]; medals10 = [30000, 50000, 70000, 90000, 111111]; _root.soundvol = 100; _root.givenaa = false; boobs = false; _root.allsoundC = []; _root.starsoundC = []; } movieClip 464 { } movieClip 468 { } movieClip 474 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 475 { frame 2 { if (_root.curmap != 9) { _root.shoverbuttons.start(0, 1); } stop(); } } movieClip 476 { frame 2 { if (_root.curmap != 9) { _root.sclickbuttons.start(0, 1); } stop(); } } button 477 { on (rollOver) { if (_root.preload.m01._currentframe < 7) { _root.preload.m01.play(); } } on (rollOut) { if (_root.preload.m01._currentframe < 7) { _root.preload.m01.gotoAndPlay(10); } else { if (_root.preload.m01._currentframe == 7) { _root.preload.m01.play(); } } } on (release) { _root.preload.gotoAndStop(51); pressplay = new Sound(_root); pressplay.attachSound('pressplay'); pressplay.start(0, 1); _root.play(); } } movieClip 478 { frame 49 { gotoAndPlay(1); } frame 50 { stop(); } } instance preload of movieClip 478 { onClipEvent (load) { bar._xscale = 0; } onClipEvent (enterFrame) { l = _root.getBytesLoaded(); t = _root.getBytesTotal(); bar._xscale = 100 * (l / t); if (l / t > 0.99 && _currentframe < 50) { gotoAndStop('done'); } } } movieClip 502 { } movieClip 526 { } movieClip 527 { frame 25 { stop(); } } movieClip 529 { } movieClip 530 { frame 9 { stop(); } } movieClip 532 { } movieClip 533 { frame 25 { stop(); } } movieClip 534 { } movieClip 535 { } button 536 { on (release) { getURL('http://www.2pg.com/', '_blank'); } } movieClip 540 { } movieClip 545 { } movieClip 546 { } movieClip 547 { } movieClip 559 { } movieClip 561 { } movieClip 562 { } movieClip 563 { instance of movieClip 562 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); tenths.stop(); } onClipEvent (enterFrame) { val = _root.loadgot; if (val != undefined) { if (val > 0) { units.gotoAndStop(Math.floor(val) % 10 + 1); } else { units.gotoAndStop(1); } if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val > 0) { tenths.gotoAndStop(Math.floor(val * 10) % 10 + 1); } else { tenths.gotoAndStop(1); } } } } } instance menubits of movieClip 563 { onClipEvent (load) { startimer = 20; spawnrate = 15; maxstars = 20; p = 0; _root.numstars = 0; _root.fallspd = 0.6; _root.frequency = [10, 10, 10, 10, 10, 0]; } onClipEvent (enterFrame) { if (_root._currentframe < 36 && _root.wflash._currentframe < 10) { --startimer; if (startimer < 1 && _root.numstars < maxstars) { this.attachMovie('star', 'particle' + p, p); this['particle' + p]._x = Math.random() * 800; this['particle' + p]._y = -30; ++_root.numstars; ++p; if (p > 100) { p = 0; } startimer = spawnrate; } } if (_root._currentframe > 35) { if (_alpha > 0) { _alpha = _alpha - 5; } } else { if (_alpha < 100) { _alpha = _alpha + 5; } } if (_root.achievement13 == 0 && _root.loadgot >= 100) { m100 = new Sound(_root); m100.attachSound('menu100'); m100.start(0, 1); _root.achievement13 = 1; _root.wflash.a.gotoAndStop(3); _root.wflash.a.r.play(); } } } movieClip 565 { } movieClip 572 { } // unknown tag 88 length 217 movieClip 576 { frame 1 { stop(); } frame 3 { _root.sribbon.start(0, 1); } frame 88 { gotoAndPlay('loop'); } } movieClip 585 { frame 1 { stop(); } } movieClip 587 { frame 1 { stop(); } frame 3 { _root.sribbon.start(0, 1); } frame 88 { gotoAndPlay('loop'); } } movieClip 596 { frame 1 { stop(); } } movieClip 601 { } movieClip 602 { } movieClip 604 { } movieClip 606 { } movieClip 608 { } movieClip 610 { } movieClip 612 { } movieClip 613 { } movieClip 614 { } movieClip 615 { } button 616 { on (rollOver) { _root.hovyes = true; } on (rollOut) { _root.hovyes = false; } on (release) { _root.swelcome.stop(); _root.musicplayin = false; _root.sselyeah.start(0, 1); _root.paus2 = true; _root.curmap = 11; _root._quality = 'MEDIUM'; _root.gotoAndStop('gameplay'); play(); } } button 617 { on (rollOver) { _root.hovno = true; } on (rollOut) { _root.hovno = false; } on (release) { _root.swelcome.stop(); _root.sselno.start(0, 1); _root.gotoAndStop('ssel'); play(); } } button 692 { on (rollOver) { _root.hovyes = true; } on (rollOut) { _root.hovyes = false; } on (release) { _root.wflash.gotoAndPlay(3); _root.loadAll(true); _root.targ = 'menu1'; } } button 693 { on (rollOver) { _root.hovno = true; } on (rollOut) { _root.hovno = false; } on (release) { gotoAndStop(2); } } movieClip 694 { instance a of movieClip 585 { onClipEvent (load) { _alpha = 0; _yscale = 0; timer = 0; } onClipEvent (enterFrame) { if (r._currentframe != 1 && timer < 150) { _yscale = _yscale + (100 - _yscale) / 8; ++timer; _alpha = 100; } if (timer >= 150 && _alpha > 0) { _alpha = _alpha - 5; } if (_alpha < 0) { loadMovie('', this); } } } instance a21 of movieClip 596 { onClipEvent (load) { _alpha = 0; _yscale = 0; timer = 0; } onClipEvent (enterFrame) { if (r._currentframe != 1 && timer < 150) { _yscale = _yscale + (100 - _yscale) / 8; ++timer; _alpha = 100; } if (timer >= 150 && _alpha > 0) { _alpha = _alpha - 5; } if (_alpha < 0) { loadMovie('', this); } } } frame 2 { stop(); } frame 4 { if (_root.targ == 'gameplay' && _root._currentframe == 156) { if (_root.curmap == 12) { gg = 9; } else { gg = _root.curmap; } _root['splanetSel' + gg].start(0, 1); } } frame 6 { if (_root.targ == 'gameplay' || _root.targ == 'restart') { _root.musicplayin = false; } _root.playPSelSound = true; } frame 16 { _root.timeremain = 999; _root.saveAll(); } frame 17 { _root.unloadall(); if (!_root.train) { if (_root.targ == 'sselr') { if (_root.curchar == 0) { _root.curchar = 1; } else { _root.curchar = 0; } _root.gotoAndPlay(_root.targ); } else { if (_root.targ == 'sselrm') { if (_root.multiplayer == false) { _root.multiplayer = true; } else { _root.multiplayer = false; } _root.gotoAndPlay(_root.targ); } else { if (_root.targ == 'mmodem') { if (_root.multiplayer == false) { _root.multiplayer = true; } else { _root.multiplayer = false; } _root.gotoAndPlay(_root.targ); } else { _root.gotoAndStop(_root.targ); } } } } _root.paus = false; _root.paus2 = false; } frame 19 { if (_root.targ == 'restart') { _root.gotoAndStop('gameplay'); } if (_root.targ == 'gameplay' || _root.targ == 'restart') { _root.musicplayin = false; if (_root.gamequal != 'HIGH' && _root.gamequal != 'MEDIUM' && _root.gamequal != 'LOW') { _root.gamequal = 'LOW'; } _root._quality = _root.gamequal; } if (_root.curmap == 11 && _root.targ == 'gameplay') { gotoAndPlay('doors2'); } if (_root.curmap != 11 && _root.visited1 == 0 && _root.targ == 'ssel') { gotoAndPlay('doors'); } } frame 26 { _root.faderwork = false; gotoAndStop(2); } instance m01 of movieClip 601 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m01o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance b1 of movieClip 602 { onClipEvent (rollOver) { _root.m01o = true; } onClipEvent (rollOut) { _root.m01o = false; } onClipEvent (release) { _root.sgetsound0.setVolume(_root.soundvol); _root.wflash.play(); } onClipEvent (load) { function __f_keyDown(eventObj) { if (_root.sunclear == 0) { _root.sgetsound0.setVolume(_root.soundvol); _root.wflash.play(); } } this.addEventListener('keyDown', __f_keyDown); } } instance m02 of movieClip 604 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m02o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance b2 of movieClip 602 { onClipEvent (rollOver) { _root.m02o = true; } onClipEvent (rollOut) { _root.m02o = false; } onClipEvent (release) { _root.wflash.play(); } onClipEvent (load) { function __f_keyDown(eventObj) { if (_root.sunclear == 0) { _root.wflash.play(); } } this.addEventListener('keyDown', __f_keyDown); } } frame 34 { _root.unloadall(); _root.gotoAndStop(_root.targ); _root.paus = false; _root.paus2 = false; if (_root.sunclear != 1) { if (_root.targ == 'ending') { b1._x = 400; m01._x = 400; b1._y = 220; m01._y = 220; b2._y = 1000; m02._y = 1000; } if (_root.targ == 'restart') { b1._y = 1000; m01._y = 1000; b2._x = 400; m02._x = 400; b2._y = 220; m02._y = 220; } } stop(); } frame 35 { _root.resultsscreen = true; } frame 37 { if (_root.targ == 'restart') { gotoAndPlay('open'); _root.gotoAndStop('gameplay'); } } frame 45 { _root.faderwork = false; gotoAndStop(2); } frame 47 { _root.swelcome.start(0, 1); _root.playPSelSound = false; } frame 72 { stop(); } instance of movieClip 614 { onClipEvent (enterFrame) { if (_root.hovyes == true) { _xscale = _xscale + (110 - _xscale) / 10; } else { _xscale = _xscale + (100 - _xscale) / 10; } _yscale = _xscale; } } instance of movieClip 615 { onClipEvent (enterFrame) { if (_root.hovno == true) { _xscale = _xscale + (110 - _xscale) / 10; } else { _xscale = _xscale + (100 - _xscale) / 10; } _yscale = _xscale; } } frame 111 { _root.sdoor2.start(0, 1); } frame 144 { _root.sdoor1.start(0, 1); } frame 186 { _root.paus2 = false; } frame 201 { _root.faderwork = false; gotoAndStop(2); } frame 203 { _root.paus2 = true; _root.curmap = 11; _root.musicplayin = false; _root.showto.start(0, 1); _root.gotoAndStop('gameplay'); } frame 227 { _root.sdoor2.start(0, 1); } frame 260 { _root.sdoor1.start(0, 1); } frame 304 { _root.paus2 = false; } frame 317 { _root.faderwork = false; gotoAndStop(2); } instance of movieClip 614 { onClipEvent (enterFrame) { if (_root.hovyes == true) { _xscale = _xscale + (200 - _xscale) / 10; } else { _xscale = _xscale + (150 - _xscale) / 10; } _yscale = _xscale; } } instance of movieClip 615 { onClipEvent (enterFrame) { if (_root.hovno == true) { _xscale = _xscale + (200 - _xscale) / 10; } else { _xscale = _xscale + (150 - _xscale) / 10; } _yscale = _xscale; } } } instance wflash of movieClip 694 { onClipEvent (load) { this.swapDepths(15999); } } movieClip 696 { } instance v of movieClip 696 { onClipEvent (load) { this.svoice_training = new Sound(this); this.svoice_training.attachSound('voice_training'); this.svoice_training.setVolume(100); } } movieClip 698 { frame 1 { _root.goto = function (n) { if (n > 250000) { _root.sscore = -1; } _root.play(); }; } } instance musicbox of movieClip 698 { onClipEvent (load) { _root.musicplayin = false; } } movieClip 700 { } instance sunsound of movieClip 700 { onClipEvent (load) { function iSuS(s) { this['s' + s] = new Sound(this); this['s' + s].attachSound(s); } iSuS('sun'); } } frame 2 { function hurtChar(fkbx, fgrav, dmg, frecovmax, pos, priority) { if (_root.timeremain < 1) { ++_root.ach14[0]; } if (priority == undefined) { priority = 1; } cc = char._currentframe; if (cc != 15 && cc != 14 && invin < priority) { if (dmg > 9000 || cc != 1 && cc != 2 && cc != 4 && cc != 5 && cc != 7 && cc != 8 && cc != 10 && cc != 11) { kbx = -fkbx; grav = -fgrav; char._y -= 10; attack = true; if (frecovmax != undefined) { recovmax = frecovmax; } else { recovmax = 3; } recov = 0; char.gotoAndStop(15); } else { attack = true; char.gotoAndStop('hurtG'); } if (dmg != 0) { invin = 40; } if (pos > char._x) { char._xscale = -ix; } else { char._xscale = ix; } alphathing = 1; alphatimer = 0; if (!_root.meteormode && _root.curmap != 9 || multiplayer && _root.curmap == 9) { _root.score /= 2; n = 0; while (n < 10) { if (_root.laststars[n] != 0) { asshole = random(2); _root.attachMovie('star', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = char._x; _root['particle' + _root.p]._y = char._y - char._height * 0.5; _root['particle' + _root.p].xspd = random(15) - 7; _root['particle' + _root.p].grav = (random(10) + 5) * -1; _root['particle' + _root.p].counted = false; _root['particle' + _root.p].color = laststars[n]; _root['particle' + _root.p].falling = true; if (asshole == 1) { _root['particle' + _root.p].ctimer = 40; _root['particle' + _root.p].d = 20; } else { _root['particle' + _root.p].ctimer = 20; } ++_root.p; } ++n; } _root.laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } } i = 0; g = 5000; b = 4000; e = 3000; h = 2000; p = 1000; createEmptyMovieClip('explosions', 3000); numexp = 0; wtimer = 20; _root.getsounds = [0, 0, 0, 0, 0, 0]; _root.soundDelay = 2; onEnterFrame = function () { if (warp) { --wtimer; if (wtimer < 1) { wtimer = 20; warp = false; } } if (i > 999) { i = 0; } if (p > 1999) { p = 1000; } if (h > 2999) { h = 2000; } if (e > 3999) { e = 3000; } if (b > 4999) { b = 4000; } if (g > 5999) { g = 5000; } }; exit = 0; attack = false; grav = 0; xmo = 0; knockback = 0; speed = 5; runspeed = 5; dashspeed = 8; dashing = false; lhold = false; rhold = false; invin = 0; triptime = 0; airspeed = 6.5; decel = 2; accel = 3; airaccel = 10; airdecel = 1.2; rundecel = 2; coins = 0; recov = 0; health = 0; lives = 4; level = 1; paus = false; paus2 = false; runtime = 0; alphathing = 1; alphatimer = 0; spintimer = 0; fftimer = 0; doublejump = 1; landed = false; pleaseunload = false; curchar = 0; multiplayer = false; t21t = 0; startimer = 20; despawntime = 90; laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; scores = [0, 5, 10, 20, 50, 100, 25]; score = 0; dscore = 0; numstars = 0; maxstars = 15; crystalrate = 15; crystaltimer = crystalrate; crystalcolors = [1]; rockrate = 7; rocktimer = rockrate; rocktraining = false; rocks = false; ccrystal = 0; starcode = function () { if (!paus && !paus2) { if (curmap == 6) { despawntime = 150; } else { despawntime = 90; } --startimer; if (startimer < 1 && numstars < maxstars) { if (curmap == 2 || _root.rocktraining == true) { rocks = true; } else { rocks = false; } if (rocktimer < 1 && rocks) { attachMovie('rock', 'particle' + b, b); _root['particle' + b]._x = Math.random() * 800; _root['particle' + b]._y = -100; ++numstars; ++b; rocktimer = rockrate; startimer = spawnrate; --crystaltimer; } else { if (crystaltimer > 1) { attachMovie('star', 'particle' + p, p); _root['particle' + p]._x = Math.random() * 800; _root['particle' + p]._y = -100; ++numstars; ++p; startimer = spawnrate; if (rocks) { --rocktimer; } if (!meteormode) { --crystaltimer; } } else { attachMovie('crystal', 'particle' + p, p); _root['particle' + p]._x = Math.random() * 800; _root['particle' + p]._y = -100; _root['particle' + p].color = crystalcolors[ccrystal]; if (ccrystal == crystalcolors.length - 1) { ccrystal = 0; } else { ++ccrystal; } ++numstars; ++p; startimer = spawnrate; crystaltimer = crystalrate; if (rocks) { --rocktimer; } } } } } }; slidebonus = 1; slidecaught = 0; heightbonus = 1; playercode = function () { dir = char._xscale / Math.abs(char._xscale); if (_root.timeremain > 0 || curmap == 9 && !multiplayer) { if (!multiplayer && Key.isDown(37) || multiplayer && Key.isDown(37) || !multiplayer && Key.isDown(65)) { kLeft = true; } else { kLeft = false; } if (!multiplayer && Key.isDown(40) || multiplayer && Key.isDown(40) || !multiplayer && Key.isDown(83)) { kDown = true; } else { kDown = false; } if (!multiplayer && Key.isDown(38) || multiplayer && Key.isDown(38) || !multiplayer && Key.isDown(87)) { kUp = true; } else { kUp = false; } if (!multiplayer && Key.isDown(39) || multiplayer && Key.isDown(39) || !multiplayer && Key.isDown(68)) { kRight = true; } else { kRight = false; } if (!multiplayer && Key.isDown(32) || multiplayer && Key.isDown(32) || !multiplayer && Key.isDown(88)) { kick = true; } else { kick = false; } eslid = false; } else { kDown = false; kUp = false; kick = false; if (!multiplayer && Key.isDown(40) && eslid == false || multiplayer && Key.isDown(40) && eslid == false || !multiplayer && Key.isDown(83) && eslid == false) { kDown = true; eslid = true; } if (curmap == 10) { home1l = -180; home1r = -140; home2l = 940; home2r = 980; } else { home1l = 140; home1r = 180; home2l = 620; home2r = 660; } if (char._x > home1r) { kLeft = true; kRight = false; } else { if (char._x < home1l) { kRight = true; kLeft = false; } else { if (char._currentframe < 14 && !attack && char._y > 384) { if (_root.curmap != 10) { kLeft = false; kRight = false; attack = true; intro.gotoAndPlay('ending'); } else { _root.resultsscreen = true; _root.ended = true; } char._y = -99999; char._x = -99999; shadow._x = -99999; if (score > 0) { _root.attachMovie('bonus', 'particle' + i, i + 10000); _root['particle' + i]._x = 150; _root['particle' + i]._y = 170; _root['particle' + i].gotoAndStop(7); _root['particle' + i]._yscale = 0; ++i; dscore += score; score = 0; _root.laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } } } } } if (!paus && !paus2) { starcode(); if (char._currentframe != 12 && char._currentframe != 5 && ground.hitTest(char._x, char._y + 4, true)) { } if (char._y < 100) { heightbonus = 4; } else { if (char._y >= 100 && char._y < 200) { heightbonus = 3; } else { if (char._y >= 200 && char._y < 300) { heightbonus = 2; } else { heightbonus = 1; } } } if (!multiplayer || multiplayer && t21t < 1) { attachMovie('trail2', 'trail' + i, i); _root['trail' + i]._x = char._x; _root['trail' + i]._y = char._y - char._height / 2; _root['trail' + i].color = 10; ++i; t21t = 3; } else { --t21t; } if (invin > 1 && char._currentframe != 15 && char._currentframe != 14) { char._alpha = 100 * alphathing; --alphatimer; if (alphatimer < 1) { alphathing *= -1; alphatimer = 2; } } else { char._alpha = 100; } if (char._currentframe != 15 && char._currentframe != 14) { --invin; } if (ground.hitTest(char._x, char._y + 6, true) || ground.hitTest(char._x - 17, char._y + 6, true) || ground.hitTest(char._x + 17, char._y + 6, true)) { if (landed == false && char._currentframe == 1 && grav > -0.01) { landed = true; } if (landed == false && char._currentframe != 1 && grav > -0.01) { landed = true; if (_root.curmap == 6) { _root.slandb.start(0, 1); } else { _root.slanda.start(0, 1); } } ffell = false; djumped = false; peaked = false; _root.ach20[0] = 0; cury = char._y; if (!kUp) { uhold = false; } if (dashing) { speed = dashspeed; } else { speed = runspeed; } decel = rundecel; if (attack && char._currentframe != 9) { forcedecel = true; } else { forcedecel = false; } if (kRight && !rhold) { if (curmap != 6) { dashing = true; } else { dashing = false; } } if (kLeft && !lhold) { if (curmap != 6) { dashing = true; } else { dashing = false; } } if (kick && !attack) { attack = true; char.gotoAndStop('kick'); } if (char._currentframe == 2 && char.anim._currentframe > 2 && !dhold) { if (kDown || kick) { attack = true; if (_root.levels.curvoiceclip == 10) { ++_root.levels.tslid; } char.gotoAndStop('slide'); if (_root.curmap == 6) { _root.sslideb.start(0, 1); } else { _root.sslidea.start(0, 1); } dhold = true; _root.slide.play; } } if (!kLeft) { lhold = false; } if (!kRight) { rhold = false; } if (!kDown && !kick) { dhold = false; } if (!kLeft && !kRight) { dashing = false; } if (!forcedecel) { if (char._currentframe != 5 && char._currentframe != 10) { if (kRight) { if (xmo < speed) { xmo += speed / accel; } } if (kLeft) { if (xmo > -speed) { xmo -= speed / accel; } } } } if (char._currentframe == 2 && char.anim._currentframe > 5 && char.anim._currentframe < 40) { if (dashing) { char.anim.gotoAndPlay('dash'); } } if (char._currentframe == 3 && char.anim._currentframe > 7 && char.anim._currentframe < 95 && grav > -0.01) { attack = true; char.gotoAndStop('land'); } if (attack && char._currentframe != 9) { forcedecel = true; } else { forcedecel = false; } if (forcedecel || kLeft && kRight || !kLeft && !kRight) { xmo /= decel; if (Math.abs(xmo) < 0.6) { xmo = 0; } } if (xmo > speed || xmo < -speed) { xmo /= 1.025; } if (char._currentframe < 3 || char._currentframe == 4 || char._currentframe == 10) { if (kUp && landed && !uhold) { spinlanded = false; attack = true; if (_root.levels.curvoiceclip == 20) { ++_root.levels.tjump; } if (_root.levels.curvoiceclip == 43) { ++_root.levels.tjump2; } if (_root.curmap == 6) { _root.sjumpb.start(0, 1); } else { _root.sjumpa.start(0, 1); } shorthopped = false; shorthoptimer = shorthoptime; if (char._currentframe != 12) { char.gotoAndStop(3); } uhold = true; } } if (char._currentframe == 15 && char.anim._currentframe < 36) { char.anim.gotoAndPlay('land'); } } else { if (char._currentframe == 15 && char.anim._currentframe < 36) { xmo = 0; char._x += kbx * (char._xscale / Math.abs(char._xscale)); if (kUp && health > -1 && char._currentframe == 15 && !uhold) { ++recov; if (recov > recovmax) { grav = -jump2height; xmo = 0; attack = false; char.gotoAndStop(3); char.anim.gotoAndPlay('2ndjump'); uhold = true; } } } if (doublejump == 1 && kUp && !djumped && !uhold) { cc = char._currentframe; cac = char.anim._currentframe; if (!attack || attack && cc == 18 && cac > 10 && cac < 46) { grav = -jump2height; xmo = 0; char.gotoAndStop(3); char.anim.gotoAndPlay('2ndjump'); uhold = true; djumped = true; if (_root.levels.tjump && _root.levels.curvoiceclip == 20) { ++_root.levels.tjump; } if (_root.levels.tjump2 && _root.levels.curvoiceclip == 43) { ++_root.levels.tjump2; } } } if (grav > 2 && cury < char._y) { cury = char._y; } if (kRight) { if (xmo < airspeed) { xmo += airspeed / airaccel; } } if (kLeft) { if (xmo > -airspeed) { xmo -= airspeed / airaccel; } } if (kLeft && kRight || !kLeft && !kRight) { xmo /= airdecel; } if (xmo > airspeed || xmo < -airspeed) { xmo /= 1.2; } if (char._currentframe != 3 && !attack && char._currentframe != 12) { char.gotoAndStop(3); } if (kick && !attack) { attack = true; char.gotoAndStop('nair'); } landed = false; } char.anim.play(); char.anim.anim.play(); if (char._currentframe == 1 || char._currentframe == 10 && !attack) { runtime = 0; triptime = 0; if (kLeft && !kRight) { if (char._xscale == -ix) { attack = true; char.gotoAndStop('turnstop'); char._xscale = ix; sturn.start(0, 1); } } if (kRight && !kLeft) { if (char._xscale == ix) { attack = true; char.gotoAndStop('turnstop'); char._xscale = -ix; sturn.start(0, 1); } } if (!attack) { if (kLeft && !kRight || kRight && !kLeft) { if (_root.levels.tran == 0 && _root.levels.curvoiceclip == 4) { ++_root.levels.tran; } char.gotoAndStop('run'); } } } if (char._currentframe == 2) { if (kLeft && !kRight) { if (xmo > -0.5) { if (triptime > 0) { triptime = 0; } --triptime; } } if (kRight && !kLeft) { if (xmo < 0.5) { if (triptime < 0) { triptime = 0; } ++triptime; } } if (Math.abs(triptime) > 10) { triptime = 0; attack = true; char.gotoAndStop('landHurt'); char.anim.invin = 0; } if (kLeft || kRight) { ++runtime; } if (!kLeft && !kRight || kLeft && kRight) { if (runtime > 5) { char.gotoAndStop('runstop'); } else { char.gotoAndStop('idle'); } } } if (char._currentframe < 3 || char._currentframe == 4) { if (kDown && !dashing || roofs.hitTest(char._x, char._y - 50, true)) { attack = true; char.gotoAndStop('laydown'); if (char._x > 10 && char._x < 200 && score > 0 && curmap != 7) { if (curmap < 9 || curmap == 9 && multiplayer || curmap == 11) { if (_root.levels.curvoiceclip == 33) { ++_root.levels.tdeposit; } _root.attachMovie('bonus', 'particle' + i, i + 10000); _root['particle' + i]._x = 150; _root['particle' + i]._y = 170; _root['particle' + i].gotoAndStop(7); _root['particle' + i]._yscale = 0; ++i; dscore += score; score = 0; if (_root.intro.a.b._currentframe == 1) { _root.intro.a.b.play(); } if (_root.curmap == 11 && _root.levels.eagle._currentframe == 1) { _root.levels.eagle.play(); } _root.laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } _root.sdeposit.start(0, 1); } } } if (kLeft) { if (char._xscale == -ix && char._currentframe == 2) { char.anim.gotoAndPlay('turn'); char._xscale = ix; } } if (kRight) { if (char._xscale == ix && char._currentframe == 2) { char.anim.gotoAndPlay('turn'); char._xscale = -ix; } } } if (char._currentframe == 5) { if (!kDown && !roofs.hitTest(char._x, char._y - 48, true) && !walls.hitTest(char._x, char._y - 48, true)) { attack = true; char.gotoAndStop('getup'); } } if (!ground.hitTest(char._x, char._y + 2, true) && !ground.hitTest(char._x - 17, char._y + 2, true) && !ground.hitTest(char._x + 17, char._y + 2, true) || grav < -0.01) { if (grav < maxfall && fftimer < 0) { grav += fallspd; if (kDown && char.anim._currentframe > 12) { grav += (maxfall - grav) / 3; if (!ffell && char._currentframe == 3) { sfastfall.start(0, 1); ffell = true; } } } --fftimer; --shorthoptimer; char._y += grav; } if (!kUp) { uhold = false; } char._x += xmo; if (char._currentframe != 35) { for (;;) { if (!(walls.hitTest(char._x + wid, char._y - hei / 3, true) || walls.hitTest(char._x + wid, char._y - hei / 1.6, true))) break; --char._x; } for (;;) { if (!(walls.hitTest(char._x - wid, char._y - hei / 3, true) || walls.hitTest(char._x - wid, char._y - hei / 1.6, true))) break; ++char._x; } while (roofs.hitTest(char._x, char._y - hei, true)) { ++char._y; if (grav < 3) { grav = 3; } } } for (;;) { if (!(ground.hitTest(char._x, char._y, true) || ground.hitTest(char._x - 17, char._y, true) || ground.hitTest(char._x + 17, char._y, true))) break; if (grav > -0.01) { grav = 0; char._y -= fallspd; } else { break; } } if (char._currentframe != 3 && char._currentframe != 12) { sliding = false; } } else { char._alpha = 100; char.anim.stop(); char.anim.anim.stop(); } }; } frame 2 { gotoAndStop('logo'); } frame 2 { function hurtChar2(fkbx2, fgrav2, dmg2, frecovmax2, pos2, priority2) { if (_root.timeremain < 1) { ++_root.ach14[1]; } if (priority2 == undefined) { priority2 = 1; } cc2 = char2._currentframe; if (cc2 != 15 && cc2 != 14 && invin2 < priority2) { if (cc2 != 1 && cc2 != 2 && cc2 != 4 && cc2 != 5 && cc2 != 7 && cc2 != 8 && cc2 != 10 && cc2 != 11) { kbx2 = -fkbx2; grav2 = -fgrav2; char2._y -= 10; attack2 = true; if (frecovmax2 != undefined) { recovmax2 = frecovmax2; } else { recovmax2 = 3; } recov2 = 0; char2.gotoAndStop(15); } else { attack2 = true; char2.gotoAndStop('hurtG'); } if (dmg2 != 0) { invin2 = 40; } if (pos2 > char2._x) { char2._xscale = -ix; } else { char2._xscale = ix; } alphathing2 = 1; alphatimer2 = 0; if (!_root.meteormode) { _root.score2 /= 2; n = 0; while (n < 10) { if (_root.laststars2[n] != 0) { asshole = random(2); _root.attachMovie('star', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char2._x; _root['particle' + _root.p]._y = _root.char2._y - _root.char2._height * 0.5; _root['particle' + _root.p].xspd = random(15) - 7; _root['particle' + _root.p].grav = (random(10) + 5) * -1; _root['particle' + _root.p].counted = false; _root['particle' + _root.p].color = _root.laststars2[n]; _root['particle' + _root.p].falling = true; if (asshole == 1) { _root['particle' + _root.p].ctimer = 40; _root['particle' + _root.p].d = 20; } else { _root['particle' + _root.p].ctimer = 20; } ++_root.p; } ++n; } _root.laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } } t22t = 0; attack2 = false; grav2 = 0; xmo2 = 0; knockback2 = 0; dashing2 = false; lhold2 = false; rhold2 = false; invin2 = 0; triptime2 = 0; recov2 = 0; runtime2 = 0; alphathing2 = 1; alphatimer2 = 0; fftimer2 = 0; landed2 = false; laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; score2 = 0; dscore2 = 0; slidebonus2 = 1; slidecaught2 = 0; heightbonus2 = 1; player2code = function () { if (!multiplayer && curchar == 1) { starcode(); } dir2 = char2._xscale / Math.abs(char2._xscale); if (_root.timeremain > 0) { if (!multiplayer && Key.isDown(37) || !multiplayer && Key.isDown(65) || multiplayer && Key.isDown(65)) { kLeft2 = true; } else { kLeft2 = false; } if (!multiplayer && Key.isDown(40) || !multiplayer && Key.isDown(83) || multiplayer && Key.isDown(83)) { kDown2 = true; } else { kDown2 = false; } if (!multiplayer && Key.isDown(38) || !multiplayer && Key.isDown(87) || multiplayer && Key.isDown(87)) { kUp2 = true; } else { kUp2 = false; } if (!multiplayer && Key.isDown(39) || !multiplayer && Key.isDown(68) || multiplayer && Key.isDown(68)) { kRight2 = true; } else { kRight2 = false; } if (!multiplayer && Key.isDown(32) || !multiplayer && Key.isDown(88) || multiplayer && Key.isDown(88)) { kick2 = true; } else { kick2 = false; } eslid2 = false; } else { kDown2 = false; kUp2 = false; kick2 = false; if (!multiplayer && Key.isDown(40) && eslid2 == false || !multiplayer && Key.isDown(83) && eslid2 == false || multiplayer && Key.isDown(83) && eslid2 == false) { kDown2 = true; eslid2 = true; } if (curmap == 10) { home1l = -180; home1r = -140; home2l = 940; home2r = 980; } else { home1l = 140; home1r = 180; home2l = 620; home2r = 660; } if (char2._x > home2r) { kLeft2 = true; kRight2 = false; } else { if (char2._x < home2l) { kRight2 = true; kLeft2 = false; } else { if (char2._currentframe < 14 && !attack2 && char2._y > 384) { if (_root.curmap != 10) { kLeft2 = false; kRight2 = false; attack2 = true; intro2.gotoAndPlay('ending'); } else { _root.resultsscreen = true; _root.ended = true; } char2._y = -99999; char2._x = -99999; shadow2._x = -99999; if (score2 > 0) { _root.attachMovie('bonus2', 'particle' + i, i + 10000); _root['particle' + i]._x = 650; _root['particle' + i]._y = 170; _root['particle' + i].gotoAndStop(7); _root['particle' + i]._yscale = 0; ++i; dscore2 += score2; score2 = 0; _root.laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } _root.sdeposit.start(0, 1); } } } } } if (!paus && !paus2) { if (char2._currentframe != 12 && char2._currentframe != 5 && ground.hitTest(char2._x, char2._y + 4, true)) { } if (char2._y < 100) { heightbonus2 = 4; } else { if (char2._y >= 100 && char2._y < 200) { heightbonus2 = 3; } else { if (char2._y >= 200 && char2._y < 300) { heightbonus2 = 2; } else { heightbonus2 = 1; } } } if (!multiplayer || multiplayer && t22t < 1) { attachMovie('trail3', 'trail' + i, i); _root['trail' + i]._x = char2._x; _root['trail' + i]._y = char2._y - char2._height / 2; _root['trail' + i].color = 10; ++i; t22t = 3; } else { --t22t; } if (invin2 > 1 && char2._currentframe != 15 && char2._currentframe != 14) { char2._alpha = 100 * alphathing2; --alphatimer2; if (alphatimer2 < 1) { alphathing2 *= -1; alphatimer2 = 2; } } else { char2._alpha = 100; } if (char2._currentframe != 15 && char2._currentframe != 14) { --invin2; } if (ground.hitTest(char2._x, char2._y + 6, true) || ground.hitTest(char2._x - 17, char2._y + 6, true) || ground.hitTest(char2._x + 17, char2._y + 6, true)) { if (landed2 == false && char2._currentframe == 1 && grav2 > -0.01) { landed2 = true; } if (landed2 == false && char2._currentframe != 1 && grav2 > -0.01) { landed2 = true; if (_root.curmap == 6) { _root.slandb.start(0, 1); } else { _root.slanda.start(0, 1); } } ffell2 = false; djumped2 = false; peaked2 = false; _root.ach20[1] = 0; cury2 = char2._y; if (!kUp2) { uhold2 = false; } if (dashing2) { speed2 = dashspeed; } else { speed2 = runspeed; } decel2 = rundecel; if (attack2 && char2._currentframe != 9) { forcedecel2 = true; } else { forcedecel2 = false; } if (kRight2 && !rhold2) { if (curmap != 6) { dashing2 = true; } else { dashing2 = false; } } if (kLeft2 && !lhold2) { if (curmap != 6) { dashing2 = true; } else { dashing2 = false; } } if (kick2 && !attack2) { attack2 = true; char2.gotoAndStop('kick'); } if (char2._currentframe == 2 && char2.anim._currentframe > 2 && !dhold2) { if (kDown2 || kick2) { attack2 = true; char2.gotoAndStop('slide'); if (_root.curmap == 6) { _root.sslideb.start(0, 1); } else { _root.sslidea.start(0, 1); } dhold2 = true; } } if (!kLeft2) { lhold2 = false; } if (!kRight2) { rhold2 = false; } if (!kDown2 && !kick2) { dhold2 = false; } if (!kLeft2 && !kRight2) { dashing2 = false; } if (!forcedecel2) { if (char2._currentframe != 5 && char2._currentframe != 10) { if (kRight2) { if (xmo2 < speed2) { xmo2 += speed2 / accel; } } if (kLeft2) { if (xmo2 > -speed2) { xmo2 -= speed2 / accel; } } } } if (char2._currentframe == 2 && char2.anim._currentframe > 5 && char2.anim._currentframe < 40) { if (dashing2) { char2.anim.gotoAndPlay('dash'); } } if (char2._currentframe == 3 && char2.anim._currentframe > 7 && char2.anim._currentframe < 95 && grav2 > -0.01) { attack2 = true; char2.gotoAndStop('land'); } if (attack2 && char2._currentframe != 9) { forcedecel2 = true; } else { forcedecel2 = false; } if (forcedecel2 || kLeft2 && kRight2 || !kLeft2 && !kRight2) { xmo2 /= decel2; if (Math.abs(xmo2) < 0.6) { xmo2 = 0; } } if (xmo2 > speed2 || xmo2 < -speed2) { xmo2 /= 1.025; } if (char2._currentframe < 3 || char2._currentframe == 4 || char2._currentframe == 10) { if (kUp2 && landed2 && !uhold2) { spinlanded2 = false; attack2 = true; if (_root.curmap == 6) { _root.sjumpb.start(0, 1); } else { _root.sjumpa.start(0, 1); } shorthopped2 = false; shorthoptimer2 = shorthoptime; if (char2._currentframe != 12) { char2.gotoAndStop(3); } uhold2 = true; } } if (char2._currentframe == 15 && char2.anim._currentframe < 36) { char2.anim.gotoAndPlay('land'); } } else { if (char2._currentframe == 15 && char2.anim._currentframe < 36) { xmo2 = 0; char2._x += kbx2 * (char2._xscale / Math.abs(char2._xscale)); if (kUp2 && char2._currentframe == 15 && !uhold2) { ++recov; if (recov2 > recovmax2) { grav2 = -jump2height; xmo2 = 0; attack2 = false; char2.gotoAndStop(3); char2.anim.gotoAndPlay('2ndjump'); uhold2 = true; } } } if (doublejump == 1 && kUp2 && !djumped2 && !uhold2) { cc2 = char2._currentframe; cac2 = char2.anim._currentframe; if (!attack2 || attack2 && cc2 == 18 && cac2 > 10 && cac2 < 46) { grav2 = -jump2height; xmo2 = 0; char2.gotoAndStop(3); char2.anim.gotoAndPlay('2ndjump'); uhold2 = true; djumped2 = true; } } if (grav2 > 2 && cury2 < char2._y) { cury2 = char2._y; } if (kRight2) { if (xmo2 < airspeed) { xmo2 += airspeed / airaccel; } } if (kLeft2) { if (xmo2 > -airspeed) { xmo2 -= airspeed / airaccel; } } if (kLeft2 && kRight2 || !kLeft2 && !kRight2) { xmo2 /= airdecel; } if (xmo2 > airspeed || xmo2 < -airspeed) { xmo2 /= 1.2; } if (char2._currentframe != 3 && !attack2 && char2._currentframe != 12) { char2.gotoAndStop(3); } if (kick2 && !attack2) { attack2 = true; char2.gotoAndStop('nair'); } landed2 = false; } char2.anim.play(); char2.anim.anim.play(); if (char2._currentframe == 1 || char2._currentframe == 10 && !attack2) { runtime2 = 0; triptime2 = 0; if (kLeft2 && !kRight2) { if (char2._xscale == -ix) { attack2 = true; char2.gotoAndStop('turnstop'); char2._xscale = ix; sturn.start(0, 1); } } if (kRight2 && !kLeft2) { if (char2._xscale == ix) { attack2 = true; char2.gotoAndStop('turnstop'); char2._xscale = -ix; sturn.start(0, 1); } } if (!attack2) { if (kLeft2 && !kRight2 || kRight2 && !kLeft2) { char2.gotoAndStop('run'); } } } if (char2._currentframe == 2) { if (kLeft2 && !kRight2) { if (xmo2 > -0.5) { if (triptime2 > 0) { triptime2 = 0; } --triptime2; } } if (kRight2 && !kLeft2) { if (xmo2 < 0.5) { if (triptime2 < 0) { triptime2 = 0; } ++triptime2; } } if (Math.abs(triptime2) > 10) { triptime2 = 0; attack2 = true; char2.gotoAndStop('landHurt'); char2.anim.invin = 0; } if (kLeft2 || kRight2) { ++runtime2; } if (!kLeft2 && !kRight2 || kLeft2 && kRight2) { if (runtime2 > 5) { char2.gotoAndStop('runstop'); } else { char2.gotoAndStop('idle'); } } } if (char2._currentframe < 3 || char2._currentframe == 4) { if (kDown2 && !dashing2 || roofs.hitTest(char2._x, char2._y - 50, true)) { attack2 = true; char2.gotoAndStop('laydown'); if (char2._x > 600 && char2._x < 790 && score2 > 0 && curmap != 7 && curmap < 10) { _root.attachMovie('bonus', 'particle' + i, i + 10000); _root['particle' + i]._x = 650; _root['particle' + i]._y = 170; _root['particle' + i].gotoAndStop(7); _root['particle' + i]._yscale = 0; ++i; dscore2 += score2; score2 = 0; if (_root.intro2.a.b._currentframe == 1) { _root.intro2.a.b.play(); } _root.laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } _root.sdeposit.start(0, 1); } } if (kLeft2) { if (char2._xscale == -ix && char2._currentframe == 2) { char2.anim.gotoAndPlay('turn'); char2._xscale = ix; } } if (kRight2) { if (char2._xscale == ix && char2._currentframe == 2) { char2.anim.gotoAndPlay('turn'); char2._xscale = -ix; } } } if (char2._currentframe == 5) { if (!kDown2 && !roofs.hitTest(char2._x, char2._y - 48, true) && !walls.hitTest(char2._x, char2._y - 48, true)) { attack2 = true; char2.gotoAndStop('getup'); } } if (!ground.hitTest(char2._x, char2._y, true) && !ground.hitTest(char2._x - 17, char2._y, true) && !ground.hitTest(char2._x + 17, char2._y, true) || grav2 < -0.01) { if (grav2 < maxfall && fftimer2 < 0) { grav2 += fallspd; if (kDown2 && char2.anim._currentframe > 12) { grav2 += (maxfall - grav2) / 3; if (ffell2 && char2._currentframe == 3) { sfastfall.start(0, 1); ffell2 = true; } } } --fftimer2; --shorthoptimer2; char2._y += grav2; } if (!kUp2) { uhold2 = false; } char2._x += xmo2; if (char2._currentframe != 35) { for (;;) { if (!(walls.hitTest(char2._x + wid, char2._y - hei / 3, true) || walls.hitTest(char2._x + wid, char2._y - hei / 1.6, true))) break; --char2._x; } for (;;) { if (!(walls.hitTest(char2._x - wid, char2._y - hei / 3, true) || walls.hitTest(char2._x - wid, char2._y - hei / 1.6, true))) break; ++char2._x; } while (roofs.hitTest(char2._x, char2._y - hei, true)) { ++char2._y; if (grav2 < 3) { grav2 = 3; } } } for (;;) { if (!(ground.hitTest(char2._x, char2._y, true) || ground.hitTest(char2._x - 17, char2._y, true) || ground.hitTest(char2._x + 17, char2._y, true))) break; if (grav2 > -0.01) { grav2 = 0; char2._y -= fallspd; } else { break; } } if (char2._currentframe != 3 && char2._currentframe != 12) { sliding2 = false; } } else { char2._alpha = 100; char2.anim.stop(); char2.anim.anim.stop(); } }; } frame 2 { } movieClip 3802 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 3803 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '4.1.2 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { mochi.as2.MochiServices.onError('NotConnected'); return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.onLoadComplete = function (target_mc) { target_mc.MochiServices = mochi.as2.MochiServices; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError('IOError'); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError(errorCode); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'services': mochi.as2.MochiServices.triggerEvent(pkg.event, pkg.args); break; case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args); break; case 'social': mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError('IOError'); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError('NotConnected'); } if (args.options != null && args.options.onError != null) { args.options.onError('NotConnected'); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; var v6; if (_root._url.indexOf('mochiad_options') != -1) { var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1; v6 = _root._url.substr(v2, _root._url.length); } else { if (_root.mochiad_options) { v6 = _root.mochiad_options; } } if (v6) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': break; case 'b': case 'c': case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://link.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiServices._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiServices._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.CONNECTED = 'onConnected'; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 3804 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.getAchievements = function (properties) { mochi.as2.MochiServices.send('events_getAchievements', properties); }; v1.unlockAchievement = function (properties) { mochi.as2.MochiServices.send('events_unlockAchievement', properties); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.showAwards = function (options) { mochi.as2.MochiServices.send('events_showAwards', options, null, null); }; v1.setNotifications = function (style) { mochi.as2.MochiServices.send('events_setNotifications', style, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startPlay = function (tag) { if (tag == undefined) { tag = 'gameplay'; } mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null); }; v1.endPlay = function () { mochi.as2.MochiServices.send('events_clearRoundID', null, null, null); }; v1.trackEvent = function (tag, value) { mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null); }; v1.ACHIEVEMENTS_OWNED = 'AchievementOwned'; v1.ACHIEVEMENT_NEW = 'AchievementReceived'; v1.GAME_ACHIEVEMENTS = 'GameAchievements'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.IO_PENDING = 'IOPending'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1.FORMAT_NONE = 'NoForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 3805 __Packages.mochi.as2.MochiCoins { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiCoins) { var v1 = function () {}; mochi.as2.MochiCoins = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showStore = function (options) { mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null); }; v1.showItem = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showItem call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null); }; v1.showVideo = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showVideo call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null); }; v1.getStoreItems = function () { mochi.as2.MochiServices.send('coins_getStoreItems'); }; v1.requestFunding = function (properties) { mochi.as2.MochiServices.send('social_requestFunding', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate); }; v1.STORE_SHOW = 'StoreShow'; v1.STORE_HIDE = 'StoreHide'; v1.ITEM_OWNED = 'ItemOwned'; v1.ITEM_NEW = 'ItemNew'; v1.STORE_ITEMS = 'StoreItems'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1); } #endinitclip } movieClip 3806 __Packages.mochi.as2.MochiSocial { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSocial) { var v1 = function () {}; mochi.as2.MochiSocial = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('social_hideLoginWidget'); }; v1.requestLogin = function (properties) { mochi.as2.MochiServices.send('social_requestLogin', properties); }; v1.getFriendsList = function (properties) { mochi.as2.MochiServices.send('social_getFriendsList', properties); }; v1.showProfile = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('social_showProfile', options); }; v1.postToStream = function (properties) { mochi.as2.MochiServices.send('social_postToStream', properties); }; v1.inviteFriends = function (properties) { mochi.as2.MochiServices.send('social_inviteFriends', properties); }; v1.requestFan = function (properties) { mochi.as2.MochiServices.send('social_requestFan', properties); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('social_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.LOGIN_SHOWN = 'LoginShown'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.FRIEND_LIST = 'FriendsList'; v1.PROFILE_DATA = 'ProfileData'; v1.GAMEPLAY_DATA = 'GameplayData'; v1.ACTION_CANCELED = 'onCancel'; v1.ACTION_COMPLETE = 'onComplete'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1); } #endinitclip } movieClip 3807 __Packages.mochi.as2.MochiScores { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiScores) { var v1 = function () {}; mochi.as2.MochiScores = v1; var v2 = v1.prototype; v1.setBoardID = function (boardID) { mochi.as2.MochiServices.warnID(boardID, true); mochi.as2.MochiScores.boardID = boardID; mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID}); }; v1.showLeaderboard = function (options) { options.clip = mochi.as2.MochiServices.clip; if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) { mochi.as2.MochiServices.disconnect(); trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!'); trace('make sure MochiServices.connect is called as early in the application runtime as possible.'); mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip); } delete options.clip; if (options.name != null) { if (typeof options.name == 'object') { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (options.score instanceof TextField) { if (options.score.text != undefined) { options.score = options.score.text; } } else { if (options.score instanceof mochi.as2.MochiDigits) { options.score = options.score.value; } } var v1 = Number(options.score); if (isNaN(v1)) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\''); } else { if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite'); } else { if (Math.floor(v1) != v1) { trace('WARNING: Submitted score \'' + options.score + '\' will be truncated'); } options.score = v1; } } } if (options.onDisplay != null) { options.onDisplay(); } else { (mochi.as2.MochiServices.__get__clip()).stop(); } if (options.onClose != null) { mochi.as2.MochiScores.onClose = options.onClose; } else { mochi.as2.MochiScores.onClose = function () { (mochi.as2.MochiServices.__get__clip()).play(); }; } if (options.onError != null) { mochi.as2.MochiScores.onError = options.onError; } else { mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose; } if (options.boardID == null) { if (mochi.as2.MochiScores.boardID != null) { options.boardID = mochi.as2.MochiScores.boardID; } } mochi.as2.MochiServices.warnID(options.boardID, true); trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal'); mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose); }; v1.closeLeaderboard = function () { mochi.as2.MochiServices.send('scores_closeLeaderboard'); }; v1.getPlayerInfo = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod); }; v1.submit = function (score, name, callbackObj, callbackMethod) { score = Number(score); if (isNaN(score)) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\''); } else { if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite'); } else { if (Math.floor(score) != score) { trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated'); } score = Number(score); } } mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod); }; v1.requestList = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod); }; v1.scoresArrayToObjects = function (scores) { var v5 = {}; var v1; var v4; var v2; var v6; for (var v8 in scores) { if (typeof scores[v8] == 'object') { if (scores[v8].cols != null && scores[v8].rows != null) { v5[v8] = []; v2 = scores[v8]; v4 = 0; while (v4 < v2.rows.length) { v6 = {}; v1 = 0; while (v1 < v2.cols.length) { v6[v2.cols[v1]] = v2.rows[v4][v1]; ++v1; } v5[v8].push(v6); ++v4; } } else { v5[v8] = {}; for (var v7 in scores[v8]) { v5[v8][v7] = scores[v8][v7]; } } } else { v5[v8] = scores[v8]; } } return v5; }; v1.doClose = function (args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = 'IOError'; } mochi.as2.MochiScores.onError.apply(null, [args.errorCode]); } else { mochi.as2.MochiScores.onClose.apply(); } }; ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1); } #endinitclip } movieClip 3808 __Packages.mochi.as2.MochiDigits { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiDigits) { var v1 = function (digit, index) { this.Encoder = 0; this.setValue(digit, index); }; mochi.as2.MochiDigits = v1; var v2 = v1.prototype; v2.__get__value = function () { return Number(this.toString()); }; v2.__set__value = function (v) { this.setValue(v); return this.__get__value(); }; v2.addValue = function (v) { this.value += v; }; v2.setValue = function (digit, index) { var v3 = digit.toString(); if (index == undefined || isNaN(index)) { index = 0; } this.Fragment = v3.charCodeAt(index++) ^ this.Encoder; if (index < v3.length) { this.Sibling = new mochi.as2.MochiDigits(digit, index); } else { this.Sibling = null; } this.reencode(); }; v2.reencode = function () { var v2 = int(2147483647 * Math.random()); this.Fragment ^= v2 ^ this.Encoder; this.Encoder = v2; }; v2.toString = function () { var v2 = String.fromCharCode(this.Fragment ^ this.Encoder); return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2; }; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1); } #endinitclip } frame 3 { function iS(s) { _root['s' + s] = new Sound(_root); _root['s' + s].attachSound(s); _root['s' + s].setVolume(_root.soundvol); _root.allsoundC.push('s' + s); } function onConnectError(status) {} iS('step1a'); iS('step2a'); iS('jumpa'); iS('landa'); iS('slidea'); iS('step1b'); iS('step2b'); iS('jumpb'); iS('landb'); iS('slideb'); iS('turn'); iS('flip'); iS('fastfall'); iS('rockkick'); iS('meteorbreak'); iS('meteorhit'); iS('meteorflamehit'); iS('meteorjump'); iS('meteorkick'); iS('meteorSpawn'); iS('gascloud'); iS('deposit'); iS('timer1'); iS('timer0'); i = 0; while (i < 6) { iS('rank' + i); ++i; } i = 1; while (i < 4) { iS('starf' + i); ++i; } iS('starlose'); iS('codecoff'); iS('codecon'); iS('welcome'); iS('selyeah'); iS('selno'); iS('alarm'); iS('ribbon'); iS('mercurymain'); iS('mercurybg'); iS('kickground'); iS('kickair'); iS('burn'); iS('hitbylight'); iS('surprise'); iS('door1'); iS('door2'); iS('hoverbuttons'); iS('clickbuttons'); iS('elegs'); iS('eland'); iS('eastroflip'); iS('edesc'); iS('aland'); iS('aflip'); iS('crouch1'); iS('crouch2'); iS('fall1'); iS('fall2'); iS('getup'); i = 1; while (i < 13) { iS('voice_' + i); ++i; } iS('voice_M1'); _root.voicevol = 1.3; i = 1; while (i < 13) { _root['svoice_' + i].setVolume(_root.soundvol * _root.voicevol); ++i; } _root.svoice_M1.setVolume(_root.soundvol * _root.voicevol); iS('cheer'); iS('neptune'); iS('psel'); iS('coop'); iS('shard'); iS('options'); iS('ribbonscreen'); iS('highscore'); iS('howto'); i = 1; while (i < 11) { iS('planetSel' + i); ++i; } mochi.as2.MochiServices.connect('f2824d12b0c2f06f', _root, onConnectError); } movieClip 702 { } movieClip 703 { } movieClip 704 { } movieClip 706 { } movieClip 708 { } movieClip 710 { } movieClip 712 { } movieClip 714 { } movieClip 716 { } movieClip 718 { } movieClip 720 { } movieClip 722 { } movieClip 724 { } movieClip 726 { } movieClip 728 { } movieClip 731 { } movieClip 735 { } movieClip 737 { } movieClip 739 { } movieClip 741 { } movieClip 743 { } movieClip 744 { } movieClip 745 { instance m of movieClip 744 { onClipEvent (load) { if (_root.curmap != 12) { gotoAndStop(_root['medal' + _root.curmap] + 1); } else { gotoAndStop(1); } } } } movieClip 748 { } movieClip 750 { } movieClip 752 { } movieClip 754 { } movieClip 756 { } movieClip 758 { } movieClip 759 { frame 68 { gotoAndPlay(1); } } movieClip 760 { frame 1 { if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } } frame 2 { if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } } frame 3 { if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 11 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } } frame 28 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep2b.start(0, 1); } else { _root.sstep2a.start(0, 1); } } frame 39 { gotoAndPlay('run'); } frame 42 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.3 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.3; ++_root.p; } frame 45 { gotoAndPlay('run'); } frame 50 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 8 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 52 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 16 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } } frame 60 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 8 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 62 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 16 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep2b.start(0, 1); } else { _root.sstep2a.start(0, 1); } } frame 66 { gotoAndPlay('dash'); } frame 68 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 71 { gotoAndPlay('dash'); } } movieClip 762 { } movieClip 763 { } movieClip 765 { } movieClip 766 { frame 1 { if (_parent.player2) { if (_root.sliding2) { gotoAndPlay('skb'); } } else { if (_root.sliding) { gotoAndPlay('skb'); } } } frame 2 { if (!_root.ground.hitTest(_parent._x, _parent._y + 6, true) && !_root.ground.hitTest(_parent._x + 17, _parent._y + 6, true) && !_root.ground.hitTest(_parent._x - 17, _parent._y + 6, true)) { gotoAndPlay('fall2'); } } frame 4 { gotoAndPlay(6); } frame 6 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } frame 7 { _parent._y -= 15; if (_parent.player2) { _root.attack2 = false; if (_root.kUp2) { _root.grav2 = -_root.jumpheight; } else { _root.grav2 = -_root.shorthopheight; } } else { _root.attack = false; if (_root.kUp) { _root.grav = -_root.jumpheight; } else { _root.grav = -_root.shorthopheight; } } } frame 48 { prevFrame(); } frame 50 { _root.sflip.start(0, 1); } frame 51 { if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } } frame 52 { if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } } frame 53 { if (Key.isDown(39)) { _parent._xscale = -_root.ix; } if (Key.isDown(37)) { _parent._xscale = _root.ix; } if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } } frame 54 { _root.attachMovie('rjump', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char._x; _root['particle' + _root.p]._y = _root.char._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } instance of movieClip 762 { onClipEvent (load) { if (_root.sliding) { _alpha = 0; } } } instance of movieClip 762 { onClipEvent (load) { if (!_root.sliding) { _alpha = 0; } } } frame 56 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } } frame 94 { prevFrame(); } frame 99 { if (_parent.player2) { _root.xmo2 = 15 * dir2; _root.grav2 = -_root.longjumpheight; } else { _root.xmo = 15 * dir; _root.grav = -_root.longjumpheight; } _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; gotoAndPlay(53); } } movieClip 767 { frame 3 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - -30 * (_root.char._xscale / Math.abs(_root.char._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= -0.4 * (_root.char._xscale / Math.abs(_root.char._xscale)); _root['particle' + _root.p]._yscale *= 0.4; ++_root.p; } frame 6 { _parent.gotoAndStop(1); } } movieClip 768 { frame 44 { gotoAndPlay('loop'); } } movieClip 769 { frame 2 { _root.scrouch1.start(0, 1); } frame 5 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop('crouch'); } } movieClip 770 { frame 2 { _root.scrouch2.start(0, 1); } frame 6 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop('idle'); } } movieClip 771 { frame 1 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } frame 5 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } } frame 7 { _parent.gotoAndStop(1); } } movieClip 772 { frame 5 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.3 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.3; ++_root.p; } frame 9 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 773 { frame 19 { if (_root.kDown && _root.timeremain > 1) { _parent.gotoAndStop('crouch'); } } frame 21 { if (_parent.player2) { _root.attack2 = false; if (_root.curmap == 6) { _root.dashing2 = false; } } else { _root.attack = false; if (_root.curmap == 6) { _root.dashing = false; } } _parent.gotoAndStop(2); } } movieClip 774 { frame 30 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 775 { frame 36 { gotoAndPlay(30); } frame 38 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char._x; _root['particle' + _root.p]._y = _root.char._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 1; _root['particle' + _root.p]._yscale *= 1; ++_root.p; } frame 39 { _root.fall1.start(0, 1); } frame 54 { _root.sgetup.start(0, 1); } frame 76 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 776 { frame 30 { _root.attack = false; _root.invin = 10; _parent.gotoAndStop(3); } } movieClip 777 { frame 4 { _root.fall2.start(0, 1); } frame 17 { _root.sgetup.start(0, 1); } frame 30 { if (_parent.player2) { _root.attack2 = false; if (invin2 != 0) { _root.invin2 = 20; } } else { _root.attack = false; if (invin != 0) { _root.invin = 20; } } _parent.gotoAndStop(1); } } movieClip 779 { } movieClip 780 { frame 3 { _root.skickair.start(0, 1); } frame 46 { gotoAndPlay('fall'); } frame 57 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 783 { } movieClip 789 { } movieClip 797 { frame 2 { _root.skickground.start(0, 1); } frame 17 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 836 { frame 2 { _root.shitbylight.start(0, 1); } frame 46 { if (_parent.player2) { _root.attack2 = false; if (invin2 != 0) { _root.invin2 = 20; } } else { _root.attack = false; if (invin != 0) { _root.invin = 20; } } _parent.gotoAndStop(1); } } movieClip 839 { } movieClip 846 { } movieClip 862 { frame 2 { _root.sburn.start(0, 1); } frame 55 { _root.wflash.gotoAndPlay('ending'); _root.sgetsound0.setVolume(0); if (_root.musicplayin) { music1.stop(); _root.musicplayin = false; music1 = new Sound(_root.musicbox); music1.attachSound('_silent'); _root.svolume = 80; music1.setVolume(_root.svolume); music1.start(0, 1); } music1.onSoundComplete = function () { music1.start(0, 1); }; if (_root.timeremain < 2) { _root.targ = 'ending'; } else { _root.targ = 'restart'; } } frame 63 { stop(); } } movieClip 863 { frame 1 { stop(); } instance anim of movieClip 760 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 766 { onClipEvent (enterFrame) { if (_root.curmap == 6) { _root.sliding = false; } if (!_root.paus && !_root.paus2) { dir = _root.char._xscale / Math.abs(_root.char._xscale); if (_root.sliding) { if (_currentframe > 95) { _root.char._x += 16 * dir; } else { _root.char._x += 6 * dir; } if (Key.isDown(37) || !Key.isDown(39)) { if (_root.char._xscale == -_root.ix) { _root.sliding = false; } } if (Key.isDown(39) || !Key.isDown(37)) { if (_root.char._xscale == _root.ix) { _root.sliding = false; } } } } } } instance anim of movieClip 767 { onClipEvent (enterFrame) { if (_currentframe > 4) { if (_root.char._xscale == -_root.ix && Key.isDown(37) && !Key.isDown(39)) { _parent.gotoAndStop(2); } if (_root.char._xscale == _root.ix && Key.isDown(39) && !Key.isDown(37)) { _parent.gotoAndStop(2); } } } } frame 10 { if (player2) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } else { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } ++_root.nplay; } frame 12 { if (player2) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } else { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } ++_root.nplay; } instance anim of movieClip 773 { onClipEvent (load) { ptimer = 0; boosted = false; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_parent.player2) { _root.dashing2 = true; } else { _root.dashing = true; } st = 3; en = 13; dir = _parent._xscale / Math.abs(_parent._xscale); if (_currentframe > st && _currentframe < en) { if (!boosted) { if (_parent.player2) { _root.xmo2 = 20 * dir; } else { _root.xmo = 20 * dir; } boosted = true; } if (_parent.player2) { xmo = _root.xmo2; } else { xmo = _root.xmo; } if (_root.curmap == 6 || _root.curmap == 10 && _parent._x > 134 && _parent._x < 226) { _parent._x += 7 * dir - xmo; } else { _parent._x += 25 * dir - xmo; } if (_root.kUp) { _root.uhold = true; _root.sliding = true; _root.sflip.start(0, 1); _parent.gotoAndStop(3); } --ptimer; if (ptimer < 1) { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; ptimer = 2; } } if (_currentframe <= st || _currentframe >= en) { if (_root.curmap == 6 || _root.curmap == 10 && _parent._x > 134 && _parent._x < 226) { _parent._x += 2 * dir; } else { _parent._x += 6 * dir; } } } } } instance anim of movieClip 776 { onClipEvent (enterFrame) { if (_parent.player2) { if (_root.landed2) { _parent.gotoAndStop('landHurt'); } } else { if (_root.landed) { _parent.gotoAndStop('landHurt'); } } } } frame 17 { ++_root.ufall; } instance anim of movieClip 780 { onClipEvent (enterFrame) { if (_parent.player2) { if (_root.landed2 && _currentframe < 46) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } gotoAndPlay('land'); } } else { if (_root.landed && _currentframe < 46) { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } gotoAndPlay('land'); } } } } frame 22 { if (player2) { _root.dscore2 += _root.score2; _root.score2 = 0; } else { _root.dscore += _root.score; _root.score = 0; } } } movieClip 866 { } movieClip 868 { } movieClip 870 { } movieClip 872 { } movieClip 874 { } movieClip 876 { } movieClip 878 { } movieClip 880 { } movieClip 882 { } movieClip 884 { } movieClip 886 { } movieClip 888 { } movieClip 890 { } movieClip 892 { } movieClip 896 { } movieClip 897 { } movieClip 898 { } movieClip 901 { } movieClip 903 { } movieClip 904 { } movieClip 905 { } movieClip 907 { } movieClip 908 { } movieClip 909 { } movieClip 910 { } movieClip 911 { } movieClip 912 { } movieClip 913 { } movieClip 918 { } movieClip 919 { } movieClip 921 { } movieClip 923 { } movieClip 925 { } movieClip 927 { } movieClip 928 { } movieClip 929 { frame 10 { this.removeMovieClip(); loadMovie('', this); } } movieClip 930 { frame 68 { gotoAndPlay(1); } } movieClip 931 { frame 1 { if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } } frame 2 { if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } } frame 3 { if (_parent.player2) { if (_root.dashing2) { gotoAndPlay('dashstart'); } } else { if (_root.dashing) { gotoAndPlay('dashstart'); } } _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 11 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } } frame 28 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep2b.start(0, 1); } else { _root.sstep2a.start(0, 1); } } frame 39 { gotoAndPlay('run'); } frame 42 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.3 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.3; ++_root.p; } frame 45 { gotoAndPlay('run'); } frame 50 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 8 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 52 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 16 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep1b.start(0, 1); } else { _root.sstep1a.start(0, 1); } } frame 60 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 8 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 62 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 16 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; if (_root.curmap == 6) { _root.sstep2b.start(0, 1); } else { _root.sstep2a.start(0, 1); } } frame 66 { gotoAndPlay('dash'); } frame 68 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 71 { gotoAndPlay('dash'); } } movieClip 932 { } movieClip 933 { } movieClip 934 { } movieClip 935 { frame 1 { if (_parent.player2) { if (_root.sliding2) { gotoAndPlay('skb'); } } else { if (_root.sliding) { gotoAndPlay('skb'); } } } frame 2 { if (!_root.ground.hitTest(_parent._x, _parent._y + 6, true) && !_root.ground.hitTest(_parent._x + 17, _parent._y + 6, true) && !_root.ground.hitTest(_parent._x - 17, _parent._y + 6, true)) { gotoAndPlay('fall2'); } } frame 4 { gotoAndPlay(6); } frame 6 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } frame 7 { _parent._y -= 15; if (_parent.player2) { _root.attack2 = false; if (_root.kUp2) { _root.grav2 = -_root.jumpheight; } else { _root.grav2 = -_root.shorthopheight; } } else { _root.attack = false; if (_root.kUp) { _root.grav = -_root.jumpheight; } else { _root.grav = -_root.shorthopheight; } } } frame 48 { prevFrame(); } frame 51 { if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } } frame 52 { if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } _root.sflip.start(0, 1); } frame 53 { if (_root.kRight2) { _parent._xscale = -_root.ix; } if (_root.kLeft2) { _parent._xscale = _root.ix; } if (_parent.player2) { _root.xmo2 = 0; } else { _root.xmo = 0; } } frame 54 { _root.attachMovie('rjump', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char._x; _root['particle' + _root.p]._y = _root.char._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } instance of movieClip 932 { onClipEvent (load) { if (_root.sliding2) { _alpha = 0; } } } instance of movieClip 932 { onClipEvent (load) { if (!_root.sliding2) { _alpha = 0; } } } frame 56 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } } frame 94 { prevFrame(); } frame 99 { if (_parent.player2) { _root.xmo2 = 15 * dir2; _root.grav2 = -_root.longjumpheight; } else { _root.xmo = 15 * dir; _root.grav = -_root.longjumpheight; } _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; gotoAndPlay(53); } } movieClip 936 { frame 3 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - -30 * (_root.char._xscale / Math.abs(_root.char._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= -0.4 * (_root.char._xscale / Math.abs(_root.char._xscale)); _root['particle' + _root.p]._yscale *= 0.4; ++_root.p; } frame 6 { _parent.gotoAndStop(1); } } movieClip 937 { frame 44 { gotoAndPlay('loop'); } } movieClip 938 { frame 3 { _root.scrouch1.start(0, 1); } frame 5 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop('crouch'); } } movieClip 939 { frame 2 { _root.scrouch2.start(0, 1); } frame 6 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop('idle'); } } movieClip 940 { frame 1 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x; _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 0.8; _root['particle' + _root.p]._yscale *= 0.8; ++_root.p; } frame 5 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } } frame 7 { _parent.gotoAndStop(1); } } movieClip 941 { frame 5 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.3 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.3; ++_root.p; } frame 9 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 942 { } movieClip 943 { } movieClip 944 { } movieClip 945 { } movieClip 946 { frame 19 { if (_root.kDown2 && _root.timeremain > 1) { _parent.gotoAndStop('crouch'); } } frame 21 { if (_parent.player2) { _root.attack2 = false; if (_root.curmap == 6) { _root.dashing2 = false; } } else { _root.attack = false; if (_root.curmap == 6) { _root.dashing = false; } } _parent.gotoAndStop(2); } } movieClip 947 { frame 30 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 948 { frame 36 { gotoAndPlay(30); } frame 38 { _root.fall2.start(0, 1); } frame 38 { _root.attachMovie('dland', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._parent._x; _root['particle' + _root.p]._y = _parent._parent._y; _root['particle' + _root.p]._xscale = 100 * (random(2) * 2 - 1); _root['particle' + _root.p]._xscale *= 1; _root['particle' + _root.p]._yscale *= 1; ++_root.p; } frame 54 { _root.sgetup.start(0, 1); } frame 76 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 949 { frame 30 { _root.attack2 = false; _root.invin2 = 10; _parent.gotoAndStop(3); } } movieClip 950 { frame 5 { _root.fall2.start(0, 1); } frame 17 { _root.sgetup.start(0, 1); } frame 30 { if (_parent.player2) { _root.attack2 = false; if (invin2 != 0) { _root.invin2 = 20; } } else { _root.attack = false; if (invin != 0) { _root.invin = 20; } } _parent.gotoAndStop(1); } } movieClip 951 { } movieClip 952 { frame 46 { gotoAndPlay('fall'); } frame 57 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 959 { } movieClip 964 { frame 17 { if (_parent.player2) { _root.attack2 = false; } else { _root.attack = false; } _parent.gotoAndStop(1); } } movieClip 965 { frame 46 { if (_parent.player2) { _root.attack2 = false; if (invin2 != 0) { _root.invin2 = 20; } } else { _root.attack = false; if (invin != 0) { _root.invin = 20; } } _parent.gotoAndStop(1); } } movieClip 967 { } movieClip 969 { } movieClip 971 { frame 55 { _root.wflash.gotoAndPlay('ending'); if (_root.timeremain < 2) { _root.targ = 'ending'; } else { _root.targ = 'restart'; } } frame 63 { stop(); } } movieClip 972 { frame 1 { stop(); } instance anim of movieClip 931 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 935 { onClipEvent (enterFrame) { if (_root.curmap == 6) { _root.sliding2 = false; } if (!_root.paus && !_root.paus2) { dir = _root.char2._xscale / Math.abs(_root.char2._xscale); if (_root.sliding2) { if (_currentframe > 95) { _root.char2._x += 16 * dir; } else { _root.char2._x += 6 * dir; } if (_root.kLeft2 || !_root.kRight2) { if (_root.char2._xscale == -_root.ix) { _root.sliding2 = false; } } if (_root.kRight2 || !_root.kLeft2) { if (_root.char2._xscale == _root.ix) { _root.sliding2 = false; } } } } } } instance anim of movieClip 936 { onClipEvent (enterFrame) { if (_currentframe > 4) { if (_root.char2._xscale == -_root.ix && _root.kLeft2 && !_root.kRight2) { _parent.gotoAndStop(2); } if (_root.char2._xscale == _root.ix && _root.kRight2 && !_root.kLeft2) { _parent.gotoAndStop(2); } } } } frame 10 { if (player2) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } else { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } ++_root.nplay; } frame 12 { if (player2) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } else { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } ++_root.nplay; } instance anim of movieClip 946 { onClipEvent (load) { ptimer = 0; boosted = false; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_parent.player2) { _root.dashing2 = true; } else { _root.dashing = true; } st = 3; en = 13; dir = _parent._xscale / Math.abs(_parent._xscale); if (_currentframe > st && _currentframe < en) { if (!boosted) { if (_parent.player2) { _root.xmo2 = 20 * dir; } else { _root.xmo = 20 * dir; } boosted = true; } if (_parent.player2) { xmo = _root.xmo2; } else { xmo = _root.xmo; } if (_root.curmap == 6 || _root.curmap == 10 && _parent._x > 134 && _parent._x < 226) { _parent._x += 7 * dir - xmo; } else { _parent._x += 25 * dir - xmo; } if (_root.kUp2) { _root.uhold2 = true; _root.sliding2 = true; _parent.gotoAndStop(3); } --ptimer; if (ptimer < 1) { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _parent._x - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _parent._y; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; ptimer = 2; } } if (_currentframe <= st || _currentframe >= en) { if (_root.curmap == 6 || _root.curmap == 10 && _parent._x > 134 && _parent._x < 226) { _parent._x += 2 * dir; } else { _parent._x += 6 * dir; } } } } } instance anim of movieClip 949 { onClipEvent (enterFrame) { if (_parent.player2) { if (_root.landed2) { _parent.gotoAndStop('landHurt'); } } else { if (_root.landed) { _parent.gotoAndStop('landHurt'); } } } } frame 17 { ++_root.ufall; } instance anim of movieClip 952 { onClipEvent (enterFrame) { if (_parent.player2) { if (_root.landed2 && _currentframe < 46) { _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } gotoAndPlay('land'); } } else { if (_root.landed && _currentframe < 46) { _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } gotoAndPlay('land'); } } } } frame 22 { if (player2) { _root.dscore2 += _root.score2; _root.score2 = 0; } else { _root.dscore += _root.score; _root.score = 0; } } } instance char2 of movieClip 972 { onClipEvent (load) { stop(); this.swapDepths(9998); if (_root.multiplayer || !_root.multiplayer && _root.curchar == 1) { player2 = true; } else { this.removeMovieClip(); loadMovie('', this); } _root.invin2 = 0; _root.invin = 0; ach3 = true; ach6 = true; ach8 = true; ach9 = false; ach9t = 0; ach12t = true; _root.mbounced = 0; _root.mrockbreak = 0; _root.ufall = 0; _root.nplay = 0; } onClipEvent (enterFrame) { if (_root.started) { if (_root.multiplayer || _root.curchar == 1) { _root.player2code(); } } if (!_root.multiplayer && _root.curchar == 1) { if (_root.achievement1 == 0 && _root.mbounced >= 4 && _root.curmap == 1) { _root.achievement1 = 1; _root.hud.a.gotoAndStop(1); _root.hud.a.r.play(); } if (_root.achievement2 == 0 && _root.mrockbreak >= 5 && _root.timeremain > 1 && _root.curmap == 2) { _root.achievement2 = 1; _root.hud.a.gotoAndStop(2); _root.hud.a.r.play(); } if (_root.achievement3 == 0 && ach3 && _root.timeremain < 1 && _root.curmap == 3) { _root.achievement3 = 1; _root.hud.a.gotoAndStop(3); _root.hud.a.r.play(); } if (_root.achievement4 == 0 && _root.timeremain > 1 && _root.curmap == 4) { if (_currentframe == 14 || _currentframe == 15) { _root.achievement4 = 1; _root.hud.a.gotoAndStop(4); _root.hud.a.r.play(); } } if (_root.achievement5 == 0 && _root.ufall >= 5 && _root.timeremain > 1 && _root.curmap == 5) { _root.achievement5 = 1; _root.hud.a.gotoAndStop(5); _root.hud.a.r.play(); } if (_root.achievement6 == 0 && _root.nplay >= 10 && _root.timeremain > 1 && _root.curmap == 6) { _root.achievement6 = 1; _root.hud.a.gotoAndStop(6); _root.hud.a.r.play(); } if (_root.achievement7 == 0 && _currentframe == 7 && _x > 50 && _x < 200 && _root.curmap == 7) { _root.achievement7 = 1; _root.hud.a.gotoAndStop(7); _root.hud.a.r.play(); } if (_root.achievement8 == 0 && ach8 && _root.timeremain < 1 && _root.curmap == 8) { _root.achievement8 = 1; _root.hud.a.gotoAndStop(8); _root.hud.a.r.play(); } if (_root.achievement9 == 0 && ach9t > 10 && _root.timeremain > 1 && _root.curmap == 9) { _root.achievement9 = 1; _root.hud.a.gotoAndStop(9); _root.hud.a.r.play(); } if (_root.achievement11 == 0 && _root.dscore + _root.score > 100000) { _root.achievement11 = 1; _root.hud.a11.gotoAndStop(1); _root.hud.a11.r.play(); } if (_root.achievement12 == 0 && ach12t > 30 && _root.curmap == 9) { _root.achievement12 = 1; _root.hud.a11.gotoAndStop(2); _root.hud.a11.r.play(); } if (_currentframe == 20 && _root.curmap == 8) { ach8 = false; } if (_root.slidebonus > 1 && _currentframe == 12 && anim._currentframe > 3) { ach9 = true; } if (ach9 == true && _currentframe != 12 && _currentframe != 22) { ++ach9t; } if (ach9 == true && _currentframe == 22) { ach9 = false; ach9t = -100; } if (_root.timeremain < 1 && _root.curmap == 9) { ach12t += 0.03333333333333333; } if (_root.timeremain > 1 && _root.started && _root.curmap == 10) { if (_x < -50) { _x = _x + 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.hud.a.gotoAndStop(10); _root.hud.a.r.play(); } } else { if (_x > 850) { _x = _x - 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.hud.a.gotoAndStop(10); _root.hud.a.r.play(); } } } } } } } movieClip 975 { } movieClip 976 { } movieClip 978 { } movieClip 979 { } movieClip 981 { } movieClip 982 { } movieClip 983 { } movieClip 991 { } movieClip 993 { } movieClip 994 { frame 1 { stop(); } frame 2 { if (_root.curmap != 9) { _root.shoverbuttons.start(0, 1); } } frame 15 { stop(); } } movieClip 997 { } movieClip 999 { } movieClip 1000 { } movieClip 1002 { } movieClip 1003 { } movieClip 1005 { } movieClip 1006 { } movieClip 1009 { } movieClip 1010 { } movieClip 1011 { } movieClip 1020 { } movieClip 1021 { } movieClip 1022 { } movieClip 1024 { } movieClip 1025 { } movieClip 1027 { } movieClip 1054 { } movieClip 1055 { } movieClip 1056 { } movieClip 1058 { } movieClip 1059 { } movieClip 1061 { } movieClip 1069 { } movieClip 1070 { } movieClip 1072 { } movieClip 1073 { } movieClip 1076 { } movieClip 1078 { } movieClip 1080 { } movieClip 1082 { } movieClip 1083 { } movieClip 1085 { } movieClip 1087 { } movieClip 1089 { } movieClip 1091 { } movieClip 1095 { } movieClip 1096 { } movieClip 1098 { } movieClip 1100 { } movieClip 1101 { } movieClip 1102 { } movieClip 1103 { } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } movieClip 1107 { } instance starsound of movieClip 1107 { onClipEvent (load) { function iSS(s) { this['s' + s] = new Sound(this); this['s' + s].attachSound(s); this['s' + s].setVolume(_root.soundvol * 0.4); _root.starsoundC.push('s' + s); } i = 0; while (i < 4) { iSS('crystal' + i); ++i; } i = 0; while (i < 5) { iSS('getsound' + i); iSS('getsoundcombo' + i); ++i; } iSS('lightwarn'); } } frame 34 { gotoAndStop('menu1'); } frame 35 { if (!_root.musicplayin) { music1.stop(); _root.musicplayin = true; music1 = new Sound(_root.musicbox); music1.attachSound('menu'); music1.setVolume(_root.soundvol * 0.5); music1.start(0, 1); } music1.onSoundComplete = function () { music1.start(0, 1); }; _root.highscoresound = false; theater = false; _root._quality = 'HIGH'; if (_root.achievement29 == 1) { _root.sunclear = 1; } } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } passcode = ''; passcoded = false; } onClipEvent (enterFrame) { if (passcode.length < 5) { if (Key.isDown(66) && !bhold) { passcode += 'b'; bhold = true; } if (Key.isDown(79) && !ohold) { passcode += 'o'; ohold = true; } if (Key.isDown(83) && !shold) { passcode += 's'; shold = true; } if (!Key.isDown(66)) { bhold = false; } if (!Key.isDown(79)) { ohold = false; } if (!Key.isDown(83)) { shold = false; } } else { if (!passcoded) { if (passcode == 'boobs') { _root.srank3.start(0, 1); _root.boobs = true; } else {} passcoded = true; } } } } button 1110 { on (release) { getURL('http://www.facebook.com/astromangame', '_blank'); } on (rollOver) { _root.mfb.s = 140; } on (rollOut) { _root.mfb.s = 120; } } button 1111 { on (release) { getURL('https://twitter.com/2pgcom', '_blank'); } on (rollOver) { _root.mtw.s = 140; } on (rollOut) { _root.mtw.s = 120; } } button 1112 { on (rollOver) { if (_root.m01._currentframe < 15) { _root.m01.play(); } } on (rollOut) { if (_root.m01._currentframe < 15) { _root.m01.gotoAndPlay(17); } else { if (_root.m01._currentframe == 15) { _root.m01.play(); } } } on (release) { _root.wflash.play(); _root.targ = 'ssel'; _root.curmap = 1; if (_root.visited1 == 0) { _root.train = true; } else { _root.train = false; } } } button 1113 { on (rollOver) { if (_root.m02._currentframe < 15) { _root.m02.play(); } } on (rollOut) { if (_root.m02._currentframe < 15) { _root.m02.gotoAndPlay(17); } else { if (_root.m02._currentframe == 15) { _root.m02.play(); } } } on (release) { _root.curmap = 1; _root.gotoAndPlay('1to3'); _root.train = false; } } button 1114 { on (rollOver) { if (_root.m03._currentframe < 15) { _root.m03.play(); } } on (rollOut) { if (_root.m03._currentframe < 15) { _root.m03.gotoAndPlay(17); } else { if (_root.m03._currentframe == 15) { _root.m03.play(); } } } on (release) { _root.wflash.play(); _root.curmap = 11; _root.wflash.play(); _root.curchar = 0; _root.train = true; _root.targ = 'gameplay'; } } button 1115 { on (rollOver) { if (_root.m04._currentframe < 15) { _root.m04.play(); } } on (rollOut) { if (_root.m04._currentframe < 15) { _root.m04.gotoAndPlay(17); } else { if (_root.m04._currentframe == 15) { _root.m04.play(); } } } on (release) { _root.curmap = 1; _root.gotoAndPlay('1toO'); _root.train = false; } } button 1116 { on (rollOver) { if (_root.m05._currentframe < 15) { _root.m05.play(); } } on (rollOut) { if (_root.m05._currentframe < 15) { _root.m05.gotoAndPlay(17); } else { if (_root.m05._currentframe == 15) { _root.m05.play(); } } } on (release) { _root.curmap = 1; _root.wflash.play(); _root.train = false; _root.targ = 'achievements'; } } movieClip 1119 { } movieClip 1120 { } instance mfb of movieClip 1120 { onClipEvent (load) { _xscale = 0; _yscale = 0; s = 120; } onClipEvent (enterFrame) { _xscale = _xscale + (s - _xscale) / 5; _yscale = _xscale; } } movieClip 1124 { frame 1 { if (_root.no2pg) { _visible = false; } } frame 2 { if (_root.no2pg) { _visible = false; } } } instance m2pg of movieClip 1124 { onClipEvent (load) { s = _xscale; ins = s; _xscale = 0; _yscale = 0; gotoAndStop(1); } onClipEvent (enterFrame) { _xscale = _xscale + (s - _xscale) / 5; _yscale = _xscale; if (Key.isDown(46)) { _root.no2pg = true; _visible = false; } } } button 1125 { on (release) { getURL('http://www.2pg.com', '_blank'); } on (rollOver) { _root.m2pg.s = _root.m2pg.ins; _root.m2pg.gotoAndStop(2); } on (rollOut) { _root.m2pg.s = _root.m2pg.ins + 20; _root.m2pg.gotoAndStop(1); } } button 1126 { on (rollOver) { if (_root.m06._currentframe < 15) { _root.m06.play(); } } on (rollOut) { if (_root.m06._currentframe < 15) { _root.m06.gotoAndPlay(17); } else { if (_root.m06._currentframe == 15) { _root.m06.play(); } } } on (release) { getURL('http://www.2pg.com', '_blank'); } } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } movieClip 1129 { } frame 82 { gotoAndStop('menu2'); } frame 83 { stop(); } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } movieClip 1131 { } frame 114 { stop(); _root._quality = 'HIGH'; _root.soptions.start(0, 1); } movieClip 1133 { frame 1 { stop(); } frame 7 { stop(); } } button 1134 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); _root.saveAll(); _root.targ = 'menu1'; } } movieClip 1139 { } movieClip 1141 { } movieClip 1143 { } movieClip 1145 { frame 1 { stop(); } frame 22 { stop(); } instance of movieClip 1139 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { if (_root.gamequal == 'LOW') { gotoAndStop(1); } else { if (_root.gamequal == 'MEDIUM') { gotoAndStop(2); } else { gotoAndStop(3); } } } } } movieClip 1147 { } movieClip 1150 { } movieClip 1152 { } movieClip 1154 { frame 1 { stop(); } frame 22 { stop(); } instance of movieClip 1150 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { if (_root.soundvol == 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } } movieClip 1156 { } movieClip 1158 { frame 1 { stop(); } frame 7 { stop(); } } button 1159 { on (rollOver) { if (_root.mErase._currentframe < 7) { _root.mErase.play(); } } on (rollOut) { if (_root.mErase._currentframe < 7) { _root.mErase.gotoAndPlay(10); } else { if (_root.mErase._currentframe == 7) { _root.mErase.play(); } } } on (release) { _root.wflash.gotoAndStop('woah'); } } movieClip 1161 { } movieClip 1163 { } movieClip 1164 { frame 1 { stop(); } frame 22 { stop(); } } movieClip 1165 { instance of movieClip 1139 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { if (_root.gamequal == 'LOW') { gotoAndStop(1); } else { if (_root.gamequal == 'MEDIUM') { gotoAndStop(2); } else { gotoAndStop(3); } } } } instance of movieClip 1145 { onClipEvent (load) { qhold = false; } onClipEvent (enterFrame) { if (Key.isDown(81)) { if (qhold == false) { if (_root.gamequal == 'MEDIUM') { _root.gamequal = 'LOW'; } else { if (_root.gamequal == 'LOW') { _root.gamequal = 'HIGH'; } else { if (_root.gamequal == 'HIGH') { _root.gamequal = 'MEDIUM'; } } } qhold = true; } } else { qhold = false; } } } instance of movieClip 1154 { onClipEvent (load) { mhold = false; } onClipEvent (enterFrame) { if (Key.isDown(77)) { if (mhold == false) { if (_root.soundvol == 100) { _root.sgetsound0.setVolume(0); _root.music1.setVolume(0); i = 0; while (i < _root.allsoundC.length) { _root['' + _root.allsoundC[i]].setVolume(0); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + _root.starsoundC[i]].setVolume(0); ++i; } i = 1; while (i < 15) { _root['svoice_' + i].setVolume(0); ++i; } _root.svoice_M1.setVolume(0); _root.sunsound.ssun.setVolume(0); _root.v.svoice_training.setVolume(0); _root.soundvol = 0; } else { _root.soundvol = 100; _root.sgetsound0.setVolume(_root.soundvol); _root.music1.setVolume(_root.soundvol * 0.5); _root.musicbox.setVolume(_root.soundvol); i = 0; while (i < _root.allsoundC.length) { _root['' + _root.allsoundC[i]].setVolume(_root.soundvol); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + _root.starsoundC[i]].setVolume(_root.soundvol * 0.5); ++i; } i = 1; while (i < 15) { _root['svoice_' + i].setVolume(_root.soundvol * _root.voicevol); ++i; } _root.svoice_M1.setVolume(_root.soundvol * _root.voicevol); _root.v.svoice_training.setVolume(_root.soundvol * _root.voicevol); _root.sunsound.ssun.setVolume(_root.soundvol); } mhold = true; } } else { mhold = false; } } } instance of movieClip 1150 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { if (_root.soundvol == 0) { gotoAndStop(2); } else { gotoAndStop(1); } } } instance of movieClip 1150 { onClipEvent (load) { gotoAndStop(1); } onClipEvent (enterFrame) { gotoAndStop(_root.playscenes + 1); } } instance of movieClip 1164 { onClipEvent (load) { mhold = false; } onClipEvent (enterFrame) { if (Key.isDown(68)) { if (dhold == false) { if (_root.playscenes == 1) { _root.playscenes = 0; } else { _root.playscenes = 1; } dhold = true; } } else { dhold = false; } } } } instance of movieClip 1165 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 10; } } } button 1166 { on (release) { _root.soundvol = 100; _root.sgetsound0.setVolume(_root.soundvol); _root.music1.setVolume(_root.soundvol * 0.5); _root.musicbox.setVolume(_root.soundvol); i = 0; while (i < _root.allsoundC.length) { _root['' + allsoundC[i]].setVolume(_root.soundvol); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + starsoundC[i]].setVolume(_root.soundvol * 0.5); ++i; } i = 1; while (i < 10) { _root['svoice' + i].setVolume(_root.soundvol * _root.voicevol); ++i; } _root.sunsound.ssun.setVolume(_root.soundvol); } } button 1167 { on (release) { _root.sgetsound0.setVolume(0); _root.music1.setVolume(0); _root.musicbox.setVolume(0); i = 0; while (i < _root.allsoundC.length) { _root['' + allsoundC[i]].setVolume(0); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + starsoundC[i]].setVolume(0); ++i; } i = 1; while (i < 10) { _root['svoice' + i].setVolume(0); ++i; } _root.sunsound.ssun.setVolume(0); _root.soundvol = 0; } } button 1168 { on (release) { _root.gamequal = 'LOW'; } } button 1169 { on (release) { _root.gamequal = 'MEDIUM'; } } button 1170 { on (release) { _root.gamequal = 'HIGH'; } } button 1171 { on (release) { _root.playscenes = 0; } } button 1172 { on (release) { _root.playscenes = 1; } } button 1173 { on (release) { _root.targ = 'theater'; _root.wflash.play(); } } movieClip 1175 { } movieClip 1177 { } movieClip 1179 { } movieClip 1180 { } movieClip 1182 { } movieClip 1184 { } movieClip 1186 { } frame 153 { gotoAndStop('menu3'); } frame 154 { stop(); } frame 156 { stop(); selected = false; if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } cs.tabEnabled = false; mp.tabEnabled = false; mm.tabEnabled = false; theater = false; if (_root.playPSelSound) { if (_root.multiplayer) { _root.scoop.start(0, 1); } else { if (_root.curchar == 1) { _root.sshard.start(0, 1); } else { _root.spsel.start(0, 1); } } } _root._quality = 'MEDIUM'; if (multiplayer) { cs._y = 9999; } meteormode = false; _root.train = false; ach28check = true; i = 1; while (i < 11) { if (_root['medal' + i] < 5 || _root['medalM' + i] < 5) { ach28check = false; } ++i; } if (_root.achievement28 == 0 && ach28check == true) { _root.achievement28 = 1; _root.wflash.a21.gotoAndStop(8); _root.wflash.a21.r.play(); } if (!_root.musicplayin) { music1.stop(); _root.musicplayin = true; music1 = new Sound(_root.musicbox); music1.attachSound('menu'); music1.setVolume(_root.soundvol * 0.5); music1.start(0, 1); } music1.onSoundComplete = function () { music1.start(0, 1); }; } movieClip 1188 { } movieClip 1190 { } movieClip 1192 { } movieClip 1194 { } movieClip 1195 { frame 1 { stop(); } } instance m013 of movieClip 1195 { onClipEvent (load) { if (_root.scu < 3 || _root.multiplayer) { _y = _y + 400; } if (_root.curchar == 1) { if (_root.visited10 == 0) { s._alpha = 0; } gotoAndStop(2); } else { if (_root.visitedM10 == 0) { s._alpha = 0; } gotoAndStop(1); } } onClipEvent (release) { if (_root.achievement26 == 1) { _root.wflash.play(); _root.targ = 'sselr'; } } onClipEvent (rollOver) { _root.h013 = true; } onClipEvent (rollOut) { _root.h013 = false; } } movieClip 1197 { } movieClip 1199 { } movieClip 1203 { } movieClip 1204 { } instance m012 of movieClip 1204 { onClipEvent (load) { if (_root.multiplayer) { gotoAndStop(2); } else { gotoAndStop(1); } i = 1; while (i < 11) { if (_root['visitedMP' + i] == 0) { s._alpha = 0; } ++i; } if (_currentframe == 2) { s._alpha = 0; } } onClipEvent (release) { _root.wflash.play(); _root.curchar = 0; _root.targ = 'sselrm'; } onClipEvent (rollOver) { _root.h012 = true; } onClipEvent (rollOut) { _root.h012 = false; } } movieClip 1206 { } movieClip 1208 { } movieClip 1209 { } instance m011 of movieClip 1209 { onClipEvent (load) { if (_root.achievement16 == 0) { s._alpha = 0; } if (_root.multiplayer || _root.curchar == 1) { _y = 1000; } } onClipEvent (rollOver) { _root.h011 = true; } onClipEvent (rollOut) { _root.h011 = false; } onClipEvent (release) { _root.wflash.play(); _root.curmap = 11; _root.wflash.play(); _root.curchar = 0; _root.train = true; _root.targ = 'gameplay'; } } movieClip 1211 { } movieClip 1212 { } movieClip 1214 { } movieClip 1215 { } movieClip 1217 { } movieClip 1218 { } movieClip 1220 { } movieClip 1221 { } movieClip 1222 { } movieClip 1223 { } movieClip 1225 { } movieClip 1226 { } movieClip 1228 { } movieClip 1229 { } movieClip 1231 { } movieClip 1235 { frame 1 { stop(); } } movieClip 1236 { instance of movieClip 1235 { onClipEvent (enterFrame) { if (_parent.planet == 8 && _root.unlocks == 7 && _root.visited7 == true && !_root.multiplayer) { gotoAndStop(1); } else { loadMovie('', this); } } } } movieClip 1237 { } movieClip 1238 { instance of movieClip 1235 { onClipEvent (enterFrame) { if (_parent.planet == 9 && _root.unlocks == 8 && _root.visited8 == true && !_root.multiplayer) { gotoAndStop(2); } else { _y = 1000; } } } } movieClip 1240 { } movieClip 1241 { instance of movieClip 1235 { onClipEvent (enterFrame) { if (_parent.planet == 10 && _root.unlocks == 9 && _root.visited9 == true && !_root.multiplayer) { gotoAndStop(3); } else { _y = 1000; } } } } movieClip 1244 { } instance of movieClip 1244 { onClipEvent (load) { if (_root.multiplayer || _root.curchar == 0) { gotoAndStop(1); } else { gotoAndStop(2); } } } movieClip 1247 { } movieClip 1254 { } movieClip 1256 { frame 1 { stop(); } } movieClip 1257 { } movieClip 1259 { } movieClip 1260 { } movieClip 1261 { } movieClip 1263 { instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; _parent._alpha = 0; } onClipEvent (enterFrame) { if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } val = _root['bestscore' + is2p + '' + _parent._parent._parent.planet]; if (_root['h0' + _parent._parent._parent.planet]) { if (_parent._alpha < 100) { _parent._alpha += 10; } } else { if (_parent._alpha > 0) { _parent._alpha -= 10; } } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } movieClip 1264 { frame 3 { if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } if (_root.multiplayer && _root['visitedMP' + _parent.planet] == 1 || !_root.multiplayer && _root['visited' + is2p + '' + _parent.planet] == 1) { loadMovie('', g); } if (_root['medal' + is2p + '' + _parent.planet] == 0) { loadMovie('', m); } else { m.gotoAndStop(_root['medal' + is2p + '' + _parent.planet]); } if (_root['achievement' + _parent.planet] == 0) { r.gotoAndStop(2); } else { r.gotoAndStop(1); } if (_root.multiplayer) { loadMovie('', m); loadMovie('', r); loadMovie('', s); } stop(); } } movieClip 1265 { } movieClip 1267 { } movieClip 1269 { } movieClip 1271 { } movieClip 1273 { } movieClip 1275 { } movieClip 1277 { } movieClip 1279 { } movieClip 1281 { } movieClip 1283 { } button 1284 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); _root.targ = 'menu1'; } } movieClip 1285 { } instance of movieClip 1285 { onClipEvent (load) { p = 1; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'gameplay'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 2; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 3; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } movieClip 1287 { } movieClip 1289 { } movieClip 1290 { frame 1 { stop(); } frame 2 { _root.starsound.sgetsound2.start(0, 1); } frame 2 { if (_root.curmap == 12) { ds = 9; } else { ds = _root.curmap; } _root['m0' + (ds - 1)]._xscale = 120; _root['m0' + (ds - 1)]._yscale = 120; } frame 7 { _root.sflip.start(0, 1); } frame 40 { _root.starsound.sgetsoundcombo2.start(0, 1); } frame 41 { if (_root.curmap == 12) { ds = 9; } else { ds = _root.curmap; } _root['m0' + ds]._xscale = 120; _root['m0' + ds]._yscale = 120; } frame 56 { _root.wflash.play(); _root.targ = 'gameplay'; } frame 65 { stop(); } } movieClip 1291 { frame 1 { stop(); } frame 37 { stop(); } } instance of movieClip 1285 { onClipEvent (load) { p = 6; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { if (_root.achievement21 == 0) { _root.achievement21 = 1; _root.wflash.a21.gotoAndStop(1); _root.wflash.a21.r.play(); } _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); _root.planethop2._x = _root.m05._x; _root.planethop2._y = _root.m05._y; _root.planethop2.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 4; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 5; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 7; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 8; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 9; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; if (_root.curchar == 0 && !_root.multiplayer && (_root.visited9 == 0 || _root.playscenes == 1)) { _root.curmap = 12; } else { _root.curmap = p; } if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 10; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; if (_root['visited' + p] == false) { _root.planethop._x = _x; _root.planethop._y = _y; _root.planethop.play(); } else { _root.wflash.play(); _root.targ = 'gameplay'; } } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 130 { onClipEvent (load) { timer = 0; mxpos = []; txpos = []; i = 1; while (i < 14) { mxpos[i] = _root['m0' + i]._x; txpos[i] = _root['t0' + i]._x; _root['m0' + i]._x += 800; _root['t0' + i]._x += 800; _root['m0' + i].planet = i; _root['t0' + i].planet = i; ++i; } sp = 1; } onClipEvent (enterFrame) { ++timer; if (_root.achievement22 == 0 && _root['unlocks' + _root.is2p] > 7) { _root.achievement22 = 1; _root.wflash.a21.gotoAndStop(2); _root.wflash.a21.r.play(); } if (_root.achievement23 == 0 && _root['unlocks' + _root.is2p] > 8) { _root.achievement23 = 1; _root.wflash.a21.gotoAndStop(3); _root.wflash.a21.r.play(); } if (_root.achievement24 == 0 && _root['unlocks' + _root.is2p] > 9) { _root.achievement24 = 1; _root.wflash.a21.gotoAndStop(4); _root.wflash.a21.r.play(); } i = 1; while (i < 14) { if (timer / 4 > i) { _root['m0' + i]._x -= (_root['m0' + i]._x - mxpos[i]) / 5; if (i < 11) { if (_root['unlocks' + _root.is2p] < i) { lc = new Color(_root['m0' + i]); lct = new Object(); lct = {'ra': 15, 'ba': 15, 'ga': 15}; lc.setTransform(lct); } if (_root['unlocks' + _root.is2p] >= i || _root.unlocks >= i && _root.multiplayer || _root.unlocksM >= i && _root.multiplayer) { _root['t0' + i]._x -= (_root['t0' + i]._x - txpos[i]) / 5; } } } if (_root['h0' + i]) { _root['m0' + i]._xscale += (120 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; if (_root['m0' + i].sp != true) { _root['m0' + i].sp = true; } } else { _root['m0' + i]._xscale += (100 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; if (_root['m0' + i].sp == true) { _root['m0' + i].sp = false; } } ++i; } } } movieClip 1295 { frame 88 { gotoAndPlay('loop'); } } movieClip 1296 { frame 88 { gotoAndPlay('loop'); } } movieClip 1297 { frame 88 { gotoAndPlay('loop'); } } movieClip 1298 { } movieClip 1302 { frame 1 { stop(); } frame 2 { _root.scheer.start(0, 1); } frame 100 { if (_root.scu < 4) { _root.targ = 'scene4'; _root.wflash.play(); } } } instance of movieClip 1302 { onClipEvent (load) { timer = 0; allach = true; mc = false; } onClipEvent (enterFrame) { if (timer > 30 && mc == false && _root.givenaa == false) { i = 1; while (i < 31) { if (_root['achievement' + i] != 1) { allach = false; } ++i; } if (allach) { _root.givenaa = true; play(); } mc = true; } else { ++timer; } } } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } frame 202 { gotoAndStop('menu1'); } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } frame 242 { gotoAndStop('menu1'); } frame 244 { stop(); selected = false; curchar = 0; cs.tabEnabled = false; mp.tabEnabled = false; } button 1303 { on (release) { _root.wflash.play(); _root.targ = 'mmodem'; } } movieClip 1305 { frame 3 { if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } if (_root.achievement28 == 0) { r.gotoAndStop(2); } else { r.gotoAndStop(1); } if (_root.multiplayer) { loadMovie('', m); loadMovie('', g); loadMovie('', r); loadMovie('', s); } stop(); } } movieClip 1306 { } movieClip 1308 { } button 1309 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); _root.targ = 'ssel'; } } instance of movieClip 602 { onClipEvent (load) { p = 1; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.meteormode = true; _root.wflash.play(); _root.targ = 'gameplay'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } movieClip 1310 { instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; _parent._alpha = 0; } onClipEvent (enterFrame) { is2p = ''; val = _root.bestscoremeteor; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } instance of movieClip 130 { onClipEvent (load) { timer = 0; } onClipEvent (enterFrame) { ++timer; i = 1; while (i < 2) { if (_root['h0' + i]) { _root['m0' + i]._xscale += (150 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; } else { _root['m0' + i]._xscale += (133 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; } ++i; } } } frame 246 { stop(); selected = false; curchar = 0; cs.tabEnabled = false; mp.tabEnabled = false; _root.sribbonscreen.start(0, 1); } movieClip 1313 { } instance of movieClip 130 { onClipEvent (load) { timer = 0; spawned = false; } onClipEvent (enterFrame) { ++timer; if (timer > 3 && spawned == false) { i = 1; while (i < 11) { _root.attachMovie('achie', 'achi' + i, i + 6000); _root['achi' + i]._x = 816; _root['achi' + i].origx = 16; _root['achi' + i]._y = 72 + 32 * (i - 1); ++i; } i = 11; while (i < 21) { _root.attachMovie('achie', 'achi' + i, i + 6000); _root['achi' + i]._x = 1072; _root['achi' + i].origx = 272; _root['achi' + i]._y = 72 + 32 * (i - 11); ++i; } i = 21; while (i < 31) { _root.attachMovie('achie', 'achi' + i, i + 6000); _root['achi' + i]._x = 1328; _root['achi' + i].origx = 528; _root['achi' + i]._y = 72 + 32 * (i - 21); ++i; } i = 1; while (i < 31) { _root['achi' + i].gotoAndStop(i + 1); _root['achi' + i].num = i; ++i; } spawned = true; } i = 1; while (i < 31) { if (timer > 1 * i + 10) { _root['achi' + i]._x += (_root['achi' + i].origx - _root['achi' + i]._x) / 10; } ++i; } } } frame 248 { stop(); selected = false; if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } cs.tabEnabled = false; mp.tabEnabled = false; mm.tabEnabled = false; if (_root.highscoresound == false) { _root.shighscore.start(0, 1); _root.highscoresound = true; } _root._quality = 'MEDIUM'; if (multiplayer) { cs._y = 9999; } meteormode = false; _root.train = false; if (!_root.musicplayin) { music1.stop(); _root.musicplayin = true; music1 = new Sound(_root.musicbox); music1.attachSound('menu'); music1.setVolume(_root.soundvol * 0.8); music1.start(0, 1); } music1.onSoundComplete = function () { music1.start(0, 1); }; } instance of movieClip 1285 { onClipEvent (load) { p = 1; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 2; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 3; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 6; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 4; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 5; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 7; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 8; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 9; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 1285 { onClipEvent (load) { p = 10; } onClipEvent (release) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root.selected = true; _root.curmap = p; _root.wflash.play(); _root.targ = 'viewscore'; } } onClipEvent (rollOver) { if (_root['unlocks' + _root.is2p] >= p && _root.selected == false || _root.unlocks >= p && _root.multiplayer && _root.selected == false || _root.unlocksM >= p && _root.multiplayer && _root.selected == false) { _root['h0' + p] = true; } } onClipEvent (rollOut) { _root['h0' + p] = false; } } instance of movieClip 130 { onClipEvent (load) { timer = 0; mxpos = []; txpos = []; i = 1; while (i < 14) { mxpos[i] = _root['m0' + i]._x; txpos[i] = _root['t0' + i]._x; _root['m0' + i]._x += 800; _root['t0' + i]._x += 800; _root['m0' + i].planet = i; _root['t0' + i].planet = i; if (i < 11) { _root['m0' + i].sound = random(5); } ++i; } sp = 1; } onClipEvent (enterFrame) { ++timer; i = 1; while (i < 14) { if (timer / 4 > i) { _root['m0' + i]._x -= (_root['m0' + i]._x - mxpos[i]) / 5; if (i < 11) { if (_root['unlocks' + _root.is2p] < i) { lc = new Color(_root['m0' + i]); lct = new Object(); lct = {'ra': 15, 'ba': 15, 'ga': 15}; lc.setTransform(lct); } if (_root['unlocks' + _root.is2p] >= i || _root.unlocks >= i && _root.multiplayer || _root.unlocksM >= i && _root.multiplayer) { _root['t0' + i]._x -= (_root['t0' + i]._x - txpos[i]) / 5; } } } if (_root['h0' + i]) { _root['m0' + i]._xscale += (120 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; if (_root['m0' + i].sp != true) { _root['splanethover' + _root['m0' + i].sound].start(0, 999); _root['m0' + i].sp = true; } } else { _root['m0' + i]._xscale += (100 - _root['m0' + i]._xscale) / 5; _root['m0' + i]._yscale = _root['m0' + i]._xscale; if (_root['m0' + i].sp == true) { _root['splanethover' + _root['m0' + i].sound].stop(); _root['m0' + i].sp = false; } } ++i; } } } frame 250 { if (_root.curmap == 1) { var o = {'n': [14, 7, 1, 14, 11, 3, 7, 8, 3, 1, 9, 1, 0, 14, 12, 2], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 2) { var o = {'n': [7, 2, 5, 10, 10, 1, 6, 9, 12, 3, 11, 2, 5, 12, 12, 14], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 3) { var o = {'n': [8, 15, 8, 12, 2, 2, 3, 10, 10, 9, 2, 3, 13, 6, 11, 10], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 4) { var o = {'n': [12, 12, 14, 3, 0, 12, 6, 9, 8, 13, 14, 15, 15, 7, 8, 9], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 5) { var o = {'n': [6, 1, 8, 7, 0, 13, 1, 4, 10, 11, 13, 0, 0, 13, 15, 15], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 6) { var o = {'n': [5, 8, 15, 14, 9, 7, 5, 6, 6, 13, 7, 8, 8, 6, 12, 9], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 7) { var o = {'n': [2, 3, 10, 15, 13, 8, 9, 0, 10, 4, 4, 2, 9, 8, 0, 14], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 8) { var o = {'n': [6, 3, 13, 5, 5, 3, 9, 7, 9, 2, 9, 0, 11, 6, 7, 7], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 9) { var o = {'n': [6, 12, 14, 0, 6, 3, 0, 11, 10, 12, 12, 4, 12, 3, 6, 6], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } if (_root.curmap == 10) { var o = {'n': [5, 1, 13, 15, 9, 8, 4, 0, 10, 5, 0, 13, 5, 14, 3, 13], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID}); } } frame 250 { stop(); } movieClip 1321 { } movieClip 1335 { } movieClip 1337 { } movieClip 1342 { } movieClip 1344 { } movieClip 1347 { } movieClip 1349 { } movieClip 1357 { } movieClip 1360 { } movieClip 1368 { } movieClip 1372 { } movieClip 1374 { } movieClip 1382 { } movieClip 1389 { } movieClip 1392 { } movieClip 1394 { } movieClip 1396 { } movieClip 1404 { } movieClip 1409 { } movieClip 1412 { } movieClip 1413 { } movieClip 1415 { } movieClip 1421 { } movieClip 1429 { } movieClip 1432 { } movieClip 1434 { } movieClip 1438 { } movieClip 1440 { } movieClip 1441 { } movieClip 1449 { } movieClip 1452 { } movieClip 1454 { } movieClip 1455 { } movieClip 1463 { } movieClip 1464 { frame 1 { stop(); } } movieClip 1466 { } movieClip 1509 { frame 2 { stop(); } frame 43 { _parent.bg.play(); } frame 44 { if (_root._currentframe > 295) { _root.smercurymain.start(0, 1); } } } movieClip 1510 { } movieClip 1564 { } movieClip 1567 { } movieClip 1569 { } movieClip 1571 { } movieClip 1573 { } movieClip 1574 { frame 20 { if (_root._currentframe > 295) { _root.smercurybg.start(0, 1); } } } movieClip 1582 { } movieClip 1591 { frame 2 { if (_root._currentframe > 295) { _root.sunsound.ssun.start(0, 1); } } } movieClip 1646 { } movieClip 1648 { } movieClip 1649 { } movieClip 1655 { } movieClip 1660 { } movieClip 1661 { } movieClip 1662 { } movieClip 1814 { } movieClip 1816 { } movieClip 1818 { } movieClip 1820 { instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } } movieClip 1822 { } movieClip 1825 { } movieClip 1826 { } movieClip 1844 { } movieClip 1845 { } movieClip 1851 { } movieClip 1853 { } movieClip 1856 { } movieClip 1859 { } movieClip 1863 { } movieClip 1866 { } movieClip 1867 { frame 1 { stop(); } } movieClip 1878 { frame 63 { if (_root.achievement16 == 0) { _root.achievement16 = 1; _root.res.a11.gotoAndStop(6); _root.res.a11.r.play(); } } } movieClip 1882 { } movieClip 1883 { } movieClip 1888 { } movieClip 1891 { } movieClip 1895 { } movieClip 1897 { } movieClip 1900 { } movieClip 1906 { } movieClip 1908 { instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root.medal10 < 4 || _root.achievement10 < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1392 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _x = startx + 100 * Math.sin(gah); } } } instance of movieClip 1394 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _x = startx - 100 * Math.sin(gah); } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1432 { onClipEvent (load) { starty = _y; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _y = starty + 100 * Math.sin(gah); } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1509 { onClipEvent (load) { timer = 300; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_currentframe < 3 && !_root.resultsscreen && _root.char._currentframe != 20 && _root.char2._currentframe != 20) { --timer; } if (timer < 1 && _currentframe < 3) { timer = 100; _root.warn.play(); _root.warn2.play(); gotoAndPlay(3); } if (_currentframe > 44 && _currentframe < 72) { if (_root.multiplayer || _root.curchar == 0 && !_root.multiplayer) { if (_root.landed && _root.invin < 1 && _root.char._currentframe != 20) { _root.attack = true; _root.char.gotoAndStop('shock'); ++_root.ach18[0]; _root.ach8 = false; _root.sstarlose.start(0, 1); _root.score /= 2; n = 0; while (n < 10) { if (_root.laststars[n] != 0) { asshole = random(2); _root.attachMovie('star', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char._x; _root['particle' + _root.p]._y = _root.char._y - _root.char._height * 0.5; _root['particle' + _root.p].xspd = random(15) - 7; _root['particle' + _root.p].grav = (random(10) + 5) * -1; _root['particle' + _root.p].counted = false; _root['particle' + _root.p].color = _root.laststars[n]; _root['particle' + _root.p].falling = true; if (asshole == 1) { _root['particle' + _root.p].ctimer = 40; _root['particle' + _root.p].d = 20; } else { _root['particle' + _root.p].ctimer = 20; } ++_root.p; } ++n; } _root.laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus = 1; _root.slidecaught = 0; if (_root.hud.combo._currentframe != 1) { _root.hud.combo.gotoAndPlay(45); } } } if (_root.multiplayer || _root.curchar == 1 && !_root.multiplayer) { if (_root.landed2 && _root.invin2 < 1 && _root.char2._currentframe != 20) { _root.attack2 = true; _root.char2.gotoAndStop('shock'); ++_root.ach18[1]; _root.ach8 = false; _root.sstarlose.start(0, 1); _root.score2 /= 2; n = 0; while (n < 10) { if (_root.laststars2[n] != 0) { asshole = random(2); _root.attachMovie('star', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _root.char2._x; _root['particle' + _root.p]._y = _root.char2._y - _root.char2._height * 0.5; _root['particle' + _root.p].xspd = random(15) - 7; _root['particle' + _root.p].grav = (random(10) + 5) * -1; _root['particle' + _root.p].counted = false; _root['particle' + _root.p].color = _root.laststars2[n]; _root['particle' + _root.p].falling = true; if (asshole == 1) { _root['particle' + _root.p].ctimer = 40; _root['particle' + _root.p].d = 20; } else { _root['particle' + _root.p].ctimer = 20; } ++_root.p; } ++n; } _root.laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.slidebonus2 = 1; _root.slidecaught2 = 0; if (_root.hud.combo2._currentframe != 1) { _root.hud.combo2.gotoAndPlay(45); } } } } if (_currentframe != 2) { play(); } } else { stop(); } } } instance of movieClip 1816 { onClipEvent (load) { startx = _x; gah = -0.5235987755982988; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (!_root.multiplayer) { gah += 0.025; _x = startx + 50 * Math.sin(gah); } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 0 && !_root.multiplayer) { gah -= 0.025; _x = startx + 50 * Math.sin(gah); } else { _y = 9000; } } } } instance of movieClip 1820 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false && _root.started) { gah += 0.025; _x = startx + 50 * Math.sin(gah); } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 1 || _root.multiplayer) { _y = 144.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 1 || _root.multiplayer) { _y = 151.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 1 || _root.multiplayer) { _y = 176.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 1 || _root.multiplayer) { _y = 176.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.multiplayer) { _y = 144.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.multiplayer) { _y = 151.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.multiplayer) { _y = 176.7; } else { _y = 9000; } } } } instance of movieClip 1818 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.multiplayer) { _y = 176.7; } else { _y = 9000; } } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + _root.curmap] < 4 || _root['achievement' + _root.curmap] < 1) { _alpha = 0; } } } instance of movieClip 1349 { onClipEvent (load) { if (_root['medal' + (_root.curmap - 1)] < 4 || _root['achievement' + (_root.curmap - 1)] < 1) { _alpha = 0; } } } } instance levels of movieClip 1908 { onClipEvent (load) { gotoAndStop(_root.curmap); } } instance mBack of movieClip 1133 { onClipEvent (load) { timer = 0; _alpha = 0; } onClipEvent (enterFrame) { if (timer < 200) { ++timer; } if (timer > 190) { if (_alpha < 100) { _alpha = _alpha + 10; } } } } button 1909 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); _root.targ = 'menu3'; } } movieClip 1911 { } instance of movieClip 1911 { onClipEvent (load) { timer = 0; _alpha = 0; } onClipEvent (enterFrame) { if (timer < 200) { ++timer; } if (timer > 190) { if (_alpha < 100) { _alpha = _alpha + 10; } } } } frame 251 { stop(); _root.musicplayin = false; _root.wflash.play(); _root.targ = 'menu3'; } instance of movieClip 1103 { onClipEvent (load) { gotoAndStop(1); vall = true; i = 1; while (i < 11) { if (_root['visited' + i] == 0) { vall = false; } ++i; } if (vall) { gotoAndStop(2); } if (_root.achievement30 == 1) { gotoAndStop(5); } if (_root.achievement28 == 1) { gotoAndStop(6); } } } frame 284 { gotoAndStop('menu1'); } frame 287 { stop(); theater = true; } movieClip 1913 { } movieClip 1915 { } movieClip 1917 { } movieClip 1920 { } movieClip 1922 { } instance of movieClip 1922 { onClipEvent (load) { if (_root.scu >= 4) { gotoAndStop(2); } else { gotoAndStop(1); } val = 100; } onClipEvent (enterFrame) { _xscale = _xscale + (val - _xscale) / 10; _yscale = _xscale; } onClipEvent (rollOver) { val = 120; } onClipEvent (rollOut) { val = 100; } onClipEvent (release) { if (_root.scu >= 4) { _root.targ = 'scene4'; _root.wflash.play(); } } } movieClip 1925 { } movieClip 1926 { } instance of movieClip 1926 { onClipEvent (load) { val = 100; } onClipEvent (enterFrame) { _xscale = _xscale + (val - _xscale) / 10; _yscale = _xscale; } onClipEvent (rollOver) { val = 120; } onClipEvent (rollOut) { val = 100; } onClipEvent (release) { if (_root.scu >= 1) { _root.targ = 'scene1'; _root.wflash.play(); } } } movieClip 1929 { } movieClip 1930 { } instance of movieClip 1930 { onClipEvent (load) { if (_root.scu >= 2) { gotoAndStop(2); } else { gotoAndStop(1); } val = 100; } onClipEvent (enterFrame) { _xscale = _xscale + (val - _xscale) / 10; _yscale = _xscale; } onClipEvent (rollOver) { val = 120; } onClipEvent (rollOut) { val = 100; } onClipEvent (release) { if (_root.scu >= 2) { _root.targ = 'scene2'; _root.wflash.play(); } } } movieClip 1933 { } movieClip 1934 { } instance of movieClip 1934 { onClipEvent (load) { if (_root.scu >= 3) { gotoAndStop(2); } else { gotoAndStop(1); } val = 100; } onClipEvent (enterFrame) { _xscale = _xscale + (val - _xscale) / 10; _yscale = _xscale; } onClipEvent (rollOver) { val = 120; } onClipEvent (rollOut) { val = 100; } onClipEvent (release) { if (_root.scu >= 3) { _root.targ = 'scene3'; _root.wflash.play(); } } } button 1935 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); _root.targ = 'options'; } } movieClip 1943 { } instance of movieClip 1943 { onClipEvent (enterFrame) { gotoAndStop(_root.scu); } } instance levels of movieClip 1908 { onClipEvent (load) { gotoAndStop(_root.curmap); } } instance of movieClip 601 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m01o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } button 1946 { on (rollOver) { _root.m01o = true; } on (rollOut) { _root.m01o = false; } on (release) { _root.goto(_root.sscore); } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 0) { n = _root.dscore; } if (_root.curchar == 1) { n = _root.dscore2; } } else { n = _root.dscore; } _root.sscore = n; if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; while (val % 5 != 0) { val -= 1; } } else { val += 1; } } } } else { val = n; } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } movieClip 1949 { } frame 297 { if (_root.curchar == 1) { nameentry = '[SH] ' + nameentry; } if (_root.curmap == 1) { var o = {'n': [14, 7, 1, 14, 11, 3, 7, 8, 3, 1, 9, 1, 0, 14, 12, 2], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 2) { var o = {'n': [7, 2, 5, 10, 10, 1, 6, 9, 12, 3, 11, 2, 5, 12, 12, 14], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 3) { var o = {'n': [8, 15, 8, 12, 2, 2, 3, 10, 10, 9, 2, 3, 13, 6, 11, 10], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 4) { var o = {'n': [12, 12, 14, 3, 0, 12, 6, 9, 8, 13, 14, 15, 15, 7, 8, 9], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 5) { var o = {'n': [6, 1, 8, 7, 0, 13, 1, 4, 10, 11, 13, 0, 0, 13, 15, 15], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 6) { var o = {'n': [5, 8, 15, 14, 9, 7, 5, 6, 6, 13, 7, 8, 8, 6, 12, 9], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 7) { var o = {'n': [2, 3, 10, 15, 13, 8, 9, 0, 10, 4, 4, 2, 9, 8, 0, 14], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 8) { var o = {'n': [6, 3, 13, 5, 5, 3, 9, 7, 9, 2, 9, 0, 11, 6, 7, 7], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 9) { var o = {'n': [6, 12, 14, 0, 6, 3, 0, 11, 10, 12, 12, 4, 12, 3, 6, 6], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } if (_root.curmap == 10) { var o = {'n': [5, 1, 13, 15, 9, 8, 4, 0, 10, 5, 0, 13, 5, 14, 3, 13], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': sscore, 'name': nameentry}); } } frame 297 { stop(); } instance mBack of movieClip 1133 { onClipEvent (load) { timer = 0; _alpha = 0; } onClipEvent (enterFrame) { if (timer < 100) { ++timer; } if (timer > 90) { if (_alpha < 100) { _alpha = _alpha + 10; } } } } button 1950 { on (rollOver) { if (_root.mBack._currentframe < 7) { _root.mBack.play(); } } on (rollOut) { if (_root.mBack._currentframe < 7) { _root.mBack.gotoAndPlay(10); } else { if (_root.mBack._currentframe == 7) { _root.mBack.play(); } } } on (release) { _root.wflash.play(); if (_root.curmap == 9 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 2 || _root.playscenes)) { _root.targ = 'scene2'; } else { if (_root.curmap == 10 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 3 || _root.playscenes)) { _root.targ = 'scene3'; } else { _root.targ = 'ssel'; } } } } instance of movieClip 1911 { onClipEvent (load) { timer = 0; _alpha = 0; } onClipEvent (enterFrame) { if (timer < 200) { ++timer; } if (timer > 190) { if (_alpha < 100) { _alpha = _alpha + 10; } } } } instance m2pg of movieClip 1124 { onClipEvent (load) { s = _xscale; ins = s; _xscale = 0; _yscale = 0; gotoAndStop(1); } onClipEvent (enterFrame) { _xscale = _xscale + (s - _xscale) / 5; _yscale = _xscale; } } frame 298 { stop(); _root.musicplayin = false; _root.wflash.play(); if (_root.curmap == 9 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 2 || _root.playscenes)) { _root.targ = 'scene2'; } else { if (_root.curmap == 10 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 3 || _root.playscenes)) { _root.targ = 'scene3'; } else { _root.targ = 'ssel'; } } } frame 300 { stop(); _root.train = false; if (!_root.musicplayin) { music1.stop(); _root.musicplayin = true; music1 = new Sound(_root.musicbox); music1.loadSound('http://cdn.2pg.com/ext/astroman/stage' + _root.curmap + '.mp3', true); music1.setVolume(_root.soundvol * 0.5); music1.start(0, 1); } music1.onSoundComplete = function () { music1.start(0, 1); }; } frame 300 { } movieClip 1952 { } movieClip 1954 { } movieClip 1965 { } instance trainwarn of movieClip 1965 { onClipEvent (load) { _visible = false; this.swapDepths(13761); } } movieClip 1967 { } instance vigi of movieClip 1967 { onClipEvent (load) { this.swapDepths(13760); if (_root.curchar == 1 && !_root.multiplayer) { _x = 0; _y = 0; } else { _visible = false; } } } movieClip 1968 { instance of movieClip 130 { onClipEvent (load) { timer = _parent.timer; curpos = 0; _parent._alpha = 0; swapped = false; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_root.timeremain > 1) { if (_parent._alpha > 60 && _root.char.hit.hitTest(this) && _root.char._currentframe != 14 && _root.char._currentframe != 15 && _root.char._currentframe != 16 && _root.invin < 1) { _root.char.gotoAndStop(16); _root.sgascloud.start(0, 1); _root.attack = true; _root.ach3 = false; } if (_parent._alpha > 60 && _root.char2.hit.hitTest(this) && _root.char2._currentframe != 14 && _root.char2._currentframe != 15 && _root.char2._currentframe != 16 && _root.invin2 < 1) { _root.char2.gotoAndStop(16); _root.sgascloud.start(0, 1); _root.attack2 = true; _root.ach3 = false; } --timer; if (_parent._alpha < 100 && timer < _parent.timer - 25 && timer > _parent.timer * 0.6 + 25) { _parent._alpha += 5; } if (_parent._alpha > 0 && timer < _parent.timer * 0.6 + 25) { _parent._alpha -= 5; } if (_parent._alpha <= 5 && timer < 10 && !swapped) { if (curpos == 2) { curpos = 0; } else { ++curpos; } _parent._x = _parent.locations[curpos][0]; _parent._y = _parent.locations[curpos][1]; swapped = true; } if (timer < 1) { timer = _parent.timer; swapped = false; } } else { if (_parent._alpha > 0) { _parent._alpha -= 5; } } } } } } instance obj2 of movieClip 1968 { onClipEvent (load) { if (_root.curmap == 3) { this.swapDepths(11000); locations = [[30, 100], [30, 240], [190, 160]]; if (_root.curmap == 3) { timer = 240; } else { timer = 600; } _x = locations[0][0]; _y = locations[0][1]; } else { this.unloadMovie(); } } } instance obj1 of movieClip 1968 { onClipEvent (load) { if (_root.curmap == 3) { this.swapDepths(11001); locations = [[570, 70], [380, 280], [580, 250]]; if (_root.curmap == 3) { timer = 300; } else { timer = 450; } _x = locations[0][0]; _y = locations[0][1]; } else { this.unloadMovie(); } } } instance levels of movieClip 1908 { onClipEvent (enterFrame) { if (_root.curmap == 11) { if (vreset == 0) { _root.v.svoice_training.start(0, 1); vreset = 1; } if (vreset == 1) { curtextindex = 0; ++resettimer; } if (vreset == 1 && resettimer > 3) { _root.v.svoice_training.stop(); vreset = 2; } if (clipplaying == false && !_root.paus && !_root.paus2) { ++voiceclipwait; } if (curvoiceclip < 65 && Key.isDown(27) || curvoiceclip < 65 && Key.isDown(82)) { vreset = 9000; curvoiceclip = 65; curvoiceclipindex = skipclips.length - 2; if (_root.hud.codec1.anim._currentframe <= 20) { _root.hud.codec1.anim.gotoAndPlay(21); _root.scodecoff.start(0, 1); } _root.v.svoice_training.stop(); _root.v.svoice_training.start(VoiceTrainingScene[65][1], 1); clipplaying = true; _root.hud.codec0.anim.gotoAndPlay(1); _root.hud.codec0._visible = true; clipfinished = false; _root.scodecon.start(0, 1); } if ((VoiceTrainingScene[curvoiceclip][0] == 0 && _root.hud.codec0.anim._currentframe > 15 && _root.hud.codec0.anim._currentframe < 22 || VoiceTrainingScene[curvoiceclip][0] > 0 && _root.hud.codec1.anim._currentframe > 15 && _root.hud.codec1.anim._currentframe < 22) && clipplaying != true) { _root.v.svoice_training.start(VoiceTrainingScene[curvoiceclip][1], 1); _root.hud.trainsub.gotoAndStop(Math.ceil((_root.v.svoice_training.position / 1000 - 0.6) * 30)); _root.hud.trainsub._visible = true; clipplaying = true; } if (curvoiceclip < VoiceTrainingScene.length && (curvoiceclip == 0 && voiceclipwait > 90 || curvoiceclip > 0 && voiceclipwait > 30)) { voiceclipwait = 0; if (VoiceTrainingScene[curvoiceclip][0] == 0) { _root.hud.codec0.anim.gotoAndPlay(1); _root.hud.codec0._visible = true; } else { _root.hud.codec1.gotoAndStop(VoiceTrainingScene[curvoiceclip][0] + 1); _root.hud.codec1._visible = true; _root.hud.codec1.anim.gotoAndPlay(1); } clipfinished = false; _root.scodecon.start(0, 1); } if (curvoiceclip == 4 && tran < 1 || curvoiceclip == 10 && tslid < 3 || curvoiceclip == 13 && trocks < 3 || curvoiceclip == 20 && tjump < 1 || curvoiceclip == 33 && tdeposit < 1 || curvoiceclip == 40 && tcrystal < 2 || curvoiceclip == 43 && tjump2 < 1) { tnext = 0; tnexttimer = 0; } else { tnext = 1; if (tnexttimer < 31) { ++tnexttimer; } } if (clipplaying == true && (_root.v.svoice_training.position / 1000 > VoiceTrainingScene[curvoiceclip][2] || clipfinished == true && tnext == 1 && tnexttimer > 29 || Key.isDown(90) && !chold)) { chold = true; if (Key.isDown(90)) { trace(curvoiceclip); } _root.v.svoice_training.stop(); if (_root.hud.codec0.anim._currentframe <= 20 || _root.hud.codec1.anim._currentframe <= 20) { if (VoiceTrainingScene[curvoiceclip][0] == 0) { _root.hud.codec0.anim.gotoAndPlay(21); } else { _root.hud.codec1.anim.gotoAndPlay(21); } _root.hud.trainsub._visible = false; clipfinished = true; _root.scodecoff.start(0, 1); } if (tnext == 1 && tnexttimer > 29) { clipplaying = false; ++curvoiceclipindex; curvoiceclip = skipclips[curvoiceclipindex]; } } _root.debug1 = curvoiceclip; _root.hud.trainsub.gotoAndStop(Math.ceil((_root.v.svoice_training.position / 1000 - 0.6) * 30)); if (curvoiceclip < 1) { ctext.gotoAndStop(1); } else { ctext.gotoAndStop(curvoiceclip); } if (!Key.isDown(90)) { chold = false; } if (_root.v.svoice_training.position / 1000 > 276.5 && curvoiceclip > 20 && tgrav == 0) { _root.fallspd = 0.6; _root.jumpheight = 13; _root.jump2height = 12; _root.longjumpheight = 10; _root.shorthopheight = 8; _root.maxfall = 15; tgrav = 1; } if (curvoiceclip == 13 && d13 != true) { _root.rocktraining = true; _root.rockrate = 0; _root.rocktimer = 0; _root.spawnrate = 90; _root.startimer = 90; d13 = true; } if (curvoiceclip == 14) { _root.rocktraining = false; _root.spawnrate = 10000000; _root.startimer = 10000000; } if (curvoiceclip == 20 && d20 != true) { _root.frequency = [50, 40, 30, 20, 1, 5]; _root.spawnrate = 20; _root.startimer = 20; _root.crystalrate = 99999; d20 = true; } if (curvoiceclip == 40 && d40 != true) { _root.crystalrate = 15; _root.crystaltimer = 1; _root.crystalcolors = [1, 1]; d40 = true; } if (curvoiceclip > 65 && tfgcurcommand == 0) { _root.trainwarn._y = -437; _root.trainwarn._visible = true; _root.trainwarn.gotoAndPlay(1); _root.salarm.start(0, 1); tfgcurcommand = 1; } if (tfgcurcommand == 1) { ++tfgtimer; } if (tfgcurcommand == 1 && tfgtimer > 80 && _root.char._x > 680) { _root.wflash.play(); _root.musicplayin = false; _root.hud.ctrl.lock = true; _root.targ = 'scene1'; tfgcurcommand = 2; } } if (_root.curmap != 11 && _root.playScene) { if (!skipped && _root['svoice_' + _root.curconvo].position / 1000 > this['scene' + _root.curconvo + 'text'][curtextindex]) { ++curtextindex; } if (!skipped) { if (_root.multiplayer) { _root.hud.subs.gotoAndStop(16); } else { if (_root.curchar == 1) { _root.hud.subs.gotoAndStop(15); } else { _root.hud.subs.gotoAndStop(_root.curmap + 1); } } if (curtextindex == 0) { _root.hud.subs.a.gotoAndStop(1); } else { _root.hud.subs.a.gotoAndStop(curtextindex + 1); } } else { _root.hud.subs.gotoAndStop(1); } if (vreset == 0) { _root['svoice_' + _root.curconvo].start(0, 1); vreset = 1; } if (vreset == 1) { curtextindex = 0; _root.hud.subs.a.gotoAndStop(1); ++resettimer; } if (vreset == 1 && resettimer > 3) { curtextindex = 0; _root.hud.subs.a.gotoAndStop(1); _root['svoice_' + _root.curconvo].stop(); vreset = 2; } if (clipplaying == false && !_root.paus && !_root.paus2) { ++voiceclipwait; } if (curvoiceclip < this['scene' + _root.curconvo].length && Key.isDown(27) || curvoiceclip < this['scene' + _root.curconvo].length && Key.isDown(82)) { curvoiceclip = this['scene' + _root.curconvo].length; if (_root.hud.codec0.anim._currentframe <= 20) { _root.hud.codec0.anim.gotoAndPlay(21); } if (_root.hud.codec1.anim._currentframe <= 20) { _root.hud.codec1.anim.gotoAndPlay(21); } clipfinished = true; _root.scodecoff.start(0, 1); _root['svoice_' + _root.curconvo].stop(); curtextindex = this['scene' + _root.curconvo + 'text'].length - 1; clipplaying = false; clipfinished = false; _root.sceneEnded = true; skipped = true; } if (curvoiceclip >= this['scene' + _root.curconvo].length) { _root.sceneEnded = true; } if (!_root.paus && !_root.paus2) { if (_root.curmap == 12 && _root.sceneEnded == true) { ++scet; } if (_root.curmap == 12 && scet > 60 && _root.wflash._currentframe < 3) { _root.wflash.play(); _root.targ = 'restart'; skipped = true; _root.paus2 = true; _root.curmap = 9; } } if ((this['scene' + _root.curconvo][curvoiceclip][0] == 0 && _root.hud.codec0.anim._currentframe > 15 && _root.hud.codec0.anim._currentframe < 22 || this['scene' + _root.curconvo][curvoiceclip][0] > 0 && _root.hud.codec1.anim._currentframe > 15 && _root.hud.codec1.anim._currentframe < 22) && !skipped && clipplaying != true) { _root['svoice_' + _root.curconvo].start(this['scene' + _root.curconvo][curvoiceclip][1], 1); clipplaying = true; } if (this['scene' + _root.curconvo + 'text'][0] != undefined && !skipped && curvoiceclip < this['scene' + _root.curconvo].length && (curvoiceclip == 0 && (_root.curmap != 7 && voiceclipwait > 150 || _root.curmap == 7 && voiceclipwait > 250) || curvoiceclip > 0 && voiceclipwait > 30)) { voiceclipwait = 0; if (this['scene' + _root.curconvo][curvoiceclip][0] == 0) { _root.hud.codec0.anim.gotoAndPlay(1); _root.hud.codec0._visible = true; } else { _root.hud.codec1.gotoAndStop(this['scene' + _root.curconvo][curvoiceclip][0] + 1); _root.hud.codec1._visible = true; _root.hud.codec1.anim.gotoAndPlay(1); } clipfinished = false; _root.scodecon.start(0, 1); } if (clipplaying == true && (_root['svoice_' + _root.curconvo].position / 1000 > this['scene' + _root.curconvo][curvoiceclip][2] || Key.isDown(90) && !chold)) { chold = true; if (Key.isDown(90)) { trace(curvoiceclip); } _root['svoice_' + _root.curconvo].stop(); if (_root.hud.codec0.anim._currentframe <= 20 || _root.hud.codec1.anim._currentframe <= 20) { if (this['scene' + _root.curconvo][curvoiceclip][0] == 0) { _root.hud.codec0.anim.gotoAndPlay(21); } else { _root.hud.codec1.anim.gotoAndPlay(21); } clipfinished = true; _root.scodecoff.start(0, 1); } clipplaying = false; ++curvoiceclip; } if (!Key.isDown(90)) { chold = false; } } } onClipEvent (load) { gotoAndStop(_root.curmap); curvoiceclip = 0; clipplaying = false; voiceclipwait = 0; curvoiceclipindex = 0; curtextindex = 0; skipclips = []; i = 0; while (i < 67) { if (i != 2 && i != 3 && i != 7 && i != 8 && i != 34 && i != 52 && i != 53 && (i < 56 || i > 58) && i != 61) { skipclips.push(i); } ++i; } VoiceTrainingScene = [[1, 0.511, 3.95], [0, 4.3, 5.73], [1, 6.45, 17.345], [0, 17.392, 25.728], [1, 25.89, 29.373], [2, 29.617, 31.962], [0, 32.264, 37.059], [2, 37.187, 48.994], [0, 49.215, 50.794], [1, 50.828, 54.091], [2, 54.242, 62.903], [0, 63.042, 65.062], [1, 65.12000000000001, 71.262], [2, 71.459, 75.035], [0, 75.221, 78.449], [1, 78.57299999999999, 83.58], [0, 83.77800000000001, 85.38], [1, 85.42, 88.18899999999999], [0, 88.56100000000001, 89.57299999999999], [3, 89.815, 104.571], [2, 104.803, 110.922], [0, 111.235, 115.264], [3, 115.415, 124.772], [0, 125.225, 130.833], [3, 130.937, 149.745], [0, 150, 152.288], [3, 152.666, 154.54], [2, 156.282, 161.901], [3, 162.282, 177.609], [0, 177.737, 183.925], [3, 184.123, 192.528], [2, 192.668, 204.858], [1, 205.102, 206.913], [0, 207.226, 215.017], [3, 215.295, 222.412], [2, 222.656, 226.778], [1, 227.254, 234.08], [0, 234.444, 243.365], [3, 243.786, 244.796], [2, 245.365, 251.693], [1, 252.424, 260.238], [3, 260.609, 261.944], [1, 262.444, 264.394], [2, 264.905, 280.811], [0, 281.205, 285.246], [2, 285.698, 292.235], [0, 292.537, 296.112], [3, 296.391, 298.736], [0, 298.945, 302.626], [3, 302.768, 311.879], [0, 312.088, 314.607], [1, 315.188, 318.38], [0, 318.845, 323.5], [2, 323.872, 333.961], [0, 334.507, 336.701], [1, 337.223, 339.232], [0, 339.766, 346.755], [2, 347.15, 354.731], [0, 354.987, 356.519], [3, 357.111, 359.48], [0, 359.77, 361.186], [2, 361.268, 366.899], [1, 367.514, 370.173], [2, 370.393, 371.322], [3, 371.519, 372.878], [0, 373.296, 374.457]]; scene1 = [[0, 0.182, 3.584], [2, 3.78, 13.841], [1, 14.056, 17.746], [0, 17.772, 19.737]]; scene1text = [0.182, 3.78, 7.336, 11.297, 14.056, 17.772, 19.73]; scene2 = [[3, 0.28, 3.361], [0, 3.521, 9.722], [3, 9.842000000000001, 22.325], [0, 22.605, 25.286], [3, 25.366, 48.535]]; scene2text = [0.28, 3.361, 6.682, 9.842000000000001, 14.163, 16.444, 21.125, 22.565, 25.286, 28.647, 34.128, 36.249, 40.29, 43.57, 48.532]; scene3 = [[0, 0.387, 2.685], [1, 2.685, 10.217], [0, 10.399, 14.517], [1, 14.676, 22.868], [2, 23.004, 25.484], [1, 25.757, 26.736], [0, 27.077, 27.805]]; scene3text = [0.387, 2.685, 4.164, 7.076, 10.399, 14.517, 18.544, 23.004, 25.757, 27.077, 27.8]; scene4 = [[0, 0.28, 2.98], [3, 3.133, 11.08], [0, 11.334, 15.206], [3, 15.512, 18.364], [0, 18.517, 27.08], [3, 27.432, 30.768]]; scene4text = [0.28, 3.133, 6.979, 11.08, 14.034, 15.512, 18.364, 21.039, 24.248, 27.381, 30.762]; scene5 = [[2, 0.3, 5.507], [0, 5.73, 11.826], [2, 11.948, 14.204], [0, 14.366, 16.683], [2, 16.784, 18.938], [0, 19.141, 22.392], [3, 22.494, 24.626]]; scene5text = [0.3, 2.743, 5.73, 9.571, 11.948, 14.366, 16.784, 19.141, 22.494, 24.624]; scene6 = [[1, 0.296, 4.412], [0, 4.735, 9.363], [1, 9.523999999999999, 18.806], [0, 19.049, 21.093], [1, 21.201, 30.806], [0, 30.888, 32.8]]; scene6text = [0.296, 4.735, 7.21, 9.523999999999999, 12.565, 15.04, 19.049, 21.201, 23.569, 27.147, 30.779, 31.586, 32.768]; scene7 = [[0, 0.359, 3.059], [2, 3.252, 13.659], [0, 13.888, 16.036], [2, 16.171, 21.374], [0, 21.555, 24.716], [2, 24.828, 27.317]]; scene7text = [0.359, 3.252, 8.545, 13.888, 16.171, 18.66, 21.555, 24.828, 27.316]; scene8 = [[3, 0.297, 3.86], [0, 4.025, 10.722], [3, 10.821, 18.078], [2, 18.309, 19.596], [0, 19.99, 26.128], [3, 26.392, 32.924], [0, 33, 38.4]]; scene8text = [0.297, 4.025, 7.921, 10.821, 15.505, 18.309, 19.99, 22.565, 24.38, 26.392, 28.173, 31.073, 33, 34.408, 38.399]; scene10 = [[2, 0.332, 5.286], [1, 5.468, 8.699999999999999], [3, 8.942, 12.627], [0, 12.778, 14.862], [2, 14.9, 18.306], [0, 18.487, 30.601], [1, 30.782, 33.138], [3, 33.333, 35.041], [0, 35.283, 36.54]]; scene10text = [0.332, 5.468, 8.942, 12.778, 14.9, 18.487, 22.686, 25.979, 29.483, 30.782, 33.333, 35.283, 36.54]; scene11 = [[3, 0.328, 2.585], [0, 2.837, 6.851], [1, 7, 16.957], [2, 17.149, 20.91], [0, 21.178, 25.365]]; scene11text = [0.328, 2.837, 4.413, 7, 9.52, 17.159, 21.178, 25.364]; sceneM1 = [[1, 0.4, 8.855], [2, 8.960000000000001, 27.142], [3, 27.457, 30.478], [4, 30.741, 31.845]]; sceneM1text = [0.4, 3.967, 7.147, 8.960000000000001, 13.553, 18, 21.887, 23.826, 27.457, 30.741, 31.845]; scene12 = [[0, 0.366, 2.452], [2, 2.562, 11.111], [1, 11.455, 15.261], [3, 15.481, 18.518], [0, 18.811, 21.556], [2, 21.812, 32.768], [0, 33.081, 36.89], [3, 37.073, 40.916], [1, 41.026, 44.686]]; scene12text = [0.366, 2.562, 7.539, 11.455, 15.481, 18.811, 21.812, 26.972, 31.51, 33.081, 37.073, 41.026, 44.686]; if (_root.curchar == 1) { is2p = 'M'; } else { is2p = ''; } if (_root.multiplayer) { _root.curconvo = 11; } else { _root.curconvo = is2p + '' + _root.curmap; } tnext = 1; tnexttimer = 30; resettimer = 0; clipfinished = false; tfgcurcommand = 0; tfgtimer = 0; _root.sceneEnded = false; if (_root['svoice_' + _root.curconvo].position > 10 || _root.curmap == 11 && _root.v.svoice_training.position > 10) { vreset = 0; } else { vreset = 3; } if (_root.curmap == 11 || _root.curmap == 12) { tran = 0; tslid = 0; tjump = 0; tjump2 = 0; trocks = 0; tcrystal = 0; tgrav = 0; tdeposit = 0; d13 = false; d20 = false; d40 = false; scet = 0; _root.fallspd = 1; _root.jumpheight = 13; _root.jump2height = 12; _root.longjumpheight = 10; _root.shorthopheight = 8; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [0, 0, 0, 0, 0, 0]; _root.spawnrate = 10000000; _root.crystalrate = 10000; _root.crystalcolors = [1, 1]; _root.totaltime = 2970; } if (_root.curmap == 1) { _root.fallspd = 0.6; _root.jumpheight = 13; _root.jump2height = 12; _root.longjumpheight = 10; _root.shorthopheight = 8; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [90, 10, 5, 2, 1, 10]; _root.spawnrate = 15; _root.crystalrate = 30; _root.crystalcolors = [1, 1, 2]; _root.totaltime = 2700; } if (_root.curmap == 2) { _root.fallspd = 0.9; _root.jumpheight = 16; _root.jump2height = 15; _root.longjumpheight = 12; _root.shorthopheight = 8; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [50, 90, 20, 8, 6, 3]; _root.spawnrate = 20; _root.crystalrate = 30; _root.crystalcolors = [2, 3, 1]; _root.totaltime = 2700; _root.rockrate = 7; _root.rocktimer = _root.rockrate; } if (_root.curmap == 3) { _root.fallspd = 2; _root.jumpheight = 19; _root.jump2height = 15; _root.longjumpheight = 15; _root.shorthopheight = 12; _root.maxfall = 24; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [10, 40, 60, 12, 8, 20]; _root.spawnrate = 15; _root.crystalrate = 30; _root.crystalcolors = [3, 3]; _root.totaltime = 2700; } if (_root.curmap == 4) { _root.fallspd = 1.2; _root.jumpheight = 17; _root.jump2height = 17; _root.longjumpheight = 13; _root.shorthopheight = 10; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [900, 10, 50, 40, 1, 5]; _root.spawnrate = 10; _root.crystalrate = 20; _root.crystalcolors = [1, 3]; _root.totaltime = 3600; } if (_root.curmap == 5) { _root.fallspd = 0.8; _root.jumpheight = 16; _root.jump2height = 15; _root.longjumpheight = 12; _root.shorthopheight = 9; _root.maxfall = 15; _root.accel = 15; _root.airaccel = 13; _root.airdecel = 1.04; _root.rundecel = 1.06; _root.frequency = [40, 20, 20, 100, 8, 25]; _root.spawnrate = 13; _root.crystalrate = 30; _root.crystalcolors = [4, 3]; _root.totaltime = 1800; } if (_root.curmap == 6) { _root.fallspd = 0.7; _root.jumpheight = 9; _root.jump2height = 9; _root.longjumpheight = 7; _root.shorthopheight = 6; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [50, 5, 5, 5, 100, 20]; _root.spawnrate = 20; _root.crystalrate = 50; _root.crystalcolors = [4, 4]; _root.totaltime = 2700; } if (_root.curmap == 7) { _root.fallspd = 1.4; _root.jumpheight = 18; _root.jump2height = 17; _root.longjumpheight = 15; _root.shorthopheight = 12; _root.maxfall = 20; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [10, 40, 90, 8, 20, 20]; _root.spawnrate = 15; _root.crystalrate = 20; _root.crystalcolors = [1, 2, 3, 4]; _root.totaltime = 1800; } if (_root.curmap == 8) { _root._quality = 'LOW'; _root.fallspd = 0.8; _root.jumpheight = 15; _root.jump2height = 14; _root.longjumpheight = 11; _root.shorthopheight = 9; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [10, 10, 10, 10, 10, 2]; _root.spawnrate = 15; _root.crystalrate = 20; _root.crystalcolors = [4, 1, 4, 2, 4, 3]; _root.totaltime = 2700; } if (_root.curmap == 9) { _root.fallspd = 1.45; _root.jumpheight = 19; _root.jump2height = 19; _root.longjumpheight = 15; _root.shorthopheight = 12; _root.maxfall = 20; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [0, 0, 0, 99, 99, 99]; _root.spawnrate = 15; _root.crystalrate = 30; _root.crystalcolors = [4, 4]; _root.totaltime = 1500; } if (_root.curmap == 10) { _root.fallspd = 1; _root.jumpheight = 13; _root.jump2height = 12; _root.longjumpheight = 10; _root.shorthopheight = 8; _root.maxfall = 15; _root.accel = 3; _root.airaccel = 10; _root.airdecel = 1.2; _root.rundecel = 2; _root.frequency = [10, 10, 10, 10, 10, 0]; _root.spawnrate = 8; _root.crystalrate = 13; _root.crystalcolors = [1, 2, 3, 4]; _root.totaltime = 3600; } _root.score = 0; _root.dscore = 0; _root.ccrystal = 0; _root.laststars = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.starsgot = [0, 0, 0, 0, 0, 0]; _root.maxcombo = 1; _root.score2 = 0; _root.dscore2 = 0; _root.ccrystal2 = 0; _root.laststars2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _root.starsgot2 = [0, 0, 0, 0, 0, 0]; _root.maxcombo2 = 1; _root.started = false; _root.ended = false; _root.numstars = 0; _root.resultsscreen = false; _root.timeremain = _root.totaltime; _root.crystaltimer = _root.crystalrate; _root.startimer = _root.spawnrate; } } instance obj5 of movieClip 1968 { onClipEvent (load) { if (_root.curmap == 7) { this.swapDepths(11000); locations = [[30, 100], [30, 240], [190, 160]]; if (_root.curmap == 3) { timer = 240; } else { timer = 600; } _x = locations[0][0]; _y = locations[0][1]; } else { this.unloadMovie(); } } } instance obj4 of movieClip 1968 { onClipEvent (load) { if (_root.curmap == 7) { this.swapDepths(11001); locations = [[570, 70], [380, 280], [580, 250]]; if (_root.curmap == 3) { timer = 300; } else { timer = 450; } _x = locations[0][0]; _y = locations[0][1]; } else { this.unloadMovie(); } } } instance shadow of movieClip 120 shadow { onClipEvent (load) { scale = _xscale; } onClipEvent (enterFrame) { if (_root.multiplayer || _root.curchar != 1) { if (_root.started && !_root.resultsscreen) { _x = _root.char._x; if (_root.ground.hitTest(_root.char._x, _root.char._y + 3, true)) { _y = _root.char._y; } else { i = _root.char._y; while (i < _root.char._y + 250) { if (_root.ground.hitTest(_x, i, true)) { _y = Math.round(i); break; } i += 20; } while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; } } if ((_y - _root.char._y + 100) / 100 >= 1) { _xscale = scale / ((_y - _root.char._y + 100) / 100); } else { _xscale = scale; } _yscale = _xscale; if (_root.ground.hitTest(_x, _y + 3, true)) { _alpha = _xscale; } else { _alpha = 0; } } else { _alpha = 0; } } } } instance shadow2 of movieClip 120 shadow { onClipEvent (load) { scale = _xscale; } onClipEvent (enterFrame) { if (_root.multiplayer || _root.curchar == 1) { if (_root.started && !_root.resultsscreen) { _x = _root.char2._x; if (_root.ground.hitTest(_root.char2._x, _root.char2._y + 3, true)) { _y = _root.char2._y; } else { i = _root.char2._y; while (i < _root.char2._y + 250) { if (_root.ground.hitTest(_x, i, true)) { _y = Math.round(i); break; } i += 20; } while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; } } if ((_y - _root.char2._y + 100) / 100 >= 1) { _xscale = scale / ((_y - _root.char2._y + 100) / 100); } else { _xscale = scale; } _yscale = _xscale; if (_root.ground.hitTest(_x, _y + 3, true)) { _alpha = _xscale; } else { _alpha = 0; } } else { _alpha = 0; } } } } instance char of movieClip 863 { onClipEvent (load) { _root.wid = _width / 2; _root.hei = _height; _root.ix = -_xscale; _root.iy = _yscale; _root.cx = _x; _root.cy = _y; _root.invin = 0; this.swapDepths(9999); player2 = false; _root.ach3 = true; ach6 = true; _root.ach8 = true; ach9 = false; ach9t = 0; ach12t = true; _root.mbounced = 0; _root.mrockbreak = 0; _root.ufall = 0; _root.nplay = 0; _root.ach14 = [0, 0]; _root.ach17 = 0; _root.ach18 = [0, 0]; _root.ach20 = [0, 0]; checked25 = false; result25 = 1; _root.ach26 = 0; checked27 = false; result27 = 1; } onClipEvent (enterFrame) { if (_root.started) { if (_root.multiplayer || _root.curchar != 1) { _root.playercode(); } if (!checked25) { i = 1; while (i < 11) { if (_root['visited' + i] != 1 && _root['visitedM' + i] != 1) { result25 = 0; } ++i; } if (_root.achievement25 == 0 && result25 > 0) { _root.achievement25 = 1; _root.res.a21.gotoAndStop(5); _root.res.a21.r.play(); } checked25 = true; } if (!checked27) { i = 1; while (i < 11) { if (_root['visitedMP' + i] != 1) { result27 = 0; } ++i; } if (_root.achievement27 == 0 && result27 > 0) { _root.achievement27 = 1; _root.res.a21.gotoAndStop(7); _root.res.a21.r.play(); } checked27 = true; } } if (_root.achievement26 == 0 && _root.ach26 > 1) { _root.achievement26 = 1; _root.res.a21.gotoAndStop(6); _root.res.a21.r.play(); } if (_root.achievement4 == 0 && _root.timeremain > 1 && _root.curmap == 4) { if (_currentframe == 14 || _currentframe == 15) { _root.achievement4 = 1; _root.res.a.gotoAndStop(4); _root.res.a.r.play(); } } if (_root.achievement14 == 0) { if (_root.ach14[0] > 1 || _root.ach14[1] > 1) { _root.achievement14 = 1; _root.res.a11.gotoAndStop(4); _root.res.a11.r.play(); } } if (_root.achievement17 == 0 && _root.ach17 < 1 && _root.timeremain < 1) { _root.achievement17 = 1; _root.res.a11.gotoAndStop(7); _root.res.a11.r.play(); } if (_root.achievement18 == 0) { if (_root.ach18[0] > 2 || _root.ach18[1] > 2) { _root.achievement18 = 1; _root.res.a11.gotoAndStop(8); _root.res.a11.r.play(); } } if (_root.achievement20 == 0) { if (_root.ach20[0] > 1 || _root.ach20[1] > 1) { _root.achievement20 = 1; _root.res.a11.gotoAndStop(10); _root.res.a11.r.play(); } } if (_root.achievement19 == 0 && _root.curmap == 6 && _root.started && _root.timeremain > 30) { if (_root.heightbonus > 3 || _root.heightbonus2 > 3) { _root.achievement19 = 1; _root.res.a11.gotoAndStop(9); _root.res.a11.r.play(); } } if (!_root.multiplayer) { if (_root.achievement1 == 0 && _root.mbounced >= 4 && _root.curmap == 1) { _root.achievement1 = 1; _root.res.a.gotoAndStop(1); _root.res.a.r.play(); } if (_root.achievement2 == 0 && _root.mrockbreak >= 5 && _root.timeremain > 1 && _root.curmap == 2) { _root.achievement2 = 1; _root.res.a.gotoAndStop(2); _root.res.a.r.play(); } if (_root.achievement3 == 0 && _root.ach3 && _root.timeremain < 1 && _root.curmap == 3) { _root.achievement3 = 1; _root.res.a.gotoAndStop(3); _root.res.a.r.play(); } if (_root.achievement5 == 0 && _root.ufall >= 5 && _root.timeremain > 1 && _root.curmap == 5) { _root.achievement5 = 1; _root.res.a.gotoAndStop(5); _root.res.a.r.play(); } if (_root.achievement6 == 0 && _root.nplay >= 10 && _root.timeremain > 1 && _root.curmap == 6) { _root.achievement6 = 1; _root.res.a.gotoAndStop(6); _root.res.a.r.play(); } if (_root.achievement7 == 0 && _currentframe == 7 && _x > 50 && _x < 200 && _root.curmap == 7) { _root.achievement7 = 1; _root.res.a.gotoAndStop(7); _root.res.a.r.play(); } if (_root.achievement8 == 0 && _root.ach8 == true && _root.timeremain < 1 && _root.curmap == 8) { _root.achievement8 = 1; _root.res.a.gotoAndStop(8); _root.res.a.r.play(); } if (_root.achievement9 == 0 && ach9t > 10 && _root.timeremain > 1 && _root.curmap == 9) { _root.achievement9 = 1; _root.res.a.gotoAndStop(9); _root.res.a.r.play(); } if (_root.achievement11 == 0 && _root.dscore + _root.score > 100000) { _root.achievement11 = 1; _root.res.a11.gotoAndStop(1); _root.res.a11.r.play(); } if (_root.achievement12 == 0 && ach12t > 10 && _root.curmap == 9) { _root.achievement12 = 1; _root.res.a11.gotoAndStop(2); _root.res.a11.r.play(); } if (_root.slidebonus > 1 && _currentframe == 12 && anim._currentframe > 3) { ach9 = true; } if (ach9 == true && _currentframe != 12 && _currentframe != 22) { ++ach9t; } if (ach9 == true && _currentframe == 22) { ach9 = false; ach9t = -100; } if (_root.timeremain < 1 && _root.curmap == 9) { ach12t += 0.03333333333333333; } } if (_root.timeremain < 3585) { if (_root.timeremain > 1 && _root.started && _root.curmap == 10 && _root.curchar == 0 && !_root.multiplayer || _root.timeremain > 1 && _root.multiplayer && _root.started && _root.curmap == 10) { if (_x < -50) { _x = _x + 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.res.a.gotoAndStop(10); _root.res.a.r.play(); } } else { if (_x > 850) { _x = _x - 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.res.a.gotoAndStop(10); _root.res.a.r.play(); } } } } } } } movieClip 1972 { frame 1 { stop(); } frame 3 { _root.sribbon.start(0, 1); } frame 88 { gotoAndPlay('loop'); } } movieClip 1983 { frame 1 { stop(); } } movieClip 1985 { } movieClip 1987 { } button 1988 { on (rollOver) { _root.m01o = true; } on (rollOut) { _root.m01o = false; } on (release) { _root.wflash.play(); _root.musicplayin = false; if (_root.curmap == 9 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 2 || _root.playscenes)) { _root.targ = 'scene2'; } else { if (_root.curmap == 10 && _root.curchar == 0 && !_root.multiplayer && (_root.scu < 3 || _root.playscenes)) { _root.targ = 'scene3'; } else { _root.targ = 'ssel'; } } } } button 1989 { on (rollOver) { _root.m02o = true; } on (rollOut) { _root.m02o = false; } on (release) { _root.wflash.play(); _root.musicplayin = false; _root.targ = 'restart'; } } movieClip 1991 { } button 1992 { on (rollOver) { _root.m91o = true; } on (rollOut) { _root.m91o = false; } on (release) { _root.wflash.play(); _root.musicplayin = false; _root.targ = 'score'; } } button 1993 { on (rollOver) { _root.m92o = true; } on (rollOut) { _root.m92o = false; } on (release) { getURL('http://www.2pg.com/', '_blank'); } } movieClip 1994 { frame 1 { stop(); } frame 2 { if (_root.curmap != 9) { _root.shoverbuttons.start(0, 1); } } frame 15 { stop(); } } movieClip 1995 { } movieClip 2002 { instance of movieClip 1995 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); tenths.stop(); xsc = _xscale; ysc = _yscale; yox = ysc / xsc; spx = _x; } onClipEvent (enterFrame) { if (_root.curchar == 0) { val = _root.starsgot[_parent.color - 1]; } else { val = _root.starsgot2[_parent.color - 1]; } gotoAndStop(_parent.color); if (Math.floor(val) >= 100) { _x = spx + 25; } else { _x = spx; } if (val != undefined) { if (val > 0) { units.gotoAndStop(Math.floor(val) % 10 + 1); } else { units.gotoAndStop(1); } if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val > 0) { tenths.gotoAndStop(Math.floor(val * 10) % 10 + 1); } else { tenths.gotoAndStop(1); } } } } } movieClip 2004 { } movieClip 2006 { } movieClip 2007 { instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (_root.curchar == 0) { n = _root.dscore; } else { n = _root.dscore2; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; while (val % 5 != 0) { val -= 1; } } else { val += 1; } } } } else { val = n; } if (val >= _root['bestscore' + is2p + '' + _root.curmap]) { _parent.nh._alpha = 100; _parent.nh._xscale = 100 - (100 - _parent.nh._xscale) / 5; _parent.nh._yscale = _parent.nh._xscale; } else { _parent.nh._alpha = 0; } if (_root.curchar == 1) { is2p = 'M'; } else { is2p = ''; } if (n > _root['bestscore' + is2p + '' + _root.curmap]) { _root['bestscore' + is2p + '' + _root.curmap] = n; } if (val >= 100000) { _x = 16; } else { if (val > 1000000) { _x = 36; } else { _x = -4; } } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } movieClip 2009 { instance of movieClip 562 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); tenths.stop(); xsc = _xscale; ysc = _yscale; yox = ysc / xsc; } onClipEvent (enterFrame) { if (_root.curchar == 0) { val = _root.maxcombo; } else { val = _root.maxcombo2; } if (Math.floor(val) >= 100) { _x = 38; } else { _x = 26; } if (val != undefined) { if (val > 0) { units.gotoAndStop(Math.floor(val) % 10 + 1); } else { units.gotoAndStop(1); } if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val > 0) { tenths.gotoAndStop(Math.floor(val * 10) % 10 + 1); } else { tenths.gotoAndStop(1); } } } } } movieClip 2012 { } movieClip 2014 { } movieClip 2016 { } movieClip 2018 { } movieClip 2022 { } movieClip 2024 { } movieClip 2026 { } movieClip 2028 { } movieClip 2030 { } movieClip 2033 { } movieClip 2035 { } movieClip 2037 { } movieClip 2039 { } movieClip 2041 { } movieClip 2044 { } movieClip 2045 { } movieClip 2047 { } movieClip 2049 { } movieClip 2050 { } movieClip 2052 { } movieClip 2053 { } movieClip 2054 { frame 1 { stop(); } frame 43 { stop(); } } movieClip 2056 { } movieClip 2064 { } movieClip 2067 { frame 1 { stop(); } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][2]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][1]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][0]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][3]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][4]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } button 2068 { on (rollOver) { _root.m01o = true; } on (rollOut) { _root.m01o = false; } on (release) { _root.wflash.play(); _root.musicplayin = false; _root.targ = 'ssel'; } } movieClip 2069 { instance of movieClip 1995 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); tenths.stop(); xsc = _xscale; ysc = _yscale; yox = ysc / xsc; spx = _x; } onClipEvent (enterFrame) { if (_parent.char == 0) { val = _root.starsgot[_parent.color - 1]; } else { val = _root.starsgot2[_parent.color - 1]; } gotoAndStop(_parent.color); if (Math.floor(val) >= 100) { _x = spx + 25; } else { _x = spx; } if (val != undefined) { if (val > 0) { units.gotoAndStop(Math.floor(val) % 10 + 1); } else { units.gotoAndStop(1); } if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val > 0) { tenths.gotoAndStop(Math.floor(val * 10) % 10 + 1); } else { tenths.gotoAndStop(1); } } } } } movieClip 2073 { frame 1 { stop(); } } movieClip 2074 { instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (_parent.char == 0) { n = _root.dscore; } else { n = _root.dscore2; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; while (val % 5 != 0) { val -= 1; } } else { val += 1; } } } } else { val = n; } if (val >= _root['bestscore' + is2p + '' + _root.curmap]) { _parent.nh._alpha = 100; _parent.nh._xscale = 100 - (100 - _parent.nh._xscale) / 5; _parent.nh._yscale = _parent.nh._xscale; } else { _parent.nh._alpha = 0; } if (_root.curchar == 1) { is2p = 'M'; } else { is2p = ''; } if (n > _root['bestscore' + is2p + '' + _root.curmap]) { _root['bestscore' + is2p + '' + _root.curmap] = n; } if (val >= 100000) { _x = 16; } else { if (val > 1000000) { _x = 36; } else { _x = -4; } } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } movieClip 2075 { frame 1 { _root.newmap = false; } frame 1 { stop(); } instance a of movieClip 1983 { onClipEvent (load) { _alpha = 0; _yscale = 0; timer = 0; } onClipEvent (enterFrame) { if (r._currentframe != 1 && timer < 150) { _yscale = _yscale + (100 - _yscale) / 8; ++timer; _alpha = 100; } if (timer >= 150 && _alpha > 0) { _alpha = _alpha - 5; } if (_alpha < 0) { loadMovie('', this); } } } instance a11 of movieClip 585 { onClipEvent (load) { _alpha = 0; _yscale = 0; timer = 0; } onClipEvent (enterFrame) { if (r._currentframe != 1 && timer < 150) { _yscale = _yscale + (100 - _yscale) / 8; ++timer; _alpha = 100; } if (timer >= 150 && _alpha > 0) { _alpha = _alpha - 5; } if (_alpha < 0) { loadMovie('', this); } } } instance a21 of movieClip 596 { onClipEvent (load) { _alpha = 0; _yscale = 0; timer = 0; } onClipEvent (enterFrame) { if (r._currentframe != 1 && timer < 150) { _yscale = _yscale + (100 - _yscale) / 8; ++timer; _alpha = 100; } if (timer >= 150 && _alpha > 0) { _alpha = _alpha - 5; } if (_alpha < 0) { loadMovie('', this); } } } frame 2 { if (!_root.multiplayer) { if (_root.curchar == 0) { if (_root.curmap == _root.unlocks && _root.unlocks < 7 && _root.dscore > _root['medals' + _root.curmap][0]) { ++_root.unlocks; _root.newmap = true; } } else { if (_root.curmap == _root.unlocksM && _root.dscore2 > _root['medals' + _root.curmap][3]) { ++_root.unlocksM; _root.newmap = true; } } } } frame 2 { _root._quality = 'HIGH'; } instance of movieClip 1985 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } } } instance of movieClip 1987 { onClipEvent (load) { _alpha = -50; if (_root.no2pg) { _visible = false; } } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m92o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance of movieClip 601 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m01o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance of movieClip 604 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m02o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance of movieClip 1991 { onClipEvent (load) { _alpha = -50; } onClipEvent (enterFrame) { if (_alpha < 100) { _alpha = _alpha + 6; } if (_root.m91o) { _xscale = 120 - (120 - _xscale) / 5; _yscale = _xscale; } else { _xscale = 100 - (100 - _xscale) / 5; _yscale = _xscale; } } } instance c01 of movieClip 2002 { onClipEvent (load) { color = 1; gotoAndStop(color); } } instance c02 of movieClip 2002 { onClipEvent (load) { color = 2; gotoAndStop(color); } } instance c03 of movieClip 2002 { onClipEvent (load) { color = 3; gotoAndStop(color); } } instance c04 of movieClip 2002 { onClipEvent (load) { color = 4; gotoAndStop(color); } } instance c05 of movieClip 2002 { onClipEvent (load) { color = 5; gotoAndStop(color); } } instance c06 of movieClip 2002 { onClipEvent (load) { color = 6; gotoAndStop(color); } } instance of movieClip 130 { onClipEvent (load) { timer = 0; mxpos = []; txpos = []; i = 1; while (i < 15) { mxpos[i] = _parent['c0' + i]._x; _parent['c0' + i]._x += 800; ++i; } if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } sp = 1; } onClipEvent (enterFrame) { ++timer; i = 1; while (i < 15) { if (timer / 4 > i) { _parent['c0' + i]._x -= (_parent['c0' + i]._x - mxpos[i]) / 5; } if (timer / 4 - 8 > i && _parent['c0' + i].b._currentframe == 1) { _parent['c0' + i].b.play(); } ++i; } if (timer > 80 && _parent.c012.medal._currentframe == 1) { _root['srank' + _root['medal' + is2p + '' + _root.curmap]].start(0, 1); _parent.c012.medal.play(); } } } instance c012 of movieClip 2067 { onClipEvent (load) { iMedal = 0; timer = 20; } onClipEvent (enterFrame) { if (_root.newmap) { planet._alpha = 100; } if (_root.curchar == 0) { while (_root.dscore > _root['medals' + _root.curmap][iMedal]) { ++iMedal; } } else { while (_root.dscore2 > _root['medals' + _root.curmap][iMedal]) { ++iMedal; } } if (_root.curchar == 1 && !_root.multiplayer && iMedal < 4) { iMedal = 0; } if (_root.sunclear == 0 && iMedal == 4) { strikes.gotoAndStop(7); } else { strikes.gotoAndStop(iMedal + 1); } medal.m.gotoAndStop(iMedal + 1); if (_root.curchar == 0) { varm1 = 2; varm2 = 3; is2p = ''; } else { varm1 = 4; varm2 = 4; is2p = 'M'; } if (_root['medal' + is2p + '' + _root.curmap] == 5 && iMedal == 5) { _root.achievement15 = 1; _root.hud.a11.gotoAndStop(5); _root.hud.a11.r.play(); } if (iMedal > _root['medal' + is2p + '' + _root.curmap]) { _root['medal' + is2p + '' + _root.curmap] = iMedal; } if (iMedal == 5) { gotoAndStop(3); } else { if (iMedal >= 4 && _root.sunclear == 1) { gotoAndStop(3); } else { if (iMedal >= 3 || _root.curchar == 1 && !_root.multiplayer) { gotoAndStop(2); } else { gotoAndStop(1); } } } if (_root.curmap == 9 && _root.curchar == 0) { _root.sunclear = 1; if (_root.achievement29 == 0) { _root.achievement29 = 1; _root.res.a21.gotoAndStop(9); _root.res.a21.r.play(); } } if (_root.curmap == 10 && iMedal >= 4 && _root.curchar == 1) { if (_root.achievement30 == 0) { _root.achievement30 = 1; _root.res.a21.gotoAndStop(10); _root.res.a21.r.play(); } } if (timer < 1 && unlockcheck != true) { if (_root['unlocks' + is2p] == 7) { u7c = 0; i = 1; while (i < 8) { if (_root['medal' + is2p + '' + i] >= varm1) { ++u7c; } ++i; } if (u7c >= 7) { ++_root['unlocks' + is2p]; _root.newmap = true; } } if (_root['unlocks' + is2p] == 8) { u8c = 0; i = 1; while (i < 9) { if (_root['medal' + is2p + '' + i] >= varm2) { ++u8c; } ++i; } if (u8c >= 8) { ++_root['unlocks' + is2p]; _root.newmap = true; } } if (_root['unlocks' + is2p] == 9) { u9c = 0; i = 1; while (i < 10) { if (_root['medal' + is2p + '' + i] >= 4) { ++u9c; } ++i; } if (u9c >= 9) { ++_root['unlocks' + is2p]; _root.newmap = true; } } unlockcheck = true; } else { --timer; } } } frame 3 { _root._quality = 'HIGH'; } instance c01 of movieClip 2069 { onClipEvent (load) { color = 1; gotoAndStop(color); char = 0; } } instance c03 of movieClip 2069 { onClipEvent (load) { color = 2; gotoAndStop(color); char = 0; } } instance c05 of movieClip 2069 { onClipEvent (load) { color = 3; gotoAndStop(color); char = 0; } } instance c07 of movieClip 2069 { onClipEvent (load) { color = 4; gotoAndStop(color); char = 0; } } instance c09 of movieClip 2069 { onClipEvent (load) { color = 5; gotoAndStop(color); char = 0; } } instance c011 of movieClip 2069 { onClipEvent (load) { color = 6; gotoAndStop(color); char = 0; } } instance c02 of movieClip 2069 { onClipEvent (load) { color = 1; gotoAndStop(color); char = 1; } } instance c04 of movieClip 2069 { onClipEvent (load) { color = 2; gotoAndStop(color); char = 1; } } instance c06 of movieClip 2069 { onClipEvent (load) { color = 3; gotoAndStop(color); char = 1; } } instance c08 of movieClip 2069 { onClipEvent (load) { color = 4; gotoAndStop(color); char = 1; } } instance c010 of movieClip 2069 { onClipEvent (load) { color = 5; gotoAndStop(color); char = 1; } } instance c012 of movieClip 2069 { onClipEvent (load) { color = 6; gotoAndStop(color); char = 1; } } instance of movieClip 130 { onClipEvent (load) { timer = 0; mxpos = []; txpos = []; i = 1; while (i < 15) { mxpos[i] = _parent['c0' + i]._x; _parent['c0' + i]._x += 800; ++i; } if (_root.curchar == 0) { is2p = ''; } else { is2p = 'M'; } sp = 1; } onClipEvent (enterFrame) { ++timer; i = 1; while (i < 15) { if (timer / 4 > i) { _parent['c0' + i]._x -= (_parent['c0' + i]._x - mxpos[i]) / 5; } if (timer / 4 - 8 > i && _parent['c0' + i].b._currentframe == 1) { _parent['c0' + i].b.play(); } ++i; } } } instance of movieClip 2073 { onClipEvent (load) { if (_root.dscore > _root.dscore2) { gotoAndStop(1); } else { if (_root.dscore < _root.dscore2) { gotoAndStop(2); } else { gotoAndStop(3); } } } } instance c013 of movieClip 2074 { onClipEvent (load) { char = 0; } } instance c014 of movieClip 2074 { onClipEvent (load) { char = 1; } } } instance res of movieClip 2075 { onClipEvent (load) { this.swapDepths(15998); multed = false; offtimer = 0; hidehud = false; delhold = false; } onClipEvent (enterFrame) { if (Key.isDown(46) && !delhold) { if (hidehud) { hidehud = false; } else { hidehud = true; } delhold = true; } if (hidehud) { _visible = false; } else { _visible = true; } if (!Key.isDown(46)) { delhold = false; } if (_root.char._y <= -50000 && _root.curchar == 0 && !_root.multiplayer || _root.char2._y <= -50000 && _root.curchar == 1 && !_root.multiplayer || _root.char._y <= -50000 && _root.char2._y <= -50000 && _root.multiplayer) { if (offtimer < 200) { ++offtimer; } } if (_root.resultsscreen || offtimer > 120) { _root.sunsound.ssun.stop(); if (!_root.multiplayer) { if (_root.curchar == 1 && multed == false) { _root.dscore2 = Math.ceil(1.1 * _root.dscore2); multed = true; } gotoAndStop(2); } else { gotoAndStop(3); } } else { gotoAndStop(1); } } } movieClip 2076 { frame 7 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 24 { _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 35 { gotoAndPlay('run'); } } movieClip 2077 { frame 3 { _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = _x + 50 - -30 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= -0.4 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.4; ++_root.p; } frame 6 { stop(); } } movieClip 2078 { } movieClip 2079 { instance anim of movieClip 2076 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } frame 76 { if (_root.multiplayer) { _root['visitedMP' + _root.curmap] = 1; } else { _root['visited' + _root.curmap] = 1; } } instance anim of movieClip 2077 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 2078 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 759 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } frame 150 { if (_root.multiplayer || _root.curchar != 1) { _root.started = true; _root.char._x = 312.49875; _root.char._y = 415; _root.char.gotoAndStop(1); _root.char.anim.gotoAndStop(1); _root.attack = false; _root.xmo = 0; } stop(); } } instance walkin of movieClip 2079 { onClipEvent (enterFrame) { if (_root.paus || _root.paus2 || _root.curmap < 10) { anim.stop(); stop(); } else { if (_currentframe < 150) { if (_root.multiplayer || _root.curchar != 1) { anim.play(); play(); } } } if (_root.curmap < 10 || !_root.multiplayer && _root.curchar == 1) { _y = 9999; stop(); } if (_root.curmap == 12) { _y = -10; } } } movieClip 2080 { frame 7 { if (_parent._name == 'walkin2') { g = 800 - (_x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale))); } else { g = _x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale)); } _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = g; _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 24 { if (_parent._name == 'walkin2') { g = 800 - (_x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale))); } else { g = _x + 50 - 10 * (_parent._xscale / Math.abs(_parent._xscale)); } _root.attachMovie('drun', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = g; _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= 0.6 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.6; ++_root.p; } frame 35 { gotoAndPlay('run'); } } movieClip 2081 { frame 3 { if (_parent._name == 'walkin2') { g = 800 - (_x + 50 - -30 * (-_parent._xscale / Math.abs(_parent._xscale))); } else { g = _x + 50 - -30 * (_parent._xscale / Math.abs(_parent._xscale)); } _root.attachMovie('dturn', 'particle' + _root.p, _root.p); _root['particle' + _root.p]._x = g; _root['particle' + _root.p]._y = _y + 110; _root['particle' + _root.p]._xscale *= -0.4 * (_parent._xscale / Math.abs(_parent._xscale)); _root['particle' + _root.p]._yscale *= 0.4; ++_root.p; } frame 6 { stop(); } } movieClip 2082 { } movieClip 2083 { instance anim of movieClip 2080 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } frame 107 { if (_root.multiplayer) { _root['visitedMP' + _root.curmap] = 1; } else { _root['visitedM' + _root.curmap] = 1; } } instance anim of movieClip 2081 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 2082 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } instance anim of movieClip 930 { onClipEvent (load) { x = _parent._x; x = _parent._x; p2 = _parent.player2; if (p2) { dir = _root.dir2; } else { dir = _root.dir; } } } frame 154 { if (_root.multiplayer || _root.curchar == 1) { _root.started = true; _root.char2._x = 487.50125; _root.char2._y = 415; _root.char2._xscale = _root.ix; _root.char2.gotoAndStop(1); _root.char2.anim.gotoAndStop(1); _root.attack2 = false; _root.xmo2 = 0; } stop(); } } instance walkin2 of movieClip 2083 { onClipEvent (enterFrame) { if (_root.paus || _root.paus2 || _root.curmap != 10) { anim.stop(); stop(); } else { if (_currentframe < 150) { if (_root.multiplayer || _root.curchar == 1) { anim.play(); play(); } } } if (_root.curmap != 10 || !_root.multiplayer && _root.curchar != 1) { _y = 9999; stop(); } } } instance char2 of movieClip 972 { onClipEvent (load) { stop(); this.swapDepths(9998); if (_root.multiplayer || !_root.multiplayer && _root.curchar == 1) { player2 = true; } else { this.removeMovieClip(); loadMovie('', this); } _root.invin2 = 0; _root.invin = 0; _root.ach3 = true; ach6 = true; ach9 = false; ach9t = 0; ach12t = true; _root.mbounced = 0; _root.mrockbreak = 0; _root.ufall = 0; _root.nplay = 0; } onClipEvent (enterFrame) { if (_root.started) { if (_root.multiplayer || _root.curchar == 1) { _root.player2code(); } } if (!_root.multiplayer && _root.curchar == 1) { if (_root.achievement1 == 0 && _root.mbounced >= 4 && _root.curmap == 1) { _root.achievement1 = 1; _root.hud.a.gotoAndStop(1); _root.hud.a.r.play(); } if (_root.achievement2 == 0 && _root.mrockbreak >= 5 && _root.timeremain > 1 && _root.curmap == 2) { _root.achievement2 = 1; _root.hud.a.gotoAndStop(2); _root.hud.a.r.play(); } if (_root.achievement3 == 0 && _root.ach3 && _root.timeremain < 1 && _root.curmap == 3) { _root.achievement3 = 1; _root.hud.a.gotoAndStop(3); _root.hud.a.r.play(); } if (_root.achievement4 == 0 && _root.timeremain > 1 && _root.curmap == 4) { if (_currentframe == 14 || _currentframe == 15) { _root.achievement4 = 1; _root.hud.a.gotoAndStop(4); _root.hud.a.r.play(); } } if (_root.achievement5 == 0 && _root.ufall >= 5 && _root.timeremain > 1 && _root.curmap == 5) { _root.achievement5 = 1; _root.hud.a.gotoAndStop(5); _root.hud.a.r.play(); } if (_root.achievement6 == 0 && _root.nplay >= 10 && _root.timeremain > 1 && _root.curmap == 6) { _root.achievement6 = 1; _root.hud.a.gotoAndStop(6); _root.hud.a.r.play(); } if (_root.achievement7 == 0 && _currentframe == 7 && _x > 50 && _x < 200 && _root.curmap == 7) { _root.achievement7 = 1; _root.hud.a.gotoAndStop(7); _root.hud.a.r.play(); } if (_root.achievement9 == 0 && ach9t > 10 && _root.timeremain > 1 && _root.curmap == 9) { _root.achievement9 = 1; _root.hud.a.gotoAndStop(9); _root.hud.a.r.play(); } if (_root.achievement11 == 0 && _root.dscore + _root.score > 100000) { _root.achievement11 = 1; _root.hud.a11.gotoAndStop(1); _root.hud.a11.r.play(); } if (_root.achievement12 == 0 && ach12t > 30 && _root.curmap == 9) { _root.achievement12 = 1; _root.hud.a11.gotoAndStop(2); _root.hud.a11.r.play(); } if (_root.slidebonus > 1 && _currentframe == 12 && anim._currentframe > 3) { ach9 = true; } if (ach9 == true && _currentframe != 12 && _currentframe != 22) { ++ach9t; } if (ach9 == true && _currentframe == 22) { ach9 = false; ach9t = -100; } if (_root.timeremain < 1 && _root.curmap == 9) { ach12t += 0.03333333333333333; } } if (_root.timeremain < 3585) { if (_root.timeremain > 1 && _root.started && _root.curmap == 10 && _root.curchar == 1 && !_root.multiplayer || _root.timeremain > 1 && _root.multiplayer && _root.started && _root.curmap == 10 || _root.timeremain > 1 && _root.curchar == 1 && _root.started && _root.curmap == 10) { if (_x < -50) { _x = _x + 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.hud.a.gotoAndStop(10); _root.hud.a.r.play(); } } else { if (_x > 850) { _x = _x - 900; if (_root.achievement10 == 0) { _root.achievement10 = 1; _root.hud.a.gotoAndStop(10); _root.hud.a.r.play(); } } } } } } } movieClip 2086 { } movieClip 2089 { } movieClip 2096 { frame 1 { stop(); } frame 2 { _root.starsound.slightwarn.start(0, 1); } } instance warn of movieClip 2096 { onClipEvent (enterFrame) { _x = _root.char._x; _y = _root.char._y; } } instance warn2 of movieClip 2096 { onClipEvent (enterFrame) { _x = _root.char2._x; _y = _root.char2._y; } } movieClip 2097 { } movieClip 2099 { } movieClip 2101 { } movieClip 2112 { } movieClip 2114 { } movieClip 2116 { } movieClip 2118 { } movieClip 2120 { } movieClip 2122 { } movieClip 2124 { } movieClip 2126 { } movieClip 2128 { } movieClip 2129 { } movieClip 2130 { } movieClip 2131 { } movieClip 2132 { } movieClip 2133 { } movieClip 2146 { frame 1 { if (_root.curmap == 6 || _root.curmap == 10 && _x > 134 && _x < 226) { gotoAndPlay('wet'); } } frame 10 { this.removeMovieClip(); } frame 24 { this.removeMovieClip(); } } movieClip 2148 { } movieClip 2149 { } movieClip 2150 { } movieClip 2151 { } movieClip 2152 { } movieClip 2154 { } movieClip 2156 { } movieClip 2157 { } movieClip 2159 { } movieClip 2161 { } movieClip 2162 { } movieClip 2164 { } movieClip 2165 { } movieClip 2167 { } movieClip 2168 { } movieClip 2169 { } movieClip 2171 { } movieClip 2172 { } movieClip 2173 { } movieClip 2174 { } movieClip 2175 { } movieClip 2176 { } movieClip 2177 { } movieClip 2178 { } movieClip 2179 { } movieClip 2180 { } movieClip 2181 { } movieClip 2185 { } movieClip 2186 { } movieClip 2187 { } movieClip 2188 { } movieClip 2190 { } movieClip 2192 { } movieClip 2193 { } movieClip 2194 { } movieClip 2195 { } movieClip 2197 { } movieClip 2198 { frame 10 { this.removeMovieClip(); loadMovie('', this); } } movieClip 2200 { } movieClip 2202 { } movieClip 2204 { } movieClip 2205 { } movieClip 2208 { frame 53 { if (_root.curmap == 7) { _parent.canPlay = false; gotoAndPlay('venus'); } } frame 83 { prevFrame(); } frame 103 { _root.smeteorflamehit.start(0, 1); } frame 103 { _parent.bork.play(); } frame 154 { _root.sturn.start(0, 1); } frame 169 { _root.ssurprise.start(0, 1); } frame 187 { _parent.canPlay = true; } frame 216 { prevFrame(); } } movieClip 2210 { } movieClip 2211 { } movieClip 2212 { frame 1 { stop(); } } movieClip 2217 { } movieClip 2218 { frame 1 { stop(); } frame 14 { stop(); } } movieClip 2219 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 2221 { } movieClip 2222 { } movieClip 2224 { } movieClip 2225 { } movieClip 2227 { } movieClip 2228 { frame 68 { gotoAndPlay(1); } } movieClip 2230 { } movieClip 2232 { } movieClip 2234 { } movieClip 2236 { } movieClip 2238 { } movieClip 2240 { } movieClip 2242 { } movieClip 2244 { } movieClip 2246 { } movieClip 2248 { } movieClip 2249 { frame 20 { stop(); } } movieClip 2250 { } movieClip 2252 { } movieClip 2254 { } movieClip 2255 { } movieClip 2256 { } movieClip 2258 { } movieClip 2259 { } movieClip 2262 { frame 21 { this.removeMovieClip(); } } movieClip 2263 { frame 16 { _root.sedesc.start(0, 1); } frame 42 { _root.selegs.start(0, 1); } frame 63 { _root.seland.start(0, 1); } frame 87 { _root.sjumpa.start(0, 1); } frame 88 { _root.seastrojump.start(0, 1); } frame 92 { _root.saflip.start(0, 1); } instance of movieClip 2212 { onClipEvent (load) { if (_root.curmap == 7) { _x = _x - 999; } } } instance bork of movieClip 2218 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 116 { if (_root.multiplayer) { _root['visitedMP' + _root.curmap] = 1; } else { _root['visitedM' + _root.curmap] = 1; } } frame 119 { _root.saland.start(0, 1); } frame 156 { _root.started = true; if (_root.curmap == 9) { _root.char2._x = 455.50125; _root.char2._y = 388; } else { _root.char2._x = 475.50125; _root.char2._y = 418; } _root.char2._xscale *= -1; _root.char2.gotoAndStop(1); _root.char2.anim.gotoAndStop(1); _root.attack2 = false; _root.xmo2 = 0; } instance a of movieClip 2219 { onClipEvent (load) { if (_root.curmap == 7) { _x = _x - 999; } } onClipEvent (enterFrame) { if (_root.char2._x > 550) { if (_currentframe == 1) { play(); } else { if (_currentframe > 7) { gotoAndPlay(3); } } } else { if (_currentframe == 7) { play(); } else { if (_currentframe < 7 && _currentframe != 1) { gotoAndPlay(10); } } } } } instance arrow of movieClip 2222 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_root.curmap != 7) { if (_alpha < 100 && _root.score2 >= 200 && _parent._currentframe < 160) { _alpha = _alpha + 3; } if (_root.score2 < 200 && _alpha >= 0 && _parent._currentframe < 160) { _alpha = _alpha - 10; } } } } instance of movieClip 2202 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 158 { gotoAndPlay(_currentframe - 1); } frame 159 { _root.ended = true; _root.char2.gotoAndStop(3); if (_root.curmap == 7) { gotoAndPlay('rock'); } } instance of movieClip 130 { onClipEvent (enterFrame) { _parent.arrow._alpha -= 10; } } frame 170 { _root.seastrojump.start(0, 1); } frame 181 { _root.selegs.start(0, 1); } frame 190 { _root.sedesc.start(0, 1); } frame 230 { _root.resultsscreen = true; } frame 232 { gotoAndPlay(_currentframe - 1); } instance of movieClip 2202 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 253 { _root.smeteorkick.start(0, 1); } frame 297 { _root.seastrojump.start(0, 1); } frame 308 { _root.selegs.start(0, 1); } frame 317 { _root.sedesc.start(0, 1); } frame 355 { _root.resultsscreen = true; } frame 357 { gotoAndPlay(_currentframe - 1); } } instance intro2 of movieClip 2263 { onClipEvent (load) { canPlay = true; } onClipEvent (enterFrame) { if (_root.paus || _root.paus2 || _root.curmap >= 10 || !canPlay || !_root.multiplayer && _root.curchar != 1) { stop(); } else { play(); } if (_root.curmap == 9) { _x = 775; _y = 163; } else { _x = 795; _y = 193; } if (_root.curmap >= 10 || !_root.multiplayer && _root.curchar != 1) { _y = 9999; } } } movieClip 2265 { } movieClip 2267 { } movieClip 2281 { } movieClip 2283 { } movieClip 2285 { } movieClip 2287 { } movieClip 2289 { } movieClip 2291 { } movieClip 2293 { } movieClip 2294 { } movieClip 2295 { } movieClip 2296 { } movieClip 2298 { } movieClip 2299 { } movieClip 2300 { } movieClip 2301 { frame 53 { if (_root.curmap == 7) { _parent.canPlay = false; gotoAndPlay('venus'); } } frame 83 { prevFrame(); } frame 103 { _root.smeteorflamehit.start(0, 1); } frame 103 { _parent.bork.play(); } frame 154 { _root.sturn.start(0, 1); } frame 169 { _root.ssurprise.start(0, 1); } frame 187 { _parent.canPlay = true; } frame 216 { prevFrame(); } } movieClip 2302 { } movieClip 2303 { } movieClip 2304 { frame 1 { stop(); } frame 2 { _root.depositedFirstTime = true; } } movieClip 2305 { } movieClip 2306 { frame 1 { stop(); } frame 14 { stop(); } } movieClip 2307 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 2308 { } movieClip 2309 { } movieClip 2311 { } movieClip 2312 { } movieClip 2313 { } movieClip 2315 { } movieClip 2316 { } movieClip 2317 { } movieClip 2318 { } movieClip 2319 { } movieClip 2320 { } movieClip 2321 { } movieClip 2322 { } movieClip 2323 { frame 20 { stop(); } } movieClip 2324 { frame 3 { _root.sedesc.start(0, 1); } frame 29 { _root.selegs.start(0, 1); } frame 50 { _root.seland.start(0, 1); } frame 74 { _root.sjumpa.start(0, 1); } frame 75 { _root.seastrojump.start(0, 1); } frame 79 { _root.saflip.start(0, 1); } instance of movieClip 2304 { onClipEvent (load) { if (_root.curmap == 7) { _x = _x - 999; } } } instance bork of movieClip 2306 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 106 { if (_root.multiplayer) { _root['visitedMP' + _root.curmap] = 1; } else { _root['visited' + _root.curmap] = 1; } } frame 106 { _root.saland.start(0, 1); } frame 157 { _root.started = true; if (_root.curmap == 9) { _root.char._x = 332.49875; _root.char._y = 385; } else { _root.char._x = 312.49875; _root.char._y = 415; } _root.char.gotoAndStop(1); _root.char.anim.gotoAndStop(1); _root.attack = false; _root.xmo = 0; } instance a of movieClip 2307 { onClipEvent (load) { if (_root.curmap == 7) { _x = _x - 999; } } onClipEvent (enterFrame) { if (_root.char._x < 250) { if (_currentframe == 1) { play(); } else { if (_currentframe > 7) { gotoAndPlay(3); } } } else { if (_currentframe == 7) { play(); } else { if (_currentframe < 7 && _currentframe != 1) { gotoAndPlay(10); } } } } } instance arrow of movieClip 2309 { onClipEvent (load) { _alpha = 0; } onClipEvent (enterFrame) { if (_root.curmap != 7) { if (_alpha < 100 && _root.score >= 200 && _parent._currentframe < 160) { _alpha = _alpha + 3; } if (_root.score < 200 && _alpha >= 0 && _parent._currentframe < 160) { _alpha = _alpha - 10; } } } } instance of movieClip 2298 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 159 { gotoAndPlay(_currentframe - 1); } frame 160 { _root.ended = true; _root.char.gotoAndStop(3); if (_root.curmap == 7) { gotoAndPlay('rock'); } } instance of movieClip 130 { onClipEvent (enterFrame) { _parent.arrow._alpha -= 10; } } frame 167 { _root.char.gotoAndStop(3); _root.char2.gotoAndStop(3); } frame 168 { _root.seastrojump.start(0, 1); } frame 179 { _root.selegs.start(0, 1); } frame 188 { _root.sedesc.start(0, 1); } frame 231 { _root.resultsscreen = true; } frame 233 { gotoAndPlay(_currentframe - 1); } instance of movieClip 2298 { onClipEvent (load) { if (_root.curmap != 7) { _x = _x - 999; } } } frame 251 { _root.smeteorkick.start(0, 1); } frame 295 { _root.seastrojump.start(0, 1); } frame 306 { _root.selegs.start(0, 1); } frame 315 { _root.sedesc.start(0, 1); } frame 356 { _root.resultsscreen = true; } frame 358 { gotoAndPlay(_currentframe - 1); } } instance intro of movieClip 2324 { onClipEvent (load) { canPlay = true; if (_root.curchar == 1) { is2p = 'M'; } else { is2p = ''; } visitedany = false; i = 1; while (i < 11) { if (_root['visitedMP' + i] == 1) { visitedany = true; } ++i; } if (_root.curmap == 12 || _root.multiplayer && visitedany == false || _root.multiplayer && _root.playscenes == 1 || !_root.multiplayer && (_root['visited' + is2p + '' + _root.curmap] == 0 || _root.playscenes == 1)) { _root.playScene = true; } else { _root.playScene = false; } } onClipEvent (enterFrame) { if (_root.paus || _root.paus2 || _root.curmap == 10 || _root.curmap >= 9 && !_root.multiplayer || !canPlay || !_root.multiplayer && _root.curchar != 0) { stop(); } else { play(); } if (_root.curmap > 10) { _y = 9999; } if (!_root.paus && !_root.paus2) { if (_root.curmap >= 9 && !_root.multiplayer || _root.curmap == 10 || !_root.multiplayer && _root.curchar != 0) { _y = 9999; } else { if (_root.curmap == 9) { _x = 20; _y = 163; } else { _x = 0; _y = 193; } } } } } movieClip 2327 { } movieClip 2328 { } movieClip 2329 { } movieClip 2332 { } movieClip 2333 { } movieClip 2335 { instance of movieClip 2327 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _x = startx + 100 * Math.sin(gah); if (this.hitTest(_root.char._x, _root.char._y + 3, true) && _root.landed) { _root.char._x += Math.cos(gah) * 5; } if (this.hitTest(_root.char2._x, _root.char2._y + 3, true) && _root.landed2) { _root.char2._x += Math.cos(gah) * 5; } } } } instance of movieClip 2327 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _x = startx - 100 * Math.sin(gah); if (this.hitTest(_root.char._x, _root.char._y + 3, true) && _root.landed) { _root.char._x -= Math.cos(gah) * 5; } if (this.hitTest(_root.char2._x, _root.char2._y + 3, true) && _root.landed2) { _root.char2._x -= Math.cos(gah) * 5; } } } } instance of movieClip 2328 { onClipEvent (load) { starty = _y; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { gah += 0.05; _y = starty + 100 * Math.sin(gah); if (this.hitTest(_root.char._x, _root.char._y + 10, true) && _root.landed) { _root.char._y = starty + 100 * Math.sin(gah) - 5; } if (this.hitTest(_root.char2._x, _root.char2._y + 10, true) && _root.landed2) { _root.char2._y = starty + 100 * Math.sin(gah) - 5; } } } } instance of movieClip 2329 { onClipEvent (enterFrame) { if (_root.timeremain < 1) { _y = 1000; } } } instance of movieClip 2329 { onClipEvent (enterFrame) { if (_root.timeremain < 1) { _y = 1000; } } } instance of movieClip 2332 { onClipEvent (load) { startx = _x; gah = -0.5235987755982988; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (!_root.multiplayer) { gah += 0.025; _x = startx + 50 * Math.sin(gah); if (this.hitTest(_root.char._x, _root.char._y + 3, true) && _root.landed) { _root.char._x += Math.cos(gah) * 1.25; } if (this.hitTest(_root.char2._x, _root.char2._y + 3, true) && _root.landed2) { _root.char2._x += Math.cos(gah) * 1.25; } } else { _y = 9999; } } } } instance of movieClip 2332 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { if (_root.paus == false && _root.paus2 == false) { if (_root.curchar == 0 && !_root.multiplayer) { gah -= 0.025; _x = startx + 50 * Math.sin(gah); if (this.hitTest(_root.char._x, _root.char._y + 3, true) && _root.landed) { _root.char._x -= Math.cos(gah) * 1.25; } if (this.hitTest(_root.char2._x, _root.char2._y + 3, true) && _root.landed2) { _root.char2._x -= Math.cos(gah) * 1.25; } } else { _y = 9999; } } } } instance of movieClip 2332 { onClipEvent (load) { startx = _x; gah = 0; } onClipEvent (enterFrame) { _x = startx + 50 * Math.sin(gah); if (_root.paus == false && _root.paus2 == false && _root.started) { gah += 0.025; if (this.hitTest(_root.char._x, _root.char._y + 3, true) && _root.landed) { _root.char._x += Math.cos(gah) * 1.25; } if (this.hitTest(_root.char2._x, _root.char2._y + 3, true) && _root.landed2) { _root.char2._x += Math.cos(gah) * 1.25; } if (_root.char._y > 413 && _root.curchar == 0 && !_root.multiplayer) { _root.attack = true; _root.started = false; _root.char.gotoAndStop('DEATH'); } if (_root.curchar == 1 || _root.multiplayer) { if (_root.char._y > 413 && (_root.char._currentframe > 17 || _root.char._currentframe < 14)) { _root.sburn.start(0, 1); _root.attachMovie('get7', 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _root.char._x; _root['trail' + _root.i]._y = _root.char._y - 20; ++_root.i; _root.hurtChar(16, 20, 9001, 1000, 1000); } if (_root.char2._y > 413 && (_root.char2._currentframe > 17 || _root.char2._currentframe < 14)) { _root.sburn.start(0, 1); _root.attachMovie('get7', 'trail' + _root.i, _root.i + 10000); _root['trail' + _root.i]._x = _root.char2._x; _root['trail' + _root.i]._y = _root.char2._y - 20; ++_root.i; _root.hurtChar2(16, 20, 9001, 1000, -200); } } } } } instance of movieClip 2333 { onClipEvent (load) { if (_root.curchar == 0 && !_root.multiplayer) { _y = 9999; } else { _y = 412; } } } instance of movieClip 2333 { onClipEvent (load) { if (!_root.multiplayer) { _y = 9999; } else { _y = 412; } } } } instance ground of movieClip 2335 { onClipEvent (load) { gotoAndStop(_root.curmap); } } movieClip 2337 { } instance walls of movieClip 2337 { onClipEvent (enterFrame) { if (_root.curmap == 10) { _y = -20000; } } } movieClip 2339 { } instance obj3 of movieClip 2339 { onClipEvent (load) { if (_root.curmap == 6) { _x = 145; _y = 380; } } onClipEvent (enterFrame) { if (_root.curmap == 6 && _root.timeremain < 1) { _alpha = _alpha - 10; } } } movieClip 2341 { } instance obj7 of movieClip 2341 { onClipEvent (load) { if (_root.curmap == 10) { _x = 400; this.swapDepths(12000); } } } movieClip 2342 { } movieClip 2344 { } movieClip 2351 { } movieClip 2353 { } movieClip 2354 { } movieClip 2355 { } movieClip 2356 { } movieClip 2358 { } movieClip 2359 { } movieClip 2361 { } movieClip 2365 { frame 10 { this.removeMovieClip(); } } movieClip 2366 { frame 10 { this.removeMovieClip(); loadMovie('', this); } } movieClip 2369 { } movieClip 2400 { frame 6 { _root.sgetsound0.setVolume(_root.soundvol); } frame 22 { _root.sedesc.start(0, 1); } frame 79 { _root.seastrojump.start(0, 1); } frame 94 { _root.seland.start(0, 1); } frame 96 { _root.smercurymain.start(0, 1); } frame 97 { _root['visited' + _root.curmap] = 1; } frame 151 { _root.smercurymain.start(0, 1); } frame 231 { _root.started = true; _root.char._x = 398; _root.char._y = 415; _root.char.gotoAndStop(1); _root.char.anim.gotoAndStop(1); _root.attack = false; _root.xmo = 0; } frame 233 { prevFrame(); } } instance introsun of movieClip 2400 { onClipEvent (enterFrame) { if (_root.curchar == 0) { if (_root.paus || _root.paus2 || _root.curmap != 9 || _root.multiplayer) { stop(); } else { play(); } if (!_root.paus && !_root.paus2 && _root.curmap == 9 && !_root.multiplayer) { _x = 0; _y = 217; } } else { stop(); } } } movieClip 2401 { } instance roofs of movieClip 2401 { onClipEvent (enterFrame) { if (_root.curmap == 10 && _root.timeremain < 1) { _y = 2000; } } } movieClip 2403 { } instance obj3 of movieClip 2403 { onClipEvent (load) { if (_root.curmap == 6) { _x = 701; _y = 380; } } onClipEvent (enterFrame) { if (_root.curmap == 6 && _root.timeremain < 1) { _alpha = _alpha - 10; } } } movieClip 2409 { } movieClip 2412 { frame 1 { stop(); } } movieClip 2414 { instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][0]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][1]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][2]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][3]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][4]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { val = _root['medals' + _root.curmap][3]; if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } } movieClip 2416 { } movieClip 2417 { } movieClip 2419 { frame 1 { stop(); } frame 49 { _root.slidebonus = 1; _root.slidecaught = 0; val = _root.slidebonus; gotoAndStop(1); } } movieClip 2420 { frame 1 { stop(); } frame 49 { _root.slidebonus2 = 1; _root.slidecaught2 = 0; val = _root.slidebonus2; gotoAndStop(1); } } movieClip 2424 { } movieClip 2446 { } movieClip 2448 { } movieClip 2449 { } movieClip 2451 { } movieClip 2453 { } movieClip 2454 { } movieClip 2455 { frame 20 { stop(); } frame 37 { stop(); } } movieClip 2457 { } movieClip 2459 { } movieClip 2461 { } movieClip 2463 { } movieClip 2466 { } movieClip 2468 { } movieClip 2470 { } movieClip 2472 { } movieClip 2474 { } movieClip 2476 { } movieClip 2478 { } movieClip 2480 { } movieClip 2482 { } movieClip 2483 { } movieClip 2485 { } movieClip 2486 { } movieClip 2487 { } movieClip 2488 { frame 20 { stop(); } frame 37 { stop(); } } movieClip 2490 { } movieClip 2492 { } movieClip 2494 { } movieClip 2496 { } movieClip 2498 { } movieClip 2500 { } movieClip 2502 { } movieClip 2518 { } movieClip 2520 { } movieClip 2521 { } movieClip 2522 { } movieClip 2523 { } movieClip 2525 { } movieClip 2527 { } movieClip 2529 { } movieClip 2531 { } movieClip 2533 { } movieClip 2535 { } movieClip 2536 { } movieClip 2537 { } movieClip 2538 { } movieClip 2539 { } movieClip 2540 { frame 20 { stop(); } frame 37 { stop(); } } movieClip 2542 { } movieClip 2545 { } movieClip 2548 { } movieClip 2549 { instance of movieClip 2548 { onClipEvent (load) { if (_root.boobs) { _visible = false; } } } } movieClip 2551 { } movieClip 2553 { } movieClip 2555 { } movieClip 2562 { } movieClip 2564 { } movieClip 2566 { } movieClip 2568 { } movieClip 2570 { } movieClip 2572 { } movieClip 2574 { } movieClip 2576 { } movieClip 2577 { } movieClip 2578 { } movieClip 2580 { } movieClip 2582 { } movieClip 2584 { } movieClip 2586 { } movieClip 2587 { } movieClip 2588 { } movieClip 2589 { } movieClip 2590 { } movieClip 2591 { frame 20 { stop(); } frame 37 { stop(); } } movieClip 2592 { } movieClip 2601 { } movieClip 2616 { instance of movieClip 130 { onClipEvent (release) { getURL('http://www.newgrounds.com/portal/view/509312', '_blank'); } } } movieClip 2627 { } movieClip 2638 { } movieClip 2648 { } movieClip 2660 { } movieClip 2669 { } movieClip 2684 { } movieClip 2697 { } movieClip 2710 { } movieClip 2721 { } movieClip 2729 { } movieClip 2732 { } movieClip 2733 { frame 1 { stop(); } } movieClip 2735 { } movieClip 2737 { } movieClip 2739 { } movieClip 2742 { } movieClip 2744 { } movieClip 2746 { } movieClip 2748 { } movieClip 2750 { } movieClip 2752 { } movieClip 2754 { } movieClip 2756 { } movieClip 2758 { } movieClip 2760 { } movieClip 2762 { } movieClip 2764 { } movieClip 2766 { } movieClip 2768 { } movieClip 2770 { } movieClip 2772 { } movieClip 2774 { } movieClip 2776 { } movieClip 2778 { } movieClip 2780 { } movieClip 2782 { } movieClip 2784 { } movieClip 2786 { } movieClip 2788 { } movieClip 2790 { } movieClip 2792 { } movieClip 2794 { } movieClip 2796 { } movieClip 2798 { } movieClip 2800 { } movieClip 2802 { } movieClip 2804 { } movieClip 2806 { } movieClip 2808 { } movieClip 2810 { } movieClip 2812 { } movieClip 2814 { } movieClip 2816 { } movieClip 2818 { } movieClip 2820 { } movieClip 2822 { } movieClip 2824 { } movieClip 2826 { } movieClip 2828 { } movieClip 2830 { } movieClip 2832 { } movieClip 2834 { } movieClip 2836 { } movieClip 2838 { } movieClip 2840 { } movieClip 2842 { } movieClip 2844 { } movieClip 2846 { } movieClip 2848 { } movieClip 2850 { } movieClip 2852 { } movieClip 2854 { } movieClip 2856 { } movieClip 2858 { } movieClip 2860 { } movieClip 2862 { } movieClip 2864 { } movieClip 2866 { } movieClip 2868 { } movieClip 2870 { } movieClip 2872 { } movieClip 2874 { } movieClip 2876 { } movieClip 2878 { } movieClip 2880 { } movieClip 2882 { } movieClip 2884 { } movieClip 2886 { } movieClip 2888 { } movieClip 2890 { } movieClip 2892 { } movieClip 2894 { } movieClip 2896 { } movieClip 2898 { } movieClip 2900 { } movieClip 2902 { } movieClip 2904 { } movieClip 2906 { } movieClip 2908 { } movieClip 2910 { } movieClip 2912 { } movieClip 2914 { } movieClip 2916 { } movieClip 2917 { } movieClip 2920 { } movieClip 2921 { frame 1 { stop(); } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 0) { n = _root.score; } if (_root.curchar == 1) { n = _root.score2; } } else { n = _root.score2; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; } else { val += 1; } } } } else { val = n; } while (_root.score % 5 != 0) { _root.score = Math.floor(_root.score) - 1; } while (_root.score2 % 5 != 0) { _root.score2 = Math.floor(_root.score2) - 1; } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 2409 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 0) { gotoAndStop(_root.heightbonus); } else { gotoAndStop(_root.heightbonus2); } } else { gotoAndStop(_root.heightbonus2); } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 0) { n = _root.dscore; } if (_root.curchar == 1) { n = _root.dscore2; } } else { n = _root.dscore; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; while (val % 5 != 0) { val -= 1; } } else { val += 1; } } } } else { val = n; } if (val >= 100000) { _x = -319; } else { if (val > 1000000) { _x = -299; } else { _x = -339; } } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer) { _y = -500; } else { _y = -192; n = _root.score; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; } else { val += 1; } } } } else { val = n; } while (_root.score % 5 != 0) { _root.score = Math.floor(_root.score) - 1; } while (_root.score2 % 5 != 0) { _root.score2 = Math.floor(_root.score2) - 1; } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 2409 { onClipEvent (load) { stop(); } onClipEvent (enterFrame) { if (!_root.multiplayer) { _y = -500; } else { _y = -176; gotoAndStop(_root.heightbonus); } } } instance of movieClip 1261 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); thousands.stop(); tthousands.stop(); hthousands.stop(); millions.stop(); val = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer) { _y = -500; } else { _y = -192; n = _root.dscore2; } if (val < n - 1) { if (val < n - 2000) { val += 500; } else { if (val < n - 200) { val += 50; } else { if (val < n - 20) { val += 5; while (val % 5 != 0) { val -= 1; } } else { val += 1; } } } } else { val = n; } if (val >= 100000) { _x = 121; } else { if (val > 1000000) { _x = 141; } else { _x = 101; } } if (val != undefined) { units.gotoAndStop(val % 10 + 1); if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 2); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val >= 1000) { thousands.gotoAndStop(Math.floor(val / 1000) % 10 + 2); } else { thousands.gotoAndStop(1); } if (val >= 10000) { tthousands.gotoAndStop(Math.floor(val / 10000) % 10 + 2); } else { tthousands.gotoAndStop(1); } if (val >= 100000) { hthousands.gotoAndStop(Math.floor(val / 100000) % 10 + 2); } else { hthousands.gotoAndStop(1); } if (val >= 1000000) { millions.gotoAndStop(Math.floor(val / 1000000) % 10 + 2); } else { millions.gotoAndStop(1); } } } } instance of movieClip 1949 { onClipEvent (enterFrame) { if (!_root.multiplayer) { _y = -500; } else { _y = -176; } } } instance of movieClip 2412 { onClipEvent (load) { if (_root.multiplayer || _root.curchar == 0) { _visible = false; } } } instance m of movieClip 2414 { onClipEvent (load) { if (_root.multiplayer || _root.curmap > 10) { gotoAndStop(1); } else { gotoAndStop(2); } medal = 0; } onClipEvent (enterFrame) { if (!_root.multiplayer && _root.curmap < 10) { if (_root.curchar == 0) { v = _root.dscore; } else { v = _root.dscore2; } for (;;) { if (!(medal < 5 && v > _root['medals' + _root.curmap][medal])) break; ++medal; } if (_root.curchar == 1 && medal < 3) { medal = 3; } if (!_root.sunclear && medal == 4) { gotoAndStop(8); } else { gotoAndStop(medal + 2); } } } } instance combo of movieClip 2419 { onClipEvent (load) { d.units.stop(); d.tens.stop(); val = 0; timer = 2; } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 1) { _x = 600; } else { _x = 363.45; } } else { _x = -74; } if (_currentframe == 1 || _currentframe > 6 && _currentframe < 45 && !_root.ground.hitTest(_root.char._x, _root.char._y + 4, true)) { --timer; if (timer < 1) { gotoAndPlay(_currentframe - 2); timer = 2; } } else { play(); } if (val != _root.slidebonus) { if (_root.slidebonus > 1 && _currentframe != 2 && _currentframe != 3) { val = _root.slidebonus; gotoAndPlay(2); } } if (val != undefined) { d.units.gotoAndStop(val % 10 + 1); if (val >= 10) { d.tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { d.tens.gotoAndStop(1); } } if (_root.slidebonus * _root.heightbonus > _root.maxcombo) { _root.maxcombo = _root.slidebonus * _root.heightbonus; } } } instance combo2 of movieClip 2420 { onClipEvent (load) { d.units.stop(); d.tens.stop(); val = 0; timer = 2; } onClipEvent (enterFrame) { if (!_root.multiplayer) { if (_root.curchar == 0) { _x = 600; } else { _x = 363.45; } } else { _x = 363.45; } if (_currentframe == 1 || _currentframe > 6 && _currentframe < 45 && !_root.ground.hitTest(_root.char2._x, _root.char2._y + 4, true)) { --timer; if (timer < 1) { gotoAndPlay(_currentframe - 2); timer = 2; } } else { play(); } if (val != _root.slidebonus2) { if (_root.slidebonus2 > 1 && _currentframe != 2 && _currentframe != 3) { val = _root.slidebonus2; gotoAndPlay(2); } } if (val != undefined) { d.units.gotoAndStop(val % 10 + 1); if (val >= 10) { d.tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { d.tens.gotoAndStop(1); } } if (_root.slidebonus2 * _root.heightbonus2 > _root.maxcombo2) { _root.maxcombo2 = _root.slidebonus2 * _root.heightbonus2; } } } instance of movieClip 2446 { onClipEvent (load) { stop(); csec = 5; secs = [1, 1, 1, 1, 1, 1]; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2 && _root.started) { i = 0; while (i < 6) { if (_root.getsounds[i] > 0) { --_root.getsounds[i]; } ++i; } if (_root.timeremain > 0 && _root.curmap < 11) { --_root.timeremain; } gotoAndStop(257 - Math.round((_root.timeremain / _root.totaltime) * 256)); } if (_root.timeremain / 30 < csec + 1) { if (secs[csec] == 1 && csec >= 0) { secs[csec] = 0; if (csec == 0) { _root.stimer0.start(0, 1); } else { _root.stimer1.start(0, 1); } --csec; } } } } instance of movieClip 562 { onClipEvent (load) { units.stop(); tens.stop(); hundreds.stop(); tenths.stop(); xsc = _xscale; ysc = _yscale; yox = ysc / xsc; } onClipEvent (enterFrame) { val = _root.timeremain / 30; if (Math.floor(val) >= 100) { _x = 12; } else { _x = 0; } if (Math.floor(val) <= 5) { _xscale = xsc + (40 - 8 * Math.floor(val)); _yscale = _xscale * yox; } if (val != undefined) { if (val > 0) { units.gotoAndStop(Math.floor(val) % 10 + 1); } else { units.gotoAndStop(1); } if (val >= 10) { tens.gotoAndStop(Math.floor(val / 10) % 10 + 1); } else { tens.gotoAndStop(1); } if (val >= 100) { hundreds.gotoAndStop(Math.floor(val / 100) % 10 + 2); } else { hundreds.gotoAndStop(1); } if (val > 0) { tenths.gotoAndStop(Math.floor(val * 10) % 10 + 1); } else { tenths.gotoAndStop(1); } } } } instance ctrl of movieClip 130 { onClipEvent (load) { lock = false; pausetimer = 20; } onClipEvent (enterFrame) { --pausetimer; if (lock != true && _root.faderwork != true && !_root.ended) { if (_root.paus2 == false) { if (_parent._currentframe == 1 && Key.isDown(80) && !phold && pausetimer < 0 || _parent._currentframe == 1 && Key.isDown(13) && !phold && pausetimer < 0) { pausetimer = 20; _root.paus = true; _root.music1.setVolume(0); phold = true; _parent.gotoAndStop(2); } else { if (!Key.isDown(80) && !Key.isDown(13)) { phold = false; } } if (_parent._currentframe == 2 && Key.isDown(27)) { _root.wflash.play(); _root.musicplayin = false; lock = true; _root.targ = 'ssel'; } if (_parent._currentframe == 2 && Key.isDown(82)) { _root.wflash.play(); _root.musicplayin = false; lock = true; _root.targ = 'restart'; } if (_parent._currentframe == 2 && Key.isDown(80) && !phold || _parent._currentframe == 2 && Key.isDown(13) && !phold) { _root.paus = false; _root.music1.setVolume(_root.soundvol * 0.7); phold = true; _parent.gotoAndStop(1); } else { if (!Key.isDown(80) && !Key.isDown(13)) { phold = false; } } } } } } instance of movieClip 1145 { onClipEvent (load) { qhold = false; } onClipEvent (enterFrame) { if (Key.isDown(81) && _root.timeremain > 0) { if (qhold == false) { if (_currentframe == 1) { play(); } if (_root._quality == 'MEDIUM') { _root._quality = 'LOW'; } else { if (_root._quality == 'LOW') { _root._quality = 'HIGH'; } else { if (_root._quality == 'HIGH') { _root._quality = 'MEDIUM'; } } } _root.gamequal = _root._quality; qhold = true; } } else { qhold = false; } } } instance of movieClip 1154 { onClipEvent (load) { mhold = false; } onClipEvent (enterFrame) { if (Key.isDown(77)) { if (mhold == false) { if (_currentframe == 1) { play(); } if (_root.soundvol == 100) { _root.sgetsound0.setVolume(0); _root.music1.setVolume(0); i = 0; while (i < _root.allsoundC.length) { _root['' + _root.allsoundC[i]].setVolume(0); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + _root.starsoundC[i]].setVolume(0); ++i; } i = 1; while (i < 15) { _root['svoice_' + i].setVolume(0); ++i; } _root.svoice_M1.setVolume(0); _root.sunsound.ssun.setVolume(0); _root.v.svoice_training.setVolume(0); _root.soundvol = 0; } else { _root.soundvol = 100; _root.sgetsound0.setVolume(_root.soundvol); _root.music1.setVolume(_root.soundvol * 0.5); _root.musicbox.setVolume(_root.soundvol); i = 0; while (i < _root.allsoundC.length) { _root['' + _root.allsoundC[i]].setVolume(_root.soundvol); ++i; } i = 0; while (i < _root.starsoundC.length) { _root.starsound['' + _root.starsoundC[i]].setVolume(_root.soundvol * 0.5); ++i; } i = 1; while (i < 15) { _root['svoice_' + i].setVolume(_root.soundvol * _root.voicevol); ++i; } _root.svoice_M1.setVolume(_root.soundvol * _root.voicevol); _root.v.svoice_training.setVolume(_root.soundvol * _root.voicevol); _root.sunsound.ssun.setVolume(_root.soundvol); } mhold = true; } } else { mhold = false; } } } instance codec0 of movieClip 2592 { onClipEvent (load) { gotoAndStop(1); anim.gotoAndStop(1); _visible = false; } } instance codec1 of movieClip 2592 { onClipEvent (load) { gotoAndStop(1); anim.gotoAndStop(1); _visible = false; } } instance of movieClip 2735 { onClipEvent (load) { _root.depositedFirstTime = false; _alpha = 0; _x = 0; _y = -50; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (!_root.depositedFirstTime && _root.sceneEnded == true && _root.curmap == 1 && _root.score > 200 && _root.curchar == 0 && _root.medal1 == 0) { if (_alpha < 100) { _alpha = _alpha + 10; } } if (_root.depositedFirstTime) { if (_alpha > 0) { _alpha = _alpha - 10; } } _visible = true; } else { _visible = false; } } } instance of movieClip 2737 { onClipEvent (load) { timer = 0; _alpha = 0; _x = 0; _y = -50; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_root.sceneEnded == true && _root.curmap == 2 && _root.curchar == 0 && _root.medal2 == 0) { if (timer < 256) { ++timer; } if (_alpha < 100 && timer < 100) { _alpha = _alpha + 10; } } if (timer > 200) { if (_alpha > 0) { _alpha = _alpha - 10; } } _visible = true; } else { _visible = false; } } } instance of movieClip 2739 { onClipEvent (load) { timer = 0; _alpha = 0; _x = 0; _y = -50; } onClipEvent (enterFrame) { if (!_root.paus && !_root.paus2) { if (_root.sceneEnded == true && _root.curmap == 3 && _root.curchar == 0 && _root.medal3 == 0) { if (timer < 256) { ++timer; } if (_alpha < 100 && timer < 100) { _alpha = _alpha + 10; } } if (timer > 200) { if (_alpha > 0) { _alpha = _alpha - 10; } } _visible = true; } else { _visible = false; } } } instance trainsub of movieClip 2917 { onClipEvent (load) { gotoAndStop(1); } } } instance hud of movieClip 2921 { onClipEvent (load) { this.swapDepths(15997); hidehud = false; delhold = false; } onClipEvent (enterFrame) { if (Key.isDown(46) && !delhold) { if (hidehud) { hidehud = false; } else { hidehud = true; } delhold = true; } if (hidehud) { _visible = false; } else { _visible = true; } if (!Key.isDown(46)) { delhold = false; } if (_root.resultsscreen && _alpha > 0) { _alpha = _alpha - 4; } if (Key.isDown(84) && Key.isDown(85)) { _alpha = 0; } if (Key.isDown(84) && Key.isDown(73)) { _alpha = 100; } } } instance res2 of movieClip 2075 { onClipEvent (load) { gotoAndStop(2); } } frame 305 { music1.stop(); _root.musicplayin = false; music1 = new Sound(_root.musicbox); music1.attachSound('_silent'); music1.start(0, 1); _root._quality = 'MEDIUM'; stop(); } movieClip 2925 { } movieClip 2926 { } movieClip 2927 { } movieClip 2928 { } movieClip 2930 { } movieClip 2931 { } movieClip 2932 { } movieClip 2934 { } movieClip 2935 { } movieClip 2937 { } movieClip 2938 { } movieClip 2941 { } movieClip 2942 { } movieClip 2944 { } movieClip 2946 { } movieClip 2947 { } movieClip 2949 { } movieClip 2950 { } movieClip 2951 { } movieClip 2966 { } movieClip 2973 { } movieClip 2974 { } movieClip 2975 { } movieClip 2977 { } movieClip 2979 { } movieClip 2981 { } movieClip 2982 { } movieClip 2986 { } movieClip 2987 { } movieClip 2994 { } movieClip 2995 { } movieClip 2997 { } movieClip 2999 { } movieClip 3002 { } movieClip 3003 { } movieClip 3005 { } movieClip 3006 { } movieClip 3008 { } movieClip 3010 { } movieClip 3012 { } movieClip 3014 { } movieClip 3015 { } movieClip 3018 { } movieClip 3021 { } movieClip 3023 { } movieClip 3029 { } movieClip 3031 { } movieClip 3033 { } movieClip 3035 { } movieClip 3037 { } movieClip 3039 { } movieClip 3041 { } movieClip 3043 { } movieClip 3058 { } movieClip 3062 { } movieClip 3065 { } movieClip 3075 { } movieClip 3077 { } movieClip 3079 { } movieClip 3095 { } movieClip 3097 { } movieClip 3102 { } movieClip 3110 { } movieClip 3111 { } movieClip 3112 { } movieClip 3114 { } movieClip 3116 { } movieClip 3118 { } movieClip 3134 { } movieClip 3136 { } movieClip 3137 { } movieClip 3138 { } movieClip 3139 { } movieClip 3140 { } movieClip 3141 { } movieClip 3142 { } movieClip 3144 { } movieClip 3145 { } movieClip 3146 { } movieClip 3147 { } movieClip 3149 { instance of movieClip 2548 { onClipEvent (load) { if (_root.boobs) { _visible = false; } } } } movieClip 3150 { } movieClip 3152 { } movieClip 3153 { } movieClip 3160 { } movieClip 3161 { } movieClip 3162 { } movieClip 3163 { } movieClip 3164 { } movieClip 3165 { } movieClip 3167 { } movieClip 3168 { } movieClip 3169 { } movieClip 3170 { } movieClip 3171 { } movieClip 3172 { } movieClip 3174 { } movieClip 3176 { } movieClip 3179 { } movieClip 3192 { } movieClip 3194 { } movieClip 3196 { } movieClip 3199 { } movieClip 3200 { } movieClip 3201 { } movieClip 3202 { } movieClip 3203 { } movieClip 3204 { } movieClip 3205 { } movieClip 3206 { } movieClip 3207 { } movieClip 3209 { } movieClip 3210 { } movieClip 3211 { } movieClip 3212 { } movieClip 3234 { } movieClip 3235 { } movieClip 3236 { } movieClip 3237 { } movieClip 3238 { } movieClip 3240 { } movieClip 3241 { } movieClip 3256 { } movieClip 3260 { } movieClip 3261 { } movieClip 3262 { } movieClip 3263 { } movieClip 3264 { } movieClip 3265 { } movieClip 3266 { } movieClip 3267 { } movieClip 3269 { } movieClip 3270 { } movieClip 3272 { } movieClip 3273 { } movieClip 3274 { } movieClip 3275 { } movieClip 3276 { } movieClip 3278 { } movieClip 3280 { } movieClip 3281 { } movieClip 3282 { frame 2155 { stop(); if (_root.theater == false) { _root.targ = 'ssel'; } else { _root.targ = 'theater'; } _root.wflash.play(); } } instance of movieClip 3282 { onClipEvent (load) { _root.playin = true; phold = false; } onClipEvent (enterFrame) { if ((Key.isDown(13) || Key.isDown(80)) && !phold) { if (_root.playin) { stop(); _root.playin = false; } else { play(); _root.playin = true; } phold = true; } if (!Key.isDown(13) && !Key.isDown(80)) { phold = false; } if (Key.isDown(27) || Key.isDown(32)) { gotoAndStop(_totalframes); } if (_currentframe >= _totalframes) { stop(); } } } movieClip 3284 { } movieClip 3285 { } instance of movieClip 3285 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.playin) { _visible = false; } else { _visible = true; } } } frame 306 { _root.sunsound.ssun.stop(); music1.stop(); _root.musicplayin = false; music1 = new Sound(_root.musicbox); music1.attachSound('_silent'); music1.start(0, 1); _root._quality = 'MEDIUM'; if (scu < 2) { scu = 2; } stop(); } movieClip 3293 { } movieClip 3294 { } movieClip 3295 { } movieClip 3303 { } movieClip 3304 { } movieClip 3310 { } movieClip 3311 { } movieClip 3312 { } movieClip 3313 { } movieClip 3314 { } movieClip 3316 { } movieClip 3318 { } movieClip 3320 { } movieClip 3325 { } movieClip 3330 { } movieClip 3331 { } movieClip 3332 { } movieClip 3333 { } movieClip 3334 { } movieClip 3336 { } movieClip 3337 { } movieClip 3338 { } movieClip 3339 { } movieClip 3340 { } movieClip 3342 { } movieClip 3344 { } movieClip 3345 { } movieClip 3347 { } movieClip 3349 { } movieClip 3350 { } movieClip 3352 { } movieClip 3354 { } movieClip 3355 { } movieClip 3357 { } movieClip 3358 { } movieClip 3359 { } movieClip 3361 { } movieClip 3362 { } movieClip 3363 { } movieClip 3364 { } movieClip 3365 { } movieClip 3366 { } movieClip 3367 { } movieClip 3368 { } movieClip 3369 { } movieClip 3370 { } movieClip 3371 { } movieClip 3375 { } movieClip 3376 { } movieClip 3377 { } movieClip 3378 { } movieClip 3380 { } movieClip 3382 { } movieClip 3383 { } movieClip 3384 { } movieClip 3386 { } movieClip 3390 { } movieClip 3392 { } movieClip 3393 { } movieClip 3394 { } movieClip 3395 { } movieClip 3397 { } movieClip 3398 { } movieClip 3399 { } movieClip 3400 { } movieClip 3401 { } movieClip 3403 { } movieClip 3404 { } movieClip 3405 { } movieClip 3407 { } movieClip 3409 { } movieClip 3410 { } movieClip 3411 { } movieClip 3413 { } movieClip 3414 { } movieClip 3426 { } movieClip 3427 { } movieClip 3428 { } movieClip 3429 { } movieClip 3431 { } movieClip 3433 { } movieClip 3435 { } movieClip 3437 { } movieClip 3443 { } movieClip 3445 { } movieClip 3447 { } movieClip 3451 { } movieClip 3454 { } movieClip 3457 { } movieClip 3458 { } movieClip 3460 { } movieClip 3461 { } movieClip 3463 { } movieClip 3464 { } movieClip 3466 { } movieClip 3467 { } movieClip 3469 { } movieClip 3470 { } movieClip 3472 { } movieClip 3474 { } movieClip 3476 { } movieClip 3478 { } movieClip 3480 { } movieClip 3482 { } movieClip 3486 { } movieClip 3487 { } movieClip 3488 { } movieClip 3490 { } movieClip 3501 { } movieClip 3503 { } movieClip 3504 { } movieClip 3506 { } movieClip 3508 { } movieClip 3509 { } movieClip 3519 { } movieClip 3520 { } movieClip 3521 { } movieClip 3537 { } movieClip 3539 { } movieClip 3540 { } movieClip 3541 { } movieClip 3542 { } movieClip 3543 { } movieClip 3544 { } movieClip 3549 { } movieClip 3550 { } movieClip 3551 { } movieClip 3552 { } movieClip 3553 { } movieClip 3568 { } movieClip 3571 { } movieClip 3572 { } movieClip 3575 { } movieClip 3577 { } movieClip 3579 { } movieClip 3582 { } movieClip 3584 { } movieClip 3585 { } button 3586 { on (release) { getURL('http://www.facebook.com/SuperStarHeroes', '_blank'); } } movieClip 3587 { frame 4293 { if (_root.theater == false) { _root.targ = 'ssel'; } else { _root.targ = 'theater'; } _root.wflash.play(); stop(); } } instance of movieClip 3587 { onClipEvent (load) { _root.playin = true; phold = false; } onClipEvent (enterFrame) { if ((Key.isDown(13) || Key.isDown(80)) && !phold) { if (_root.playin) { stop(); _root.playin = false; } else { play(); _root.playin = true; } phold = true; } if (!Key.isDown(13) && !Key.isDown(80)) { phold = false; } if (Key.isDown(27) || Key.isDown(32)) { gotoAndStop(_totalframes); } if (_currentframe >= _totalframes) { stop(); } } } frame 307 { music1.stop(); _root.musicplayin = false; music1 = new Sound(_root.musicbox); music1.attachSound('_silent'); music1.start(0, 1); _root._quality = 'MEDIUM'; if (scu < 3) { scu = 3; } stop(); } movieClip 3588 { } movieClip 3597 { } movieClip 3598 { } movieClip 3600 { } movieClip 3602 { } movieClip 3603 { frame 1203 { if (_root.theater == false) { _root.targ = 'ssel'; } else { _root.targ = 'theater'; } _root.wflash.play(); stop(); } } instance of movieClip 3603 { onClipEvent (load) { _root.playin = true; phold = false; } onClipEvent (enterFrame) { if ((Key.isDown(13) || Key.isDown(80)) && !phold) { if (_root.playin) { stop(); _root.playin = false; } else { play(); _root.playin = true; } phold = true; } if (!Key.isDown(13) && !Key.isDown(80)) { phold = false; } if (Key.isDown(27) || Key.isDown(32)) { gotoAndStop(_totalframes); } if (_currentframe >= _totalframes) { stop(); } } } frame 308 { music1.stop(); _root.musicplayin = false; music1 = new Sound(_root.musicbox); music1.attachSound('_silent'); music1.start(0, 1); _root._quality = 'MEDIUM'; if (scu < 4) { scu = 4; } stop(); } movieClip 3684 { } movieClip 3686 { } movieClip 3688 { } movieClip 3690 { } movieClip 3692 { frame 921 { if (_root.theater == false) { _root.targ = 'menu1'; } else { _root.targ = 'theater'; } _root.wflash.play(); stop(); } } instance of movieClip 3692 { onClipEvent (load) { _root.playin = true; phold = false; } onClipEvent (enterFrame) { if ((Key.isDown(13) || Key.isDown(80)) && !phold) { if (_root.playin) { stop(); _root.playin = false; } else { play(); _root.playin = true; } phold = true; } if (!Key.isDown(13) && !Key.isDown(80)) { phold = false; } if (Key.isDown(27) || Key.isDown(32)) { gotoAndStop(_totalframes); } if (_currentframe >= _totalframes) { stop(); } } } frame 309 { } movieClip 3793 { } movieClip 3801 { frame 100 { } frame 145 { stop(); (MovieClip(root)).intro.removeEventListener(MouseEvent.CLICK, (MovieClip(root)).gotoSite2); _root.gotoAndPlay(3); } } instance intro of movieClip 3801 { onClipEvent (release) { getURL('http://www.2pg.com', '_blank'); } }




http://swfchan.com/43/211423/info.shtml
Created: 7/10 -2018 23:59:35 Last modified: 7/10 -2018 23:59:35 Server time: 05/05 -2024 02:35:24