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

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

SideWays - adjust the gravity and walk on walls to reach the exit.swf

This is the info page for
Flash #92367

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


Text
ART+ANIMATION

LUIS CASTANON

&

H

T

N

A

K

I

S

O

P

Y

MORE GAMES

MORE GAMES

AUDIO ON | OFF

AUDIO ON | OFF

NEWGROUNDS.COM

NEWGROUNDS.COM

Newgrounds API Connector

Connecting to the Newgrounds Gateway...

Connection Established!

medal unlocked!

MEDAL GET!

100pts

YOU ARE NOT LOGGED IN!

You will not be able to use any
members-only features!

Some features may be
temporarily unavailable.

API CONNECTION FAILED

NOTICE!

A new version is now available!
Click the button below to check it out.

View latest version

UNAUTHORIZED USE!!

This website is hosting this file without proper consent!
Click the button below to view a legal version.

View authorized version

<p align="right"></p>

WELCOME TO SIDEWAYS

Proceed by using the arrow keys

Press the up arrow key
to jump

Proceed to the exit

<p align="center"><font face="Century Gothic" size="25" color="#ffffff" letterSpacing="0.000000" kerning="1">01</font></p>

Press A to rotate the screen
and proceed to the exit

Here's where things get interesting...

Press D to rotate
the screen

...and again

Now try the W key to
rotate 180 degrees

Hold the Shift key to view
more of the map

Now try one on your own
(Press R to restart at anytime)

Press M at any time to
toggle sound on/off

Step on the blue switch above
and proceed to exit

Hide and seek...

Step on the yellow switch above
to fill the gap and proceed

A little more difficult...

Magenta gates only stay
open for 7 seconds!

Difficulty increased
(Remember: R key restarts)

Some platforms move!
(Don't worry, it'll be back)

Falling is faster
than running...

You have to take some chances
when you're in a maze

Last level

C

O

N

G

R

A

T

U

L

I

S

!

All levels completed

PLAYER STATS

NUMBER OF TIMES RESTARTED

NUMBER OF TIMES PLAYED THROUGH

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

SCREEN FLIP COUNT

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

TOTAL NUMBER OF DEATHS

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">499</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">499</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">6</font></p>

<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>

B

A

C

K

T

O

M

I

BACK TO MAIN

BACK TO MAIN

M

O

R

E

G

A

ActionScript [AS1/AS2]

Frame 1
function ngpage1() { getURL ("http://www.truedarkness.newgrounds.com", "_blank"); } function ngpage2() { getURL ("http://www.luis.newgrounds.com", "_blank"); } _root.timesPlayedThrough = 0; _root.SCALEX = _root._xscale; _root.SCALEY = _root._yscale; _root.XXX = _root._x; _root.YYY = _root._y; SW = _root.Stage.width; SH = _root.Stage.height; _root.all = new Sound(); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); myMenu.builtInItems.quality = show(); var Dave = new ContextMenuItem("David Silver", ngpage1); var Luis = new ContextMenuItem("Luis Castanon", ngpage2); myMenu.customItems.push(Dave, Luis); _root.menu = myMenu; NewgroundsAPI.connectMovie(10867); stop();
Frame 2
_x = _root.XXX; _y = _root.YYY; _xscale = _root.SCALEX; _yscale = _root.SCALEY; Stage.width = SW; Stage.height = SH; stop(); stop();
Instance of Symbol 355 MovieClip [API Connector (NewgroundsAPI)] in Frame 2
//component parameters onClipEvent (construct) { encryption_key = "c32N6L7Fo3K8AqYmdXSpk46zvyBPgFBZ"; movie_id = "10867"; movie_version = ""; fake_session = true; debug = true; error_screens = true; medal_popups = true; }
Frame 3
_root.deaths = 0; _root.turns = 0; _root.reStart = 0; stopAllSounds(); _root.all.setVolume(100); _root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 4
onEnterFrame = function () { if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } }; _root.Cam.lvla.lvlb.lvl = "01"; _root.Cam.lvla.lvlb.lvl.gotoAndPlay(1); Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; stop(); _root.dx = _root._x; _root.dy = _root._y;
Instance of Symbol 397 MovieClip in Frame 4
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); _root.stars.nextFrame(); } else if (_root.player.grounded == true) { _root.stopCam = false; } }
Instance of Symbol 432 MovieClip "player" in Frame 4
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 124; _y = 278; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 4
onClipEvent (load) { _rotation = 360; rot = _rotation; _root.SCALERX = _xscale; _root.SCALERY = _yscale; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Instance of Symbol 467 MovieClip in Frame 4
onClipEvent (enterFrame) { _x = _root.Cam._x; _y = _root.Cam._y; }
Frame 5
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0;
Frame 6
_root.Cam.lvla.lvlb.lvl = "02"; _root.Cam.lvla.lvlb.lvl.gotoAndPlay(1); function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 397 MovieClip in Frame 6
onClipEvent (enterFrame) { if (this.hitTest(_root.player)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 432 MovieClip "player" in Frame 6
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -20; _y = 292; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 6
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Instance of Symbol 467 MovieClip in Frame 6
onClipEvent (enterFrame) { _x = _root.Cam._x; _y = _root.Cam._y; }
Frame 7
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 8
_root.Cam.lvla.lvlb.lvl = "03"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; _x = _root.playerX; _y = _root.playerY; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 397 MovieClip in Frame 8
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 8
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip "exitt" in Frame 8
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 8
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 8
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 8
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -20; _y = 292; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 8
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Instance of Symbol 467 MovieClip in Frame 8
onClipEvent (enterFrame) { _x = _root.Cam._x; _y = _root.Cam._y; }
Frame 9
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 10
_root.Cam.lvla.lvlb.lvl = "04"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 10
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 432 MovieClip "player" in Frame 10
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -1975; _y = -422; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 10
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Instance of Symbol 467 MovieClip in Frame 10
onClipEvent (enterFrame) { _x = _root.Cam._x; _y = _root.Cam._y; }
Frame 11
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 12
_root.Cam.lvla.lvlb.lvl = "05"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 494 MovieClip in Frame 12
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 397 MovieClip in Frame 12
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 12
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 432 MovieClip "player" in Frame 12
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -4; _y = 278; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 12
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Instance of Symbol 467 MovieClip in Frame 12
onClipEvent (enterFrame) { _x = _root.Cam._x; _y = _root.Cam._y; }
Frame 13
_root.nextFrame(); _root.Cam.lvla.lvlb.lvl = "10"; _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 14
_root.Cam.lvla.lvlb.lvl = "06"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 494 MovieClip in Frame 14
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 14
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 432 MovieClip "player" in Frame 14
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -1715; _y = -230; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 14
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 15
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 16
_root.Cam.lvla.lvlb.lvl = "07"; _root.Cam._x = 0; _root.Cam._y = 0; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 511 MovieClip in Frame 16
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (this._currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 397 MovieClip in Frame 16
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 16
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 16
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 16
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 16
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 336; _y = 235; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 16
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 17
_root.nextFrame(); _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 18
_root.Cam.lvla.lvlb.lvl = "08"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 494 MovieClip in Frame 18
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 511 MovieClip in Frame 18
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (this._currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 397 MovieClip in Frame 18
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 18
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 18
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 18
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 18
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 18
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 261; _y = 185; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 18
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 19
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 20
_root.Cam.lvla.lvlb.lvl = "09"; _root.stopCam = false; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 530 MovieClip in Frame 20
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 302) { this.play(); i = 0; } }
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.stopp = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 541 MovieClip in Frame 20
onClipEvent (enterFrame) { if (((((this.hitTest(_root.player) && (_root.player._currentframe == 2)) && (_root.land.wall3._currentframe >= 310)) && (_root.land.wall3._currentframe <= 332)) && (varM != true)) && (var1 != true)) { var medal_name = "Just Made It"; com.newgrounds.API.unlockMedal(medal_name, _root.Cam._x, _root.Cam._y); varM = true; } if (this.hitTest(_root.player) && (_root.land.wall3._currentframe <= 331)) { var1 = true; } }
Instance of Symbol 397 MovieClip in Frame 20
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 20
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -2162; _y = 276; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 20
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 21
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 22
_root.Cam.lvla.lvlb.lvl = "10"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 494 MovieClip in Frame 22
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 511 MovieClip in Frame 22
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 530 MovieClip in Frame 22
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 22
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 22
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -245; _y = 298; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { if (this.hitTest(_root.medala) && (_root.FF != true)) { var medal_name = "Fall Fast"; com.newgrounds.API.unlockMedal(medal_name, _root.Cam._x, _root.Cam._y); _root.FF = true; } _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 22
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 23
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 24
_root.Cam.lvla.lvlb.lvl = "11"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 24
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 557 MovieClip in Frame 24
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_x >= (dx + 560)) && (varMove == 0)) { varMove = 1; } if ((_x <= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x + xSpeed); } if (varMove == 1) { _x = (_x - xSpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 557 MovieClip in Frame 24
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_x >= (dx + 500)) && (varMove == 0)) { varMove = 1; } if ((_x <= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x + xSpeed); } if (varMove == 1) { _x = (_x - xSpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 432 MovieClip "player" in Frame 24
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -1255; _y = 22; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 24
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 25
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 26
_root.Cam.lvla.lvlb.lvl = "12"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 511 MovieClip in Frame 26
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 494 MovieClip in Frame 26
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 530 MovieClip in Frame 26
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 26
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 557 MovieClip in Frame 26
onClipEvent (load) { ySpeed = 4.1; dy = _y; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 557 MovieClip in Frame 26
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_x <= (dx - 500)) && (varMove == 0)) { varMove = 1; } if ((_x >= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x - xSpeed); } if (varMove == 1) { _x = (_x + xSpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 432 MovieClip "player" in Frame 26
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = -465; _y = 250; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 26
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 27
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 28
_root.Cam.lvla.lvlb.lvl = "13"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 530 MovieClip in Frame 28
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 494 MovieClip in Frame 28
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 511 MovieClip in Frame 28
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 28
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 557 MovieClip in Frame 28
onClipEvent (load) { ySpeed = 2.2; xSpeed = 2.2; dy = _y; dx = _x; varMove = 0; varMove2 = 0; i = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_x <= (dx - 500)) && (varMove2 == 0)) { varMove2 = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if ((_x >= dx) && (varMove2 == 1)) { varMove2 = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (varMove2 == 0) { _x = (_x - xSpeed); } if (varMove2 == 1) { _x = (_x + xSpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 557 MovieClip in Frame 28
onClipEvent (load) { ySpeed = 2.2; dy = _y; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 250)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 432 MovieClip "player" in Frame 28
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 517; _y = 243; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 28
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 29
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 30
_root.Cam.lvla.lvlb.lvl = "14"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 511 MovieClip in Frame 30
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 530 MovieClip in Frame 30
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 494 MovieClip in Frame 30
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 30
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 557 MovieClip in Frame 30
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_x <= (dx - 500)) && (varMove == 0)) { varMove = 1; } if ((_x >= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x - xSpeed); } if (varMove == 1) { _x = (_x + xSpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 432 MovieClip "player" in Frame 30
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 21; _y = 250; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 30
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 31
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 32
_root.Cam.lvla.lvlb.lvl = "15"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } _root.turn++; } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } _root.turn++; } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 530 MovieClip in Frame 32
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 511 MovieClip in Frame 32
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 494 MovieClip in Frame 32
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 397 MovieClip in Frame 32
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); if (_root.Cam.fadeOutRestart._currentframe == 2) { _root.deaths++; } } }
Instance of Symbol 432 MovieClip "player" in Frame 32
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 1521; _y = 250; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 32
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 33
_root.nextFrame(); _root.Cam._x = 0; _root.Cam._y = 0; _root._x = _root.dx; _root._y = _root.dy; _root.player.grav = 0; _root.player.yspeed = 0; _root.player.xspeed = 0;
Frame 34
_root.Cam.lvla.lvlb.lvl = "16"; function rotateCamBack() { if (_root.Cam._rotation < _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation > _root.Cam.rot) { _root.Cam._rotation = _root.Cam._rotation - 5; } } function rotateCam1() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation - 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation > (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } if (_root.Cam._rotation < (_root.Cam.rot - 90)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } function rotateCam2() { if (lastKeyPressed == 2) { if (_root.Cam._rotation > (_root.Cam.rot - 180)) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation < (_root.Cam.rot + 180)) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } function rotateCam3() { if (lastKeyPressed == 2) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation - 5; } } if (lastKeyPressed == 1) { if (_root.Cam._rotation != 90) { _root.Cam._rotation = _root.Cam._rotation + 5; } } } Gravity = 1; CamTurn = 0; lastKeyPressed = 1; lastKeyPressed2 = 0; _root.stopCam = false; _root._x = _root.dx; _root._y = _root.dy; stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local2 = "Death Medal"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local2 = "500th Flip"; com.newgrounds.API.unlockMedal(_local2, _root.Cam._x, _root.Cam._y); varTurn = true; } if ((Key.isDown(77) && (_root.SOFF != true)) && (_root.holdM != true)) { _root.all.setVolume(0); _root.SOFF = true; _root.holdM = true; } if ((Key.isDown(77) && (_root.SOFF == true)) && (_root.holdM != true)) { _root.all.setVolume(100); _root.SOFF = false; _root.holdM = true; } if ((!Key.isDown(77)) && (_root.holdM == true)) { _root.holdM = false; } if (Gravity == 1) { rotateCamBack(); } if (Gravity == 2) { rotateCam1(); } if (Gravity == 3) { rotateCam2(); } if (Gravity == 4) { rotateCam3(); } };
Instance of Symbol 511 MovieClip in Frame 34
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall.play(); } }
Instance of Symbol 530 MovieClip in Frame 34
onClipEvent (load) { i = 0; } onClipEvent (enterFrame) { if (this.hitTest(_root.player.block)) { this.play(); _root.land.wall3.play(); } if (_currentframe == 7) { i++; } if (i >= 305) { this.play(); i = 0; } }
Instance of Symbol 494 MovieClip in Frame 34
onClipEvent (enterFrame) { if (this.hitTest(_root.player.block) && (_currentframe == 1)) { this.play(); _root.land.wall2.play(); } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if ((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Cam.fadeOut._currentframe == 1)) { _root.stopCam = true; _root.Cam.fadeOut.play(); } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 2)) && (_root.player._x > (_x - 200))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 1)) && (_root.player._y > (_y - 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 3)) && (_root.player._y < (_y + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } }
Instance of Symbol 397 MovieClip in Frame 34
onClipEvent (enterFrame) { if (((this.hitTest(_root.player) && (_root.player.grounded == false)) && (_root.Gravity == 4)) && (_root.player._x < (_x + 250))) { _root.stopCam = true; _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } }
Instance of Symbol 557 MovieClip in Frame 34
onClipEvent (load) { ySpeed = 4.1; dy = _y; varMove = 0; i = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (this.hitTest(_root.player)) { i++; if ((_root.player._currentframe == 3) && (i <= 8)) { _root.player.gotoAndStop(1); } } if (!this.hitTest(_root.player)) { i = 0; } }
Instance of Symbol 432 MovieClip "player" in Frame 34
onClipEvent (load) { xspeed = 0; yspeed = 0; grav = 1; w = _width / 2; h = _height / 2; scale = _xscale; rot = _rotation; grounded = true; jump = false; _root.playerX = _x; _root.playerY = _y; _root._x = _root.dx; _root._y = _root.dy; standStill = 0; } onClipEvent (enterFrame) { standStill++; if (standStill <= 5) { _x = 180; _y = 360; } if (Key.isDown(82)) { _root.Cam.fadeOutRestart.play(); _root.reStart = _root.reStart + 1; } if (_root.Gravity == 1) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation - 5); } } else { _rotation = rot; } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, (_y + h) + 30, true)) && (!_root.plat.hitTest(_x, (_y + h) + 30, true))) { if (_rotation != rot) { _rotation = (_rotation + 5); } } else { _rotation = rot; } } if (_root.lastKeyPressed2 == 3) { if (_rotation != rot) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed + grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (jump != true)) && (_currentframe != 3)) { this.gotoAndStop(1); } if (_root.plat.hitTest(_x, (_y + h) + 4, grounded)) { _x = (_root.plat._x - _root.plat.dx); } if ((_root.land.hitTest(_x, (_y + h) + 10, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y + h) + 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) + 4, true) or _root.plat.hitTest(_x, (_y + h) + 2, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x, (_y + h) - 3, true)) { _y = (_y - 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true) or _root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true) or _root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { yspeed = 0; _rotation = rot; jump = false; } } if (_root.Gravity == 2) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation >= (rot - 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x - w) + 30, _y, true)) && (!_root.plat.hitTest((_x - w) + 30, _y, true))) { if (_rotation != (rot - 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot - 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 90)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x + w) + 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x + w) + 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x + w) + 45, _y, true) or _root.plat.hitTest((_x + w) + 45, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } while (_root.plat.hitTest((_x + w) + 38, _y, true)) { _x = (_x - 0.4); } } else { grounded = false; } if (_root.land.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.plat.hitTest(_x, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot - 90); } } if (_root.Gravity == 3) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y, true)) && (!_root.plat.hitTest((_x + w) + 30, _y, true))) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 5); } } else { _rotation = (rot - 180); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest((_x + w) + 30, _y - h, true)) && (!_root.plat.hitTest((_x + w) + 30, _y - h, true))) { if (_rotation != (rot + 180)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 180); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot - 180)) { _rotation = (_rotation - 9); } } _x = (_x + xspeed); xspeed = xspeed * 0.83; _y = (_y + yspeed); yspeed = yspeed - grav; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { xspeed = xspeed - 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { xspeed = xspeed + 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { yspeed = 10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest(_x, (_y - h) - 11, true) && (yspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest(_x, (_y - h) - 6, true) && (yspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y - h) - 5, true) or _root.plat.hitTest(_x, (_y - h) - 3, true)) { if (!Key.isDown(38)) { yspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } while (_root.plat.hitTest(_x, (_y - h) + 5, true)) { _y = (_y + 0.1); } } else { grounded = false; } if (_root.land.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.plat.hitTest(_x + w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x + w, _y, true)) { _x = (_x - 0.1); } } if (_root.land.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.land.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (_root.plat.hitTest(_x - w, _y, true)) { xspeed = 0; while (_root.plat.hitTest(_x - w, _y, true)) { _x = (_x + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; yspeed = 0; _rotation = (rot - 180); } } if (_root.Gravity == 4) { if ((_root.lastKeyPressed == 2) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y, true)) && (!_root.plat.hitTest(_x, _y, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 5); } } else { _rotation = (rott + 90); } } if ((_root.lastKeyPressed == 1) && (_root.lastKeyPressed2 != 3)) { if ((!_root.land.hitTest(_x, _y - h, true)) && (!_root.plat.hitTest(_x, _y - h, true))) { if (_rotation != (rot + 90)) { _rotation = (_rotation + 5); } } else { _rotation = (rot + 90); } } if (_root.lastKeyPressed2 == 3) { if (_rotation != (rot + 90)) { _rotation = (_rotation - 9); } } _x = (_x - xspeed); xspeed = xspeed + grav; _y = (_y + yspeed); yspeed = yspeed * 0.83; if ((!grounded) && (jump != true)) { gotoAndStop (3); } if (Key.isDown(39)) { yspeed = yspeed + 1.895; _xscale = scale; if (grounded) { gotoAndStop (2); } } if (Key.isDown(37)) { yspeed = yspeed - 1.895; _xscale = (-scale); if (grounded) { gotoAndStop (2); } } if ((Key.isDown(38) && (grounded)) && (_currentframe != 4)) { xspeed = -10; grounded = false; jump = true; this.gotoAndStop(4); } if (((((!Key.isDown(39)) && (!Key.isDown(37))) && (grounded)) && (_currentframe != 3)) && (jump != true)) { this.gotoAndStop(1); } if ((_root.land.hitTest((_x - w) - 60, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 50, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest((_x - w) - 43, _y, true) or _root.plat.hitTest((_x - w) - 43, _y, true)) { if (!Key.isDown(38)) { xspeed = 0; } grounded = true; jump = false; while (_root.land.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } grounded = true; jump = false; while (_root.plat.hitTest((_x - w) - 38, _y, true)) { _x = (_x + 0.1); } } else { grounded = false; } if ((_root.land.hitTest((_x - w) - 55, _y, true) && (xspeed >= 29)) && (_currentframe == 3)) { this.fall.play(); } if (((_root.land.hitTest((_x - w) - 45, _y, true) && (xspeed < 29)) && (_currentframe == 3)) && (this.fall._currentframe < 7)) { this.gotoAndStop(1); } if (_root.land.hitTest(_x, (_y + h) - 30, true) or _root.plat.hitTest(_x, (_y + h) - 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } while (_root.plat.hitTest(_x + w, (_y + h) - 30, true)) { _y = (_y - 0.1); } } if (_root.land.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (_root.plat.hitTest(_x, (_y - h) + 30, true)) { yspeed = 0; while (_root.land.hitTest(_x + w, (_y - h) + 30, true)) { _y = (_y + 0.1); } } if (grounded && (!Key.isDown(38))) { jump = false; _rotation = (rot + 90); } } if (((grounded && (!this.hitTest(_root.noGrav1))) && (!this.hitTest(_root.noGrav2))) && (!this.hitTest(_root.noGrav3))) { if (Key.isDown(83) && (sHold != true)) { sHold = true; } if ((!Key.isDown(83)) && (sHold == true)) { sHold = false; } if (Key.isDown(65) && (aHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; if (_root.Gravity <= 1) { _root.Gravity = 5; } _root.lastKeyPressed = 1; _root.CamTurn--; _root.Gravity--; aHold = true; } if ((!Key.isDown(65)) && (aHold == true)) { aHold = false; } if (Key.isDown(68) && (dHold != true)) { _root.turns++; _root.lastKeyPressed2 = 0; _root.Gravity++; if (_root.Gravity > 4) { _root.Gravity = 1; } _root.lastKeyPressed = 2; dHold = true; } if ((!Key.isDown(68)) && (dHold == true)) { dHold = false; } if (Key.isDown(87) && (wHold != true)) { _root.turns++; _root.lastKeyPressed2 = 3; if (_root.Gravity == 1) { _root.Gravity = 3; } else if (_root.Gravity == 3) { _root.Gravity = 1; } if (_root.Gravity == 2) { _root.Gravity = 4; } else if (_root.Gravity == 4) { _root.Gravity = 2; } wHold = true; } if ((!Key.isDown(87)) && (wHold == true)) { wHold = false; } } }
Instance of Symbol 466 MovieClip "Cam" in Frame 34
onClipEvent (load) { _rotation = 360; rot = _rotation; rot2 = rot + 270; scalex = _xscale + 20; scaley = _yscale + 20; _xscale = (scalex + 100); _yscale = (scaley + 100); shiftHold = 0; } onClipEvent (enterFrame) { if (_root.stopCam != true) { _x = (_x + ((_root.player._x - _x) / 10)); _y = (_y + ((_root.player._y - _y) / 10)); } if (!Key.isDown(16)) { if (_xscale > scalex) { _xscale = (_xscale - 2); } if (_yscale > scaley) { _yscale = (_yscale - 2); } shiftHold = 0; } if (Key.isDown(16)) { shiftHold++; if (_xscale < (scalex + 100)) { _xscale = (_xscale + 2); } if (_yscale < (scaley + 100)) { _yscale = (_yscale + 2); } } _root.bg2._x = _x; _root.bg2._y = _y; if (shiftHold >= 900) { if (_root.gotShiftMedal != true) { shiftHold = 0; _root.gotShiftMedal = true; } } }
Frame 35
_root.timesPlayedThrough = _root.timesPlayedThrough + 1; Stage.width = SW; Stage.height = SH; _root._xscale = _root.SCALEX; _root._yscale = _root.SCALEY; _root._x = _root.XXX; _root._y = _root.YYY; stopAllSounds(); _root.play();
Frame 36
if (_root.deaths <= 0) { var medal_name = "Super Hero"; com.newgrounds.API.unlockMedal(medal_name, 100, 275); } else { var medal_name = "Hero"; com.newgrounds.API.unlockMedal(medal_name, 100, 275); }
Frame 298
die = _root.deaths; flip = _root.turns; rstart = _root.reStart; playa = _root.timesPlayedThrough;
Frame 563
stop();
Symbol 20 MovieClip Frame 1
stop();
Symbol 28 Button
on (press) { _root.nextFrame(); }
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 81
_root.nextFrame();
Symbol 79 MovieClip Frame 6
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 4
_root.menuu.bars.play();
Symbol 165 MovieClip Frame 12
stop();
Symbol 191 Button
on (press) { getURL ("http://www.truedarkness.newgrounds.com", "_blank"); }
Symbol 196 Button
on (press) { getURL ("http://www.luis.newgrounds.com", "_blank"); }
Symbol 206 Button
on (press) { getURL ("http://www.sikanth.newgrounds.com", "_blank"); }
Symbol 210 Button
on (press) { getURL ("http://www.yotipo91.newgrounds.com", "_blank"); }
Symbol 220 Button
on (press) { _root.menuu.player.play(); }
Symbol 225 Button
on (press) { getURL ("http://www.newgrounds.com/game/puzzles", "_blank"); }
Symbol 230 MovieClip Frame 1
stop();
Symbol 234 Button
on (press) { getURL ("http://www.newgrounds.com", "_blank"); }
Instance of Symbol 230 MovieClip in Symbol 235 MovieClip Frame 1
on (press) { if ((_currentframe == 1) && (_root.soundOff != true)) { this.gotoAndStop(10); _root.soundOff = true; _root.all.setVolume(0); } else if ((_currentframe == 10) && (_root.soundOff == true)) { this.gotoAndStop(1); _root.soundOff = false; _root.all.setVolume(100); } }
Instance of Symbol 42 MovieClip in Symbol 236 MovieClip Frame 29
on (press) { getURL ("http://www.newgrounds.com/", "_blank"); }
Symbol 236 MovieClip Frame 3500
stop();
Symbol 237 MovieClip Frame 1
stop(); stop(); onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local3 = "Death Medal"; com.newgrounds.API.unlockMedal(_local3, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local3 = "500th Flip"; com.newgrounds.API.unlockMedal(_local3, _root.Cam._x, _root.Cam._y); varTurn = true; } var _local2 = _root.getBytesLoaded() / _root.getBytesTotal(); preloader_mc.value = _local2; if (_local2 == 1) { delete onEnterFrame; play(); } };
Symbol 237 MovieClip Frame 18
stop();
Instance of Symbol 27 MovieClip in Symbol 237 MovieClip Frame 18
on (press) { _root.nextFrame(); }
Symbol 237 MovieClip Frame 22
stop();
Symbol 242 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 244 MovieClip Frame 1
function startAd(ngad_url) { trace("opening " + ngad_url); System.security.allowDomain("70.87.128.99"); System.security.allowInsecureDomain("70.87.128.99"); System.security.allowDomain("ads.shizmoo.com"); System.security.allowInsecureDomain("ads.shizmoo.com"); System.security.allowDomain("www.cpmstar.com"); System.security.allowInsecureDomain("www.cpmstar.com"); System.security.allowDomain("server.cpmstar.com"); System.security.allowInsecureDomain("server.cpmstar.com"); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!"); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), "GET"); } }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop();
Symbol 261 MovieClip Frame 40
stop();
Symbol 275 Button
on (press) { tellTarget (_root) { nextFrame(); }; }
Symbol 276 Button
on (press) { gotoAndStop ("end"); _root.play(); }
Instance of Symbol 251 MovieClip in Symbol 277 MovieClip Frame 1
onClipEvent (load) { _root.stop(); PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndStop("lastframe"); } } onClipEvent (enterFrame) { PercentLoaded = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); if (PercentLoaded != 100) { _parent.gotoAndStop(PercentLoaded); } else { _parent.gotoAndPlay("loaded"); } }
Symbol 277 MovieClip Frame 101
play(); _root.loaderr.play();
Symbol 277 MovieClip Frame 165
stop();
Symbol 280 Button
on (press) { getURL ("http://www.newgrounds.com/", "_blank"); }
Symbol 636 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI { static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format; function NewgroundsAPI () { } static function connectMovie(id) { if (!id) { SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else if (!tracker_id) { SendMessage("Connecting to API gateway..."); tracker_id = id; host = _url.split("/")[2].toLowerCase(); if (host.length < 1) { host = "localhost"; } var _local2 = new Object(); SendEvent(MOVIE_VIEWS); } } static function setMovieVersion(movie_version) { if (!movie_version) { SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = movie_version; } } static function debugMode() { debug = true; } static function addCustomEvent(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else if (!stat_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = CUSTOM_STATS + stat_id; SendMessage("Created custom event: " + stat_name); } } static function addCustomLink(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else if (!stat_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = CUSTOM_STATS + stat_id; SendMessage((("Created custom link " + stat_id) + ": ") + stat_name); } } static function loadMySite() { SendLink(AUTHOR_SITE); } static function loadNewgrounds(special) { if (special) { var _local1 = {page:special}; } SendLink(NEWGROUNDS, _local1); } static function logCustomEvent(event_name) { if (!event_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else if (!custom_events[event_name]) { SendError("Attempted to log undefined custom event: " + event_name); } else { SendEvent(custom_events[event_name]); } } static function loadCustomLink(link_name) { if (!link_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else if (!custom_links[link_name]) { SendError("Attempted to open undefined custom link: " + link_name); } else { SendLink(custom_links[link_name]); } } static function getAdURL() { return(movie_options.ad_url); } static function getMovieURL() { if (movie_options.movie_url) { return(movie_options.movie_url); } return("Newgrounds.com"); } static function getNewVersionURL() { return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION); } static function SendEvent(id) { SendStat(id, false); } static function SendLink(id, extra) { SendStat(id, true, extra); } static function ReadGatewayData(params) { for (var _local2 in params) { params[_local2] = unescape(params[_local2]); movie_options[_local2] = params[_local2]; } if (params.settings_loaded) { SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'"); if (movie_options.message) { SendMessage(movie_options.message); } if (movie_options.ad_url) { SendMessage("Your movie has been approved to run Flash Ads"); onAdsApproved(movie_options.ad_url); } if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) { SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL()); } if (movie_options.deny_host) { SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); onDenyHost(host, getMovieURL(), getNewVersionURL()); } if (movie_options.request_portal_url == 1) { var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url); var _local3 = new XML(); _local3.ignoreWhite = true; _local3.load(_local4); } } else if (!movie_options.settings_loaded) { SendError("Could not establish connection to the API gateway."); } } static function SendStat(stat_id, open_in_browser, extra) { if (!tracker_id) { SendError("API calls cannot be made without a valid movie id."); SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?"); } else { var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id; for (var _local9 in extra) { _local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9])); } trace(_local7); if (debug) { _local7 = _local7 + "&debug=1"; } if (open_in_browser) { getURL (_local7, "_blank"); } else { var _local10 = new XML(); _local10.ignoreWhite = true; _local10.onLoad = function (success) { var _local6 = new Object(); var _local3 = 0; while (_local3 < this.firstChild.childNodes.length) { var _local4 = this.firstChild.childNodes[_local3]; var _local5 = _local4.nodeName; var _local2 = _local4.attributes.value; if (_local2 == Number(_local2)) { _local2 = Number(_local2); } _local6[_local5] = _local2; _local3++; } NewgroundsAPI.ReadGatewayData(_local6); }; _local10.load(_local7); } } } static function SendError(msg) { trace("[NEWGROUNDS API ERROR] :: " + msg); } static function SendMessage(msg) { trace("[NEWGROUNDS API] :: " + msg); } static function InitTextFormats() { if (!error_format) { error_format = new TextFormat(); error_format.font = "Arial Black"; error_format.size = 48; error_format.color = 16711680 /* 0xFF0000 */; } if (!header_format) { header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.size = 24; header_format.color = 16777215 /* 0xFFFFFF */; } if (!normal_format) { normal_format = new TextFormat(); normal_format.font = "Arial"; normal_format.bold = true; normal_format.size = 12; normal_format.color = 16777215 /* 0xFFFFFF */; } if (!link_format) { link_format = new TextFormat(); link_format.color = 16776960 /* 0xFFFF00 */; link_format.underline = true; } } static function onNewVersionAvailable(version, movie_url, redirect_url) { InitTextFormats(); var _local2 = new Object(); _local2.x = Stage.width / 2; _local2.y = Stage.height / 2; _root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var _local3 = (("Version " + version) + " is now available at:") + newline; var _local5 = _local3.length; _local3 = _local3 + movie_url; var _local4 = _local3.length; _root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = "New Version Available!"; _root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format); _root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = _local3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format); } static function onDenyHost(hostname, movie_url, redirect_url) { InitTextFormats(); _root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var _local2 = ("This movie has not been approved for use on " + hostname) + "."; _local2 = _local2 + "\r\rFor an aproved copy, please visit:\r"; var _local4 = _local2.length; _local2 = _local2 + movie_url; var _local3 = _local2.length; _root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = "ERROR!"; _root.NGAPI_deny_host_overlay.error.setTextFormat(error_format); _root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = _local2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format); } static function isInstalled() { return(true); } static function onAdsApproved(ad_url) { } static var movie_options = new Object(); static var custom_events = new Object(); static var custom_links = new Object(); static var MOVIE_VIEWS = 1; static var AUTHOR_SITE = 2; static var NEWGROUNDS = 3; static var NEW_VERSION = 4; static var CUSTOM_STATS = 50; static var GATEWAY_URL = "http://www.ngads.com/gateway.php"; }
Symbol 283 MovieClip [__Packages.com.newgrounds.components.APIConnector] Frame 0
!!!ERROR
Symbol 356 MovieClip [__Packages.com.newgrounds.APIError] Frame 0
!!!ERROR
Symbol 357 MovieClip [__Packages.com.newgrounds.API] Frame 0
!!!ERROR
Symbol 358 MovieClip [__Packages.com.newgrounds.Bridge] Frame 0
!!!ERROR
Symbol 359 MovieClip [__Packages.com.newgrounds.SaveFile] Frame 0
!!!ERROR
Symbol 360 MovieClip [__Packages.com.newgrounds.SaveGroup] Frame 0
!!!ERROR
Symbol 361 MovieClip [__Packages.com.newgrounds.ValidationTools] Frame 0
!!!ERROR
Symbol 362 MovieClip [__Packages.com.newgrounds.APIEvent] Frame 0
!!!ERROR
Symbol 363 MovieClip [__Packages.com.newgrounds.SaveGroupQuery] Frame 0
!!!ERROR
Symbol 364 MovieClip [__Packages.com.newgrounds.encoders.BaseN] Frame 0
!!!ERROR
Symbol 365 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner] Frame 0
!!!ERROR
Symbol 366 MovieClip [__Packages.com.newgrounds.encoders.SerialXML] Frame 0
!!!ERROR
Symbol 367 MovieClip [__Packages.com.newgrounds.encoders.LZW2] Frame 0
!!!ERROR
Symbol 368 MovieClip [__Packages.com.newgrounds.encoders.LZW] Frame 0
!!!ERROR
Symbol 369 MovieClip [__Packages.com.newgrounds.Medal] Frame 0
!!!ERROR
Symbol 370 MovieClip [__Packages.com.newgrounds.ScoreBoard] Frame 0
!!!ERROR
Symbol 371 MovieClip [__Packages.com.newgrounds.Score] Frame 0
!!!ERROR
Symbol 372 MovieClip [__Packages.com.newgrounds.encoders.RC4] Frame 0
!!!ERROR
Symbol 373 MovieClip [__Packages.com.newgrounds.encoders.JSON] Frame 0
!!!ERROR
Symbol 374 MovieClip [__Packages.com.newgrounds.APIEventDispatcher] Frame 0
!!!ERROR
Symbol 375 MovieClip [__Packages.com.newgrounds.encoders.MD5] Frame 0
!!!ERROR
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 20
_root.nextFrame();
Symbol 291 MovieClip Frame 1
!!!ERROR
Symbol 293 MovieClip Frame 10
stop();
Symbol 295 MovieClip Frame 37
_parent.setGotoFrame("done"); stop();
Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1
!!!ERROR
Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 2
medal.attachIcon(icon);
Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 10
!!!ERROR
Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 21
this.removeMovieClip(); _visible = false; stop();
Symbol 313 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 1
!!!ERROR
Symbol 313 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 10
stop();
Symbol 313 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 21
this.removeMovieClip(); _visible = false; stop();
Symbol 316 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 1
!!!ERROR
Symbol 316 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 10
stop();
Symbol 316 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 21
this.removeMovieClip(); _visible = false; stop();
Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1
!!!ERROR
Symbol 341 Button
on (release) { !!!ERROR
Symbol 347 Button
on (release) { getURL (official_version_url, "_blank"); }
Symbol 349 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1
!!!ERROR
Symbol 350 Button
on (release) { getURL (official_version_url, "_blank"); }
Symbol 354 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1
!!!ERROR
Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 1
#initclip 23 Object.registerClass("API Connector (NewgroundsAPI)", com.newgrounds.components.APIConnector); #endinitclip
Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 20
_visible = false;
Symbol 416 MovieClip Frame 6
stop();
Symbol 416 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 431 MovieClip Frame 14
stop();
Symbol 432 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 90
stop();
Symbol 446 MovieClip Frame 61
stop();
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 53
_root.nextFrame();
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 40
_root.prevFrame();
Symbol 466 MovieClip Frame 1
var copyrightNotice = "Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net"; var reanimator = (new flash.geom.Transform(this)); var camera = (new flash.geom.Transform(this._parent)); var w = Stage.width; var h = Stage.height; this.onEnterFrame = function () { if ((_root.deaths >= 50) && (varDeath != true)) { var _local4 = "Death Medal"; com.newgrounds.API.unlockMedal(_local4, _root.Cam._x, _root.Cam._y); varDeath = true; } if ((_root.turns >= 500) && (varTurn != true)) { var _local4 = "500th Flip"; com.newgrounds.API.unlockMedal(_local4, _root.Cam._x, _root.Cam._y); varTurn = true; } this._parent.filters = this.filters; var _local3 = reanimator.matrix; camera.colorTransform = reanimator.colorTransform; _local3.invert(); _local3.translate(w * 0.5, h * 0.5); camera.matrix = _local3; };
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 7
stop();
Symbol 494 MovieClip Frame 13
gotoAndStop (1);
Symbol 502 MovieClip Frame 1
stop();
Symbol 502 MovieClip Frame 29
stop();
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 7
stop();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 16
stop();
Symbol 530 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 7
stop();
Symbol 530 MovieClip Frame 13
gotoAndStop (1);
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 338
gotoAndStop (1);
Symbol 539 MovieClip Frame 1
Symbol 545 MovieClip Frame 1
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; } onClipEvent (enterFrame) { if ((_x >= (dx + 560)) && (varMove == 0)) { varMove = 1; } if ((_x <= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x + xSpeed); } if (varMove == 1) { _x = (_x - xSpeed); } if (this.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x + xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x - xSpeed; } } }
Instance of Symbol 553 MovieClip in Symbol 554 MovieClip Frame 1
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; } onClipEvent (enterFrame) { if ((_x >= (dx + 500)) && (varMove == 0)) { varMove = 1; } if ((_x <= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x + xSpeed); } if (varMove == 1) { _x = (_x - xSpeed); } if (this.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x + xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x - xSpeed; } } }
Symbol 556 MovieClip Frame 1
Instance of Symbol 553 MovieClip in Symbol 558 MovieClip Frame 1
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; } onClipEvent (enterFrame) { if ((_x <= (dx - 500)) && (varMove == 0)) { varMove = 1; } if ((_x >= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x - xSpeed); } if (varMove == 1) { _x = (_x + xSpeed); } if (this.topp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } if (this.bottomp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } }
Instance of Symbol 553 MovieClip in Symbol 558 MovieClip Frame 1
onClipEvent (load) { ySpeed = 4.1; dy = _y; varMove = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (_root.Gravity == 3) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = true; } else { varKeepDown = false; } } if (_root.Gravity == 1) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = false; } else { varKeepDown = true; } } if ((((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 3)) && (this.bottomp.hitTest(_root.player))) && (!_root.player.hitTest(this.bottomp.leftt))) && (!_root.player.hitTest(this.bottomp.rightt))) { _root.player.yspeed = _root.player.yspeed - 10; } if ((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 1)) && (this.topp.hitTest(_root.player))) { _root.player.yspeed = 10; } }
Symbol 560 MovieClip Frame 1
Symbol 562 MovieClip Frame 1
Instance of Symbol 553 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) { ySpeed = 2.2; xSpeed = 2.2; dy = _y; dx = _x; varMove = 0; varMove2 = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_x <= (dx - 500)) && (varMove2 == 0)) { varMove2 = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if ((_x >= dx) && (varMove2 == 1)) { varMove2 = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (varMove2 == 0) { _x = (_x - xSpeed); } if (varMove2 == 1) { _x = (_x + xSpeed); } if (_root.Gravity == 3) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = true; } else { varKeepDown = false; } } if (_root.Gravity == 1) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = false; } else { varKeepDown = true; } } if (((((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 3)) && (this.bottomp.hitTest(_root.player))) && (!_root.player.hitTest(this.bottomp.leftt))) && (!_root.player.hitTest(this.bottomp.rightt))) && (!Key.isDown(87))) { if ((!Key.isDown(87)) && (_root.Gravity != 3)) { _root.player.yspeed = _root.player.yspeed - 10; } } else if (((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 1)) && (this.topp.hitTest(_root.player))) && (!Key.isDown(87))) { _root.player.yspeed = 10; } if (this.topp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } if (this.bottomp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } }
Instance of Symbol 553 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) { ySpeed = 2.2; dy = _y; varMove = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 250)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (_root.Gravity == 3) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = true; } else { varKeepDown = false; } } if (_root.Gravity == 1) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = false; } else { varKeepDown = true; } } if ((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 3)) && (this.bottomp.hitTest(_root.player))) { _root.player.yspeed = _root.player.yspeed - 10; } if ((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 1)) && (this.topp.hitTest(_root.player))) { _root.player.yspeed = 10; } }
Symbol 565 MovieClip Frame 1
Instance of Symbol 553 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (load) { xSpeed = 4.1; dx = _x; varMove = 0; } onClipEvent (enterFrame) { if ((_x <= (dx - 500)) && (varMove == 0)) { varMove = 1; } if ((_x >= dx) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _x = (_x - xSpeed); } if (varMove == 1) { _x = (_x + xSpeed); } if (this.topp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } if (this.bottomp.hitTest(_root.player)) { if (varMove == 0) { _root.player._x = _root.player._x - xSpeed; } if (varMove == 1) { _root.player._x = _root.player._x + xSpeed; } } }
Symbol 572 MovieClip Frame 1
Instance of Symbol 553 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { ySpeed = 4.1; dy = _y; varMove = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 500)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (_root.Gravity == 3) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = true; } else { varKeepDown = false; } } if (_root.Gravity == 1) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = false; } else { varKeepDown = true; } } if ((((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 3)) && (this.bottomp.hitTest(_root.player))) && (!_root.player.hitTest(this.bottomp.leftt))) && (!_root.player.hitTest(this.bottomp.rightt))) { _root.player.yspeed = _root.player.yspeed - 10; } if ((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 1)) && (this.topp.hitTest(_root.player))) { _root.player.yspeed = 10; } }
Instance of Symbol 553 MovieClip in Symbol 577 MovieClip Frame 1
onClipEvent (load) { ySpeed = 4.1; dy = _y; varMove = 0; } onClipEvent (enterFrame) { if ((_y <= (dy - 510)) && (varMove == 0)) { varMove = 1; } if ((_y >= dy) && (varMove == 1)) { varMove = 0; } if (varMove == 0) { _y = (_y - ySpeed); } if (varMove == 1) { _y = (_y + ySpeed); } if (_root.Gravity == 3) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = true; } else { varKeepDown = false; } } if (_root.Gravity == 1) { if (this.hitTest(_root.player) && (varMove != 1)) { varKeepDown = false; } else { varKeepDown = true; } } if ((((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 3)) && (this.bottomp.hitTest(_root.player))) && (!_root.player.hitTest(this.bottomp.leftt))) && (!_root.player.hitTest(this.bottomp.rightt))) { _root.player.yspeed = _root.player.yspeed - 10; } if ((((varKeepDown == true) && (_root.player._currentframe != 4)) && (_root.Gravity == 1)) && (this.topp.hitTest(_root.player))) { _root.player.yspeed = 10; } }
Symbol 580 MovieClip Frame 1
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 53
_root.gotoAndStop(2);
Symbol 629 Button
on (press) { _root.fadeOutMenu.play(); }

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [preloader bar]Uses:1
Symbol 3 GraphicUsed by:Timeline
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:237
Symbol 6 GraphicUsed by:237
Symbol 7 GraphicUsed by:14
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:14
Symbol 10 GraphicUsed by:14
Symbol 11 GraphicUsed by:13
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:11 12Used by:14 25 27
Symbol 14 MovieClipUses:7 9 10 13Used by:237
Symbol 15 GraphicUsed by:237
Symbol 16 GraphicUsed by:25 27
Symbol 17 GraphicUsed by:18 24 28
Symbol 18 MovieClipUses:17Used by:20 24 28
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:18 19Used by:24 28
Symbol 21 GraphicUsed by:24 28
Symbol 22 GraphicUsed by:24 28
Symbol 23 SoundUsed by:24 28
Symbol 24 ButtonUses:20 18 21 17 22 23Used by:25
Symbol 25 MovieClipUses:16 24 13Used by:237
Symbol 26 SoundUsed by:188 220 237
Symbol 27 MovieClipUses:16 13Used by:237
Symbol 28 ButtonUses:20 18 21 17 22 23Used by:237
Symbol 29 GraphicUsed by:236
Symbol 30 GraphicUsed by:38 236 243 446 457 465 546 607
Symbol 31 ShapeTweeningUsed by:38
Symbol 32 ShapeTweeningUsed by:38
Symbol 33 ShapeTweeningUsed by:38
Symbol 34 ShapeTweeningUsed by:38
Symbol 35 ShapeTweeningUsed by:38
Symbol 36 ShapeTweeningUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:30 31 32 33 34 35 36 37Used by:236
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:40 41Used by:236
Symbol 43 GraphicUsed by:236
Symbol 44 GraphicUsed by:236
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:236
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:236
Symbol 49 ShapeTweeningUsed by:236
Symbol 50 GraphicUsed by:236
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:79 416
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:79 416
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:79 99 164 236 401 416 431
Symbol 57 GraphicUsed by:58 306
Symbol 58 MovieClipUses:57Used by:79 306 416
Symbol 59 GraphicUsed by:60 306
Symbol 60 MovieClipUses:59Used by:79 99 164 236 401 416 431
Symbol 61 GraphicUsed by:79 416
Symbol 62 GraphicUsed by:67
Symbol 63 GraphicUsed by:67
Symbol 64 GraphicUsed by:67
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:62 63 64 65 66Used by:79 416 431
Symbol 68 GraphicUsed by:79
Symbol 69 GraphicUsed by:79 416
Symbol 70 GraphicUsed by:79 416
Symbol 71 GraphicUsed by:79 416
Symbol 72 GraphicUsed by:79 416
Symbol 73 GraphicUsed by:79
Symbol 74 GraphicUsed by:79
Symbol 75 GraphicUsed by:79 416
Symbol 76 GraphicUsed by:79
Symbol 77 GraphicUsed by:79
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:52 54 56 58 60 61 67 68 69 70 71 72 73 74 75 76 77 78Used by:236
Symbol 80 GraphicUsed by:236
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:164 236 431
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:83Used by:99 236 401 416 431
Symbol 85 GraphicUsed by:236
Symbol 86 GraphicUsed by:236
Symbol 87 GraphicUsed by:236
Symbol 88 GraphicUsed by:236
Symbol 89 GraphicUsed by:236
Symbol 90 GraphicUsed by:236
Symbol 91 GraphicUsed by:236
Symbol 92 GraphicUsed by:236
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:99 401
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:99 401
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:99 401
Symbol 99 MovieClipUses:94 96 56 98 60 84Used by:165
Symbol 100 GraphicUsed by:164
Symbol 101 GraphicUsed by:164
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:164
Symbol 104 GraphicUsed by:164
Symbol 105 GraphicUsed by:164
Symbol 106 GraphicUsed by:164
Symbol 107 GraphicUsed by:164
Symbol 108 GraphicUsed by:164
Symbol 109 GraphicUsed by:164
Symbol 110 GraphicUsed by:164
Symbol 111 GraphicUsed by:164
Symbol 112 GraphicUsed by:164
Symbol 113 GraphicUsed by:164
Symbol 114 SoundUsed by:164
Symbol 115 GraphicUsed by:164
Symbol 116 GraphicUsed by:164
Symbol 117 GraphicUsed by:164
Symbol 118 GraphicUsed by:164
Symbol 119 GraphicUsed by:164
Symbol 120 GraphicUsed by:164
Symbol 121 GraphicUsed by:164
Symbol 122 GraphicUsed by:164
Symbol 123 GraphicUsed by:164
Symbol 124 GraphicUsed by:164
Symbol 125 GraphicUsed by:164
Symbol 126 GraphicUsed by:164
Symbol 127 GraphicUsed by:164
Symbol 128 GraphicUsed by:164
Symbol 129 GraphicUsed by:164
Symbol 130 GraphicUsed by:164
Symbol 131 GraphicUsed by:164
Symbol 132 GraphicUsed by:164
Symbol 133 GraphicUsed by:164
Symbol 134 GraphicUsed by:164
Symbol 135 GraphicUsed by:164
Symbol 136 GraphicUsed by:164
Symbol 137 GraphicUsed by:164
Symbol 138 GraphicUsed by:164
Symbol 139 GraphicUsed by:164
Symbol 140 GraphicUsed by:164
Symbol 141 GraphicUsed by:164
Symbol 142 SoundUsed by:164
Symbol 143 GraphicUsed by:164
Symbol 144 GraphicUsed by:164
Symbol 145 GraphicUsed by:164
Symbol 146 GraphicUsed by:164
Symbol 147 GraphicUsed by:164
Symbol 148 GraphicUsed by:164
Symbol 149 GraphicUsed by:164
Symbol 150 GraphicUsed by:164
Symbol 151 GraphicUsed by:164
Symbol 152 GraphicUsed by:164
Symbol 153 GraphicUsed by:164
Symbol 154 GraphicUsed by:164
Symbol 155 GraphicUsed by:164
Symbol 156 GraphicUsed by:164
Symbol 157 GraphicUsed by:164
Symbol 158 GraphicUsed by:164
Symbol 159 GraphicUsed by:164
Symbol 160 GraphicUsed by:164
Symbol 161 GraphicUsed by:164
Symbol 162 GraphicUsed by:164
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:82 100 56 60 101 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163Used by:165 432
Symbol 165 MovieClipUses:99 164Used by:236
Symbol 166 GraphicUsed by:177 191 196 206 210 236 282 514 557  Timeline
Symbol 167 GraphicUsed by:236
Symbol 168 GraphicUsed by:236
Symbol 169 GraphicUsed by:236
Symbol 170 GraphicUsed by:236
Symbol 171 GraphicUsed by:236
Symbol 172 GraphicUsed by:236
Symbol 173 GraphicUsed by:236
Symbol 174 GraphicUsed by:236
Symbol 175 GraphicUsed by:176
Symbol 176 MovieClipUses:175Used by:236
Symbol 177 MovieClipUses:166Used by:185 225 236  Timeline
Symbol 178 GraphicUsed by:236
Symbol 179 GraphicUsed by:236
Symbol 180 GraphicUsed by:236
Symbol 181 GraphicUsed by:236
Symbol 182 GraphicUsed by:185 188 220
Symbol 183 GraphicUsed by:185
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClipUses:183 177 184 182Used by:188 220
Symbol 186 GraphicUsed by:188 220
Symbol 187 SoundUsed by:188 220
Symbol 188 ButtonUses:182 185 186 26 187Used by:236
Symbol 189 GraphicUsed by:211
Symbol 190 GraphicUsed by:191
Symbol 191 ButtonUses:190 166Used by:211
Symbol 192 FontUsed by:193 228 229 231 232 390 392 394 469 473 475 477 479 481 485 487 495 505 512 524 531 542 547 567 573 575 581 582 583 584 585 586 587 588 589 590 591 592 593 594 597 598 608 611 619 620 621 622 623 624 625 626 627 628
Symbol 193 TextUses:192Used by:211
Symbol 194 FontUsed by:195 198 199 200 201 202 203 204 205 207 208 209 379 389 599 609 610 612 613 614 615 616 617 618
Symbol 195 TextUses:194Used by:196
Symbol 196 ButtonUses:195 166Used by:211
Symbol 197 GraphicUsed by:211
Symbol 198 TextUses:194Used by:211
Symbol 199 TextUses:194Used by:206
Symbol 200 TextUses:194Used by:206 210
Symbol 201 TextUses:194Used by:206
Symbol 202 TextUses:194Used by:206
Symbol 203 TextUses:194Used by:206
Symbol 204 TextUses:194Used by:206 210
Symbol 205 TextUses:194Used by:206
Symbol 206 ButtonUses:199 200 201 202 203 204 205 166Used by:211
Symbol 207 TextUses:194Used by:210
Symbol 208 TextUses:194Used by:210
Symbol 209 TextUses:194Used by:210
Symbol 210 ButtonUses:207 208 204 200 209 166Used by:211
Symbol 211 MovieClipUses:189 191 193 196 197 198 206 210Used by:236
Symbol 212 GraphicUsed by:236
Symbol 213 GraphicUsed by:236
Symbol 214 GraphicUsed by:236
Symbol 215 GraphicUsed by:236
Symbol 216 GraphicUsed by:236
Symbol 217 GraphicUsed by:236
Symbol 218 GraphicUsed by:236
Symbol 219 GraphicUsed by:236
Symbol 220 ButtonUses:182 185 186 26 187Used by:236
Symbol 221 FontUsed by:222 223 630 631 632 633 634 635
Symbol 222 TextUses:221Used by:225
Symbol 223 TextUses:221Used by:225
Symbol 224 GraphicUsed by:225
Symbol 225 ButtonUses:222 223 177 224Used by:236  Timeline
Symbol 226 GraphicUsed by:235
Symbol 227 GraphicUsed by:230
Symbol 228 TextUses:192Used by:230
Symbol 229 TextUses:192Used by:230
Symbol 230 MovieClipUses:227 228 229Used by:235
Symbol 231 TextUses:192Used by:234
Symbol 232 TextUses:192Used by:234
Symbol 233 GraphicUsed by:234 629
Symbol 234 ButtonUses:231 232 233Used by:235
Symbol 235 MovieClipUses:226 230 234Used by:236
Symbol 236 MovieClipUses:29 30 38 42 43 44 46 48 49 50 79 80 82 60 84 85 86 87 88 89 56 90 91 92 165 166 167 168 169 170 171 172 173 174 176 177 178 179 180 181 188 211 212 213 214 215 216 217 218 219 220 225 235 SS2Used by:237  Timeline
Symbol 237 MovieClipUses:5 6 14 15 25 26 27 28 236Used by:Timeline
Symbol 238 GraphicUsed by:244
Symbol 239 GraphicUsed by:244
Symbol 240 GraphicUsed by:242
Symbol 241 GraphicUsed by:242
Symbol 242 ButtonUses:240 241Used by:243
Symbol 243 MovieClipUses:30 242Used by:244
Symbol 244 MovieClipUses:238 239 243Used by:Timeline
Symbol 245 GraphicUsed by:247
Symbol 246 GraphicUsed by:247
Symbol 247 MovieClipUses:245 246Used by:277
Symbol 248 GraphicUsed by:277
Symbol 249 GraphicUsed by:277
Symbol 250 GraphicUsed by:277
Symbol 251 MovieClipUsed by:277
Symbol 252 GraphicUsed by:277
Symbol 253 GraphicUsed by:261
Symbol 254 GraphicUsed by:261
Symbol 255 GraphicUsed by:261
Symbol 256 GraphicUsed by:261
Symbol 257 GraphicUsed by:261
Symbol 258 GraphicUsed by:261
Symbol 259 GraphicUsed by:261
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:253 254 255 256 257 258 259 260Used by:277
Symbol 262 ShapeTweeningUsed by:277
Symbol 263 ShapeTweeningUsed by:277
Symbol 264 GraphicUsed by:277
Symbol 265 GraphicUsed by:277
Symbol 266 GraphicUsed by:277
Symbol 267 GraphicUsed by:275 276
Symbol 268 GraphicUsed by:275 276 277
Symbol 269 GraphicUsed by:275 276
Symbol 270 GraphicUsed by:275 276 277
Symbol 271 GraphicUsed by:275 276 277
Symbol 272 GraphicUsed by:274 275 276
Symbol 273 GraphicUsed by:274
Symbol 274 MovieClipUses:272 273Used by:275 276 277
Symbol 275 ButtonUses:267 268 269 270 271 274 272Used by:277
Symbol 276 ButtonUses:267 268 269 270 271 274 272Used by:277
Symbol 277 MovieClipUses:247 248 249 250 251 252 261 262 263 264 265 266 275 276 271 268 274 270Used by:Timeline
Symbol 278 GraphicUsed by:Timeline
Symbol 279 GraphicUsed by:280
Symbol 280 ButtonUses:279Used by:Timeline
Symbol 636 MovieClip [__Packages.NewgroundsAPI]
Symbol 283 MovieClip [__Packages.com.newgrounds.components.APIConnector]
Symbol 356 MovieClip [__Packages.com.newgrounds.APIError]
Symbol 357 MovieClip [__Packages.com.newgrounds.API]
Symbol 358 MovieClip [__Packages.com.newgrounds.Bridge]
Symbol 359 MovieClip [__Packages.com.newgrounds.SaveFile]
Symbol 360 MovieClip [__Packages.com.newgrounds.SaveGroup]
Symbol 361 MovieClip [__Packages.com.newgrounds.ValidationTools]
Symbol 362 MovieClip [__Packages.com.newgrounds.APIEvent]
Symbol 363 MovieClip [__Packages.com.newgrounds.SaveGroupQuery]
Symbol 364 MovieClip [__Packages.com.newgrounds.encoders.BaseN]
Symbol 365 MovieClip [__Packages.com.newgrounds.encoders.ImageScanner]
Symbol 366 MovieClip [__Packages.com.newgrounds.encoders.SerialXML]
Symbol 367 MovieClip [__Packages.com.newgrounds.encoders.LZW2]
Symbol 368 MovieClip [__Packages.com.newgrounds.encoders.LZW]
Symbol 369 MovieClip [__Packages.com.newgrounds.Medal]
Symbol 370 MovieClip [__Packages.com.newgrounds.ScoreBoard]
Symbol 371 MovieClip [__Packages.com.newgrounds.Score]
Symbol 372 MovieClip [__Packages.com.newgrounds.encoders.RC4]
Symbol 373 MovieClip [__Packages.com.newgrounds.encoders.JSON]
Symbol 374 MovieClip [__Packages.com.newgrounds.APIEventDispatcher]
Symbol 375 MovieClip [__Packages.com.newgrounds.encoders.MD5]
Symbol 281 ShapeTweeningUsed by:282
Symbol 282 MovieClipUses:281 166Used by:Timeline
Symbol 284 GraphicUsed by:293 295 355
Symbol 285 GraphicUsed by:293 295 355
Symbol 286 GraphicUsed by:293 295 355
Symbol 287 GraphicUsed by:293 295 355
Symbol 288 FontUsed by:289 292 294 300 303 309 312 314 342 343 351 352
Symbol 289 TextUses:288Used by:355
Symbol 290 GraphicUsed by:291
Symbol 291 MovieClipUses:290Used by:293
Symbol 292 TextUses:288Used by:293
Symbol 293 MovieClipUses:284 285 286 287 291 292Used by:355
Symbol 294 TextUses:288Used by:295
Symbol 295 MovieClipUses:284 285 286 287 294Used by:355
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:307 313 316
Symbol 298 GraphicUsed by:299 308 350
Symbol 299 MovieClip [NewgroundsAPIAsset_Medal_Icon_Placeholder]Uses:298Used by:307
Symbol 300 EditableTextUses:288Used by:307
Symbol 301 FontUsed by:302 315 348 353
Symbol 302 TextUses:301Used by:307
Symbol 303 EditableTextUses:288Used by:307
Symbol 304 Bitmap [NewgroundsAPIAsset_default_medal_icon_1]Used by:306
Symbol 305 Bitmap [NewgroundsAPIAsset_default_medal_icon_2]Used by:306
Symbol 306 GraphicUses:57 58 59 305 304Used by:307
Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup]Uses:297 299 300 302 303 306Used by:355
Symbol 308 ButtonUses:298Used by:349 355
Symbol 309 TextUses:288Used by:313
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:313 316
Symbol 312 TextUses:288Used by:313
Symbol 313 MovieClip [NewgroundsAPIAsset_Login_Warning]Uses:297 309 311 312Used by:355
Symbol 314 TextUses:288Used by:316
Symbol 315 TextUses:301Used by:316
Symbol 316 MovieClip [NewgroundsAPIAsset_Connection_Error]Uses:297 314 315 311Used by:355
Symbol 317 GraphicUsed by:318
Symbol 318 MovieClipUses:317Used by:337
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClipUses:319Used by:337
Symbol 321 GraphicUsed by:322
Symbol 322 MovieClipUses:321Used by:337
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:337
Symbol 325 GraphicUsed by:326
Symbol 326 MovieClipUses:325Used by:337
Symbol 327 GraphicUsed by:328
Symbol 328 MovieClipUses:327Used by:337
Symbol 329 GraphicUsed by:330
Symbol 330 MovieClipUses:329Used by:337
Symbol 331 GraphicUsed by:332
Symbol 332 MovieClipUses:331Used by:337
Symbol 333 GraphicUsed by:334
Symbol 334 MovieClipUses:333Used by:337
Symbol 335 GraphicUsed by:336
Symbol 336 MovieClipUses:335Used by:337
Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background]Uses:318 320 322 324 326 328 330 332 334 336Used by:349 354
Symbol 338 GraphicUsed by:349
Symbol 339 GraphicUsed by:341
Symbol 340 GraphicUsed by:341
Symbol 341 ButtonUses:339 340Used by:349
Symbol 342 TextUses:288Used by:349
Symbol 343 TextUses:288Used by:349
Symbol 344 GraphicUsed by:347
Symbol 345 GraphicUsed by:347
Symbol 346 GraphicUsed by:347
Symbol 347 ButtonUses:344 345 346Used by:349 354
Symbol 348 TextUses:301Used by:349
Symbol 349 MovieClip [NewgroundsAsset_New_Version_Available]Uses:308 337 338 341 342 343 347 348Used by:355
Symbol 350 ButtonUses:298Used by:354
Symbol 351 TextUses:288Used by:354
Symbol 352 TextUses:288Used by:354
Symbol 353 TextUses:301Used by:354
Symbol 354 MovieClip [NewgroundsAsset_Illegal_Host]Uses:350 337 351 352 347 353Used by:355
Symbol 355 MovieClip [API Connector (NewgroundsAPI)]Uses:284 285 286 287 289 293 295 307 308 313 316 349 354Used by:Timeline
Symbol 376 Bitmap [NewgroundsAPIAsset_default_medal_icon_3]
Symbol 377 Bitmap [NewgroundsAPIAsset_default_medal_icon_4]
Symbol 378 Bitmap [NewgroundsAPIAsset_default_medal_icon_5]
Symbol 379 EditableTextUses:194Used by:Timeline
Symbol 380 BitmapUsed by:381
Symbol 381 GraphicUses:380Used by:382
Symbol 382 MovieClipUses:381Used by:Timeline
Symbol 383 BitmapUsed by:384 569
Symbol 384 GraphicUses:383Used by:385
Symbol 385 MovieClipUses:384Used by:Timeline
Symbol 386 GraphicUsed by:387
Symbol 387 MovieClipUses:386Used by:388
Symbol 388 MovieClipUses:387Used by:Timeline
Symbol 389 TextUses:194Used by:391
Symbol 390 TextUses:192Used by:391
Symbol 391 MovieClipUses:389 390Used by:Timeline
Symbol 392 TextUses:192Used by:393
Symbol 393 MovieClipUses:392Used by:Timeline
Symbol 394 TextUses:192Used by:395
Symbol 395 MovieClipUses:394Used by:Timeline
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:Timeline
Symbol 398 BitmapUsed by:399 471 483 489 503 507 522 526 538 544 549 551 555 559 561 564 571 578 579
Symbol 399 GraphicUses:398Used by:400
Symbol 400 MovieClipUses:399Used by:Timeline
Symbol 401 MovieClipUses:94 96 56 98 60 84Used by:432
Symbol 402 GraphicUsed by:403
Symbol 403 MovieClipUses:402Used by:432
Symbol 404 GraphicUsed by:416
Symbol 405 GraphicUsed by:416
Symbol 406 GraphicUsed by:416
Symbol 407 GraphicUsed by:416
Symbol 408 GraphicUsed by:416
Symbol 409 GraphicUsed by:416
Symbol 410 GraphicUsed by:416
Symbol 411 GraphicUsed by:416
Symbol 412 GraphicUsed by:416
Symbol 413 GraphicUsed by:416
Symbol 414 GraphicUsed by:416
Symbol 415 GraphicUsed by:416
Symbol 416 MovieClipUses:52 54 56 58 60 61 67 404 69 70 71 72 405 406 75 407 408 409 410 411 412 413 414 415 84Used by:432
Symbol 417 GraphicUsed by:432
Symbol 418 GraphicUsed by:431
Symbol 419 GraphicUsed by:431
Symbol 420 GraphicUsed by:431
Symbol 421 GraphicUsed by:431
Symbol 422 GraphicUsed by:431
Symbol 423 GraphicUsed by:431
Symbol 424 GraphicUsed by:431
Symbol 425 GraphicUsed by:431
Symbol 426 GraphicUsed by:431
Symbol 427 GraphicUsed by:431
Symbol 428 GraphicUsed by:431
Symbol 429 GraphicUsed by:431
Symbol 430 GraphicUsed by:431
Symbol 431 MovieClipUses:82 56 60 84 418 419 420 421 422 423 424 425 67 426 427 428 429 430Used by:432
Symbol 432 MovieClipUses:401 403 164 416 417 431Used by:Timeline
Symbol 433 GraphicUsed by:466
Symbol 434 FontUsed by:435
Symbol 435 EditableTextUses:434Used by:436
Symbol 436 MovieClipUses:435Used by:437
Symbol 437 MovieClipUses:436Used by:466
Symbol 438 ShapeTweeningUsed by:446
Symbol 439 ShapeTweeningUsed by:446
Symbol 440 ShapeTweeningUsed by:446
Symbol 441 ShapeTweeningUsed by:446
Symbol 442 ShapeTweeningUsed by:446
Symbol 443 ShapeTweeningUsed by:446
Symbol 444 GraphicUsed by:446
Symbol 445 GraphicUsed by:446
Symbol 446 MovieClipUses:30 438 439 440 441 442 443 444 445Used by:466
Symbol 447 GraphicUsed by:457 465
Symbol 448 GraphicUsed by:457 465 607
Symbol 449 SoundUsed by:457
Symbol 450 ShapeTweeningUsed by:457
Symbol 451 ShapeTweeningUsed by:457
Symbol 452 ShapeTweeningUsed by:457
Symbol 453 ShapeTweeningUsed by:457
Symbol 454 ShapeTweeningUsed by:457
Symbol 455 ShapeTweeningUsed by:457
Symbol 456 GraphicUsed by:457 607
Symbol 457 MovieClipUses:447 448 30 449 450 451 452 453 454 455 456Used by:466
Symbol 458 ShapeTweeningUsed by:465
Symbol 459 ShapeTweeningUsed by:465
Symbol 460 ShapeTweeningUsed by:465
Symbol 461 ShapeTweeningUsed by:465
Symbol 462 ShapeTweeningUsed by:465
Symbol 463 ShapeTweeningUsed by:465
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClipUses:447 448 30 458 459 460 461 462 463 464Used by:466
Symbol 466 MovieClipUses:433 437 446 457 465Used by:Timeline
Symbol 467 MovieClipUsed by:Timeline
Symbol 468 SoundUsed by:Timeline
Symbol 469 TextUses:192Used by:470
Symbol 470 MovieClipUses:469Used by:Timeline
Symbol 471 GraphicUses:398Used by:472
Symbol 472 MovieClipUses:471Used by:Timeline
Symbol 473 TextUses:192Used by:474
Symbol 474 MovieClipUses:473Used by:Timeline
Symbol 475 TextUses:192Used by:476
Symbol 476 MovieClipUses:475Used by:Timeline
Symbol 477 TextUses:192Used by:478
Symbol 478 MovieClipUses:477Used by:Timeline
Symbol 479 TextUses:192Used by:480
Symbol 480 MovieClipUses:479Used by:Timeline
Symbol 481 TextUses:192Used by:482
Symbol 482 MovieClipUses:481Used by:Timeline
Symbol 483 GraphicUses:398Used by:484
Symbol 484 MovieClipUses:483Used by:Timeline
Symbol 485 TextUses:192Used by:486
Symbol 486 MovieClipUses:485Used by:Timeline
Symbol 487 TextUses:192Used by:488
Symbol 488 MovieClipUses:487Used by:Timeline
Symbol 489 GraphicUses:398Used by:490
Symbol 490 MovieClipUses:489Used by:Timeline
Symbol 491 GraphicUsed by:492
Symbol 492 MovieClipUses:491Used by:494
Symbol 493 SoundUsed by:494 511 530
Symbol 494 MovieClipUses:492 493Used by:Timeline
Symbol 495 TextUses:192Used by:496
Symbol 496 MovieClipUses:495Used by:Timeline
Symbol 497 GraphicUsed by:500 534
Symbol 498 GraphicUsed by:500 534
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:497 498 499Used by:501
Symbol 501 MovieClipUses:500Used by:502
Symbol 502 MovieClipUses:501Used by:504 508 527 545 560 562 565 572 580
Symbol 503 GraphicUses:398Used by:504
Symbol 504 MovieClipUses:502 503Used by:Timeline
Symbol 505 TextUses:192Used by:506
Symbol 506 MovieClipUses:505Used by:Timeline
Symbol 507 GraphicUses:398Used by:508
Symbol 508 MovieClipUses:502 507Used by:Timeline
Symbol 509 GraphicUsed by:510
Symbol 510 MovieClipUses:509Used by:511
Symbol 511 MovieClipUses:510 493Used by:Timeline
Symbol 512 TextUses:192Used by:513
Symbol 513 MovieClipUses:512Used by:Timeline
Symbol 514 MovieClipUses:166Used by:Timeline
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:515Used by:520  Timeline
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:523
Symbol 519 GraphicUsed by:520
Symbol 520 MovieClipUses:516 519Used by:521
Symbol 521 MovieClipUses:520Used by:523 527 545 560 562 565 572 580
Symbol 522 GraphicUses:398Used by:523
Symbol 523 MovieClipUses:518 521 522Used by:Timeline
Symbol 524 TextUses:192Used by:525
Symbol 525 MovieClipUses:524Used by:Timeline
Symbol 526 GraphicUses:398Used by:527
Symbol 527 MovieClipUses:521 502 526Used by:Timeline
Symbol 528 GraphicUsed by:529
Symbol 529 MovieClipUses:528Used by:530
Symbol 530 MovieClipUses:529 493Used by:Timeline
Symbol 531 TextUses:192Used by:532
Symbol 532 MovieClipUses:531Used by:Timeline
Symbol 533 GraphicUsed by:534
Symbol 534 MovieClipUses:497 498 533Used by:535
Symbol 535 MovieClipUses:534Used by:536
Symbol 536 MovieClipUses:535Used by:537
Symbol 537 MovieClipUses:536Used by:539 545 560 562 565 572 580
Symbol 538 GraphicUses:398Used by:539
Symbol 539 MovieClipUses:537 538Used by:Timeline
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540Used by:Timeline
Symbol 542 TextUses:192Used by:543
Symbol 543 MovieClipUses:542Used by:Timeline
Symbol 544 GraphicUses:398Used by:545
Symbol 545 MovieClipUses:521 502 537 544Used by:Timeline
Symbol 546 MovieClipUses:30Used by:Timeline
Symbol 547 TextUses:192Used by:548
Symbol 548 MovieClipUses:547Used by:Timeline
Symbol 549 GraphicUses:398Used by:550
Symbol 550 MovieClipUses:549Used by:553
Symbol 551 GraphicUses:398Used by:552
Symbol 552 MovieClipUses:551Used by:553
Symbol 553 MovieClipUses:550 552Used by:554 558 563 566 577
Symbol 554 MovieClipUses:553Used by:Timeline
Symbol 555 GraphicUses:398Used by:556
Symbol 556 MovieClipUses:555Used by:Timeline
Symbol 557 MovieClipUses:166Used by:Timeline
Symbol 558 MovieClipUses:553Used by:Timeline
Symbol 559 GraphicUses:398Used by:560
Symbol 560 MovieClipUses:521 537 502 559Used by:Timeline
Symbol 561 GraphicUses:398Used by:562
Symbol 562 MovieClipUses:521 537 502 561Used by:Timeline
Symbol 563 MovieClipUses:553Used by:Timeline
Symbol 564 GraphicUses:398Used by:565
Symbol 565 MovieClipUses:502 521 537 564Used by:Timeline
Symbol 566 MovieClipUses:553Used by:Timeline
Symbol 567 TextUses:192Used by:568
Symbol 568 MovieClipUses:567Used by:Timeline
Symbol 569 GraphicUses:383Used by:570
Symbol 570 MovieClipUses:569Used by:Timeline
Symbol 571 GraphicUses:398Used by:572
Symbol 572 MovieClipUses:521 502 537 571Used by:Timeline
Symbol 573 TextUses:192Used by:574
Symbol 574 MovieClipUses:573Used by:Timeline
Symbol 575 TextUses:192Used by:576
Symbol 576 MovieClipUses:575Used by:Timeline
Symbol 577 MovieClipUses:553Used by:Timeline
Symbol 578 GraphicUses:398Used by:580
Symbol 579 GraphicUses:398Used by:580
Symbol 580 MovieClipUses:578 502 521 537 579Used by:Timeline
Symbol 581 TextUses:192Used by:Timeline
Symbol 582 TextUses:192Used by:Timeline
Symbol 583 TextUses:192Used by:Timeline
Symbol 584 TextUses:192Used by:Timeline
Symbol 585 TextUses:192Used by:Timeline
Symbol 586 TextUses:192Used by:Timeline
Symbol 587 TextUses:192Used by:Timeline
Symbol 588 TextUses:192Used by:Timeline
Symbol 589 TextUses:192Used by:Timeline
Symbol 590 TextUses:192Used by:Timeline
Symbol 591 TextUses:192Used by:Timeline
Symbol 592 TextUses:192Used by:Timeline
Symbol 593 TextUses:192Used by:Timeline
Symbol 594 TextUses:192Used by:Timeline
Symbol 595 ShapeTweeningUsed by:Timeline
Symbol 596 GraphicUsed by:Timeline
Symbol 597 TextUses:192Used by:Timeline
Symbol 598 TextUses:192Used by:Timeline
Symbol 599 EditableTextUses:194Used by:Timeline
Symbol 600 GraphicUsed by:607
Symbol 601 ShapeTweeningUsed by:607
Symbol 602 ShapeTweeningUsed by:607
Symbol 603 ShapeTweeningUsed by:607
Symbol 604 ShapeTweeningUsed by:607
Symbol 605 ShapeTweeningUsed by:607
Symbol 606 ShapeTweeningUsed by:607
Symbol 607 MovieClipUses:600 448 30 601 602 603 604 605 606 456Used by:Timeline
Symbol 608 TextUses:192Used by:Timeline
Symbol 609 EditableTextUses:194Used by:Timeline
Symbol 610 EditableTextUses:194Used by:Timeline
Symbol 611 TextUses:192Used by:Timeline
Symbol 612 EditableTextUses:194Used by:Timeline
Symbol 613 EditableTextUses:194Used by:Timeline
Symbol 614 EditableTextUses:194Used by:Timeline
Symbol 615 EditableTextUses:194Used by:Timeline
Symbol 616 EditableTextUses:194Used by:Timeline
Symbol 617 EditableTextUses:194Used by:Timeline
Symbol 618 EditableTextUses:194Used by:Timeline
Symbol 619 TextUses:192Used by:Timeline
Symbol 620 TextUses:192Used by:Timeline
Symbol 621 TextUses:192Used by:Timeline
Symbol 622 TextUses:192Used by:Timeline
Symbol 623 TextUses:192Used by:Timeline
Symbol 624 TextUses:192Used by:Timeline
Symbol 625 TextUses:192Used by:Timeline
Symbol 626 TextUses:192Used by:Timeline
Symbol 627 TextUses:192Used by:629
Symbol 628 TextUses:192Used by:629
Symbol 629 ButtonUses:627 628 233Used by:Timeline
Symbol 630 TextUses:221Used by:Timeline
Symbol 631 TextUses:221Used by:Timeline
Symbol 632 TextUses:221Used by:Timeline
Symbol 633 TextUses:221Used by:Timeline
Symbol 634 TextUses:221Used by:Timeline
Symbol 635 TextUses:221Used by:Timeline
Streaming Sound 1Used by:Timeline
Streaming Sound 2Used by:Symbol 236 MovieClip

Instance Names

"loaderr"Frame 1Symbol 237 MovieClip
"menuu"Frame 2Symbol 236 MovieClip
"fadeOut"Frame 2Symbol 282 MovieClip
"bg2"Frame 4Symbol 382 MovieClip
"land"Frame 4Symbol 400 MovieClip
"player"Frame 4Symbol 432 MovieClip
"Cam"Frame 4Symbol 466 MovieClip
"bg2"Frame 6Symbol 382 MovieClip
"land"Frame 6Symbol 472 MovieClip
"player"Frame 6Symbol 432 MovieClip
"Cam"Frame 6Symbol 466 MovieClip
"bg2"Frame 8Symbol 382 MovieClip
"exitt"Frame 8Symbol 397 MovieClip
"land"Frame 8Symbol 484 MovieClip
"player"Frame 8Symbol 432 MovieClip
"Cam"Frame 8Symbol 466 MovieClip
"bg2"Frame 10Symbol 382 MovieClip
"land"Frame 10Symbol 490 MovieClip
"player"Frame 10Symbol 432 MovieClip
"Cam"Frame 10Symbol 466 MovieClip
"bg2"Frame 12Symbol 382 MovieClip
"land"Frame 12Symbol 504 MovieClip
"player"Frame 12Symbol 432 MovieClip
"Cam"Frame 12Symbol 466 MovieClip
"bg2"Frame 14Symbol 382 MovieClip
"land"Frame 14Symbol 508 MovieClip
"player"Frame 14Symbol 432 MovieClip
"Cam"Frame 14Symbol 466 MovieClip
"bg2"Frame 16Symbol 382 MovieClip
"noGrav1"Frame 16Symbol 514 MovieClip
"land"Frame 16Symbol 523 MovieClip
"player"Frame 16Symbol 432 MovieClip
"Cam"Frame 16Symbol 466 MovieClip
"bg2"Frame 18Symbol 382 MovieClip
"land"Frame 18Symbol 527 MovieClip
"player"Frame 18Symbol 432 MovieClip
"noGrav1"Frame 18Symbol 514 MovieClip
"Cam"Frame 18Symbol 466 MovieClip
"bg2"Frame 20Symbol 382 MovieClip
"land"Frame 20Symbol 539 MovieClip
"player"Frame 20Symbol 432 MovieClip
"Cam"Frame 20Symbol 466 MovieClip
"bg2"Frame 22Symbol 382 MovieClip
"noGrav1"Frame 22Symbol 514 MovieClip
"noGrav2"Frame 22Symbol 514 MovieClip
"noGrav3"Frame 22Symbol 514 MovieClip
"land"Frame 22Symbol 545 MovieClip
"medala"Frame 22Symbol 546 MovieClip
"player"Frame 22Symbol 432 MovieClip
"Cam"Frame 22Symbol 466 MovieClip
"bg2"Frame 24Symbol 382 MovieClip
"noGrav1"Frame 24Symbol 514 MovieClip
"noGrav2"Frame 24Symbol 514 MovieClip
"noGrav3"Frame 24Symbol 514 MovieClip
"plat"Frame 24Symbol 554 MovieClip
"land"Frame 24Symbol 556 MovieClip
"player"Frame 24Symbol 432 MovieClip
"noGrav1"Frame 24Symbol 514 MovieClip
"Cam"Frame 24Symbol 466 MovieClip
"bg2"Frame 26Symbol 382 MovieClip
"noGrav2"Frame 26Symbol 514 MovieClip
"noGrav3"Frame 26Symbol 514 MovieClip
"plat"Frame 26Symbol 558 MovieClip
"land"Frame 26Symbol 560 MovieClip
"player"Frame 26Symbol 432 MovieClip
"noGrav1"Frame 26Symbol 514 MovieClip
"Cam"Frame 26Symbol 466 MovieClip
"bg2"Frame 28Symbol 382 MovieClip
"noGrav2"Frame 28Symbol 514 MovieClip
"noGrav3"Frame 28Symbol 514 MovieClip
"land"Frame 28Symbol 562 MovieClip
"plat"Frame 28Symbol 563 MovieClip
"player"Frame 28Symbol 432 MovieClip
"noGrav1"Frame 28Symbol 514 MovieClip
"noGrav2"Frame 28Symbol 514 MovieClip
"Cam"Frame 28Symbol 466 MovieClip
"bg2"Frame 30Symbol 382 MovieClip
"noGrav2"Frame 30Symbol 514 MovieClip
"noGrav3"Frame 30Symbol 514 MovieClip
"land"Frame 30Symbol 565 MovieClip
"plat"Frame 30Symbol 566 MovieClip
"player"Frame 30Symbol 432 MovieClip
"noGrav1"Frame 30Symbol 514 MovieClip
"Cam"Frame 30Symbol 466 MovieClip
"bg2"Frame 32Symbol 382 MovieClip
"noGrav2"Frame 32Symbol 514 MovieClip
"noGrav3"Frame 32Symbol 514 MovieClip
"land"Frame 32Symbol 572 MovieClip
"noGrav1"Frame 32Symbol 514 MovieClip
"noGrav2"Frame 32Symbol 514 MovieClip
"noGrav3"Frame 32Symbol 514 MovieClip
"player"Frame 32Symbol 432 MovieClip
"noGrav1"Frame 32Symbol 514 MovieClip
"noGrav2"Frame 32Symbol 514 MovieClip
"Cam"Frame 32Symbol 466 MovieClip
"bg2"Frame 34Symbol 382 MovieClip
"noGrav2"Frame 34Symbol 514 MovieClip
"noGrav3"Frame 34Symbol 514 MovieClip
"plat"Frame 34Symbol 577 MovieClip
"land"Frame 34Symbol 580 MovieClip
"noGrav1"Frame 34Symbol 514 MovieClip
"noGrav2"Frame 34Symbol 514 MovieClip
"noGrav3"Frame 34Symbol 514 MovieClip
"player"Frame 34Symbol 432 MovieClip
"noGrav1"Frame 34Symbol 514 MovieClip
"noGrav1"Frame 34Symbol 514 MovieClip
"noGrav2"Frame 34Symbol 514 MovieClip
"Cam"Frame 34Symbol 466 MovieClip
"fadeOutMenu"Frame 298Symbol 607 MovieClip
"fadeOutMenu"Frame 564Symbol 607 MovieClip
"bars"Symbol 236 MovieClip Frame 1Symbol 38 MovieClip
"player"Symbol 236 MovieClip Frame 288Symbol 165 MovieClip
"ng_ad"Symbol 244 MovieClip Frame 1Symbol 243 MovieClip
"icon"Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 1Symbol 299 MovieClip [NewgroundsAPIAsset_Medal_Icon_Placeholder]
"shadow"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 318 MovieClip
"c"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 320 MovieClip
"b"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 322 MovieClip
"t"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 324 MovieClip
"l"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 326 MovieClip
"r"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 328 MovieClip
"tl"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 330 MovieClip
"tr"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 332 MovieClip
"bl"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 334 MovieClip
"br"Symbol 337 MovieClip [NewgroundsAPIAsset_big_popup_background] Frame 1Symbol 336 MovieClip
"background"Symbol 349 MovieClip [NewgroundsAsset_New_Version_Available] Frame 1Symbol 308 Button
"background"Symbol 354 MovieClip [NewgroundsAsset_Illegal_Host] Frame 1Symbol 350 Button
"connected"Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 11Symbol 295 MovieClip
"block"Symbol 432 MovieClip Frame 1Symbol 403 MovieClip
"fall"Symbol 432 MovieClip Frame 3Symbol 416 MovieClip
"lvlb"Symbol 437 MovieClip Frame 1Symbol 436 MovieClip
"lvla"Symbol 466 MovieClip Frame 1Symbol 437 MovieClip
"fadeIn"Symbol 466 MovieClip Frame 1Symbol 446 MovieClip
"fadeOut"Symbol 466 MovieClip Frame 1Symbol 457 MovieClip
"fadeOutRestart"Symbol 466 MovieClip Frame 1Symbol 465 MovieClip
"wall"Symbol 504 MovieClip Frame 1Symbol 502 MovieClip
"wall"Symbol 508 MovieClip Frame 1Symbol 502 MovieClip
"wall2"Symbol 523 MovieClip Frame 1Symbol 521 MovieClip
"wall2"Symbol 527 MovieClip Frame 1Symbol 521 MovieClip
"wall"Symbol 527 MovieClip Frame 1Symbol 502 MovieClip
"wall3"Symbol 539 MovieClip Frame 1Symbol 537 MovieClip
"wall"Symbol 545 MovieClip Frame 1Symbol 521 MovieClip
"wall2"Symbol 545 MovieClip Frame 1Symbol 502 MovieClip
"wall3"Symbol 545 MovieClip Frame 1Symbol 537 MovieClip
"topp"Symbol 553 MovieClip Frame 1Symbol 550 MovieClip
"bottomp"Symbol 553 MovieClip Frame 1Symbol 552 MovieClip
"wall"Symbol 560 MovieClip Frame 1Symbol 521 MovieClip
"wall3"Symbol 560 MovieClip Frame 1Symbol 537 MovieClip
"wall2"Symbol 560 MovieClip Frame 1Symbol 502 MovieClip
"wall"Symbol 562 MovieClip Frame 1Symbol 521 MovieClip
"wall3"Symbol 562 MovieClip Frame 1Symbol 537 MovieClip
"wall2"Symbol 562 MovieClip Frame 1Symbol 502 MovieClip
"wall2"Symbol 565 MovieClip Frame 1Symbol 502 MovieClip
"wall"Symbol 565 MovieClip Frame 1Symbol 521 MovieClip
"wall3"Symbol 565 MovieClip Frame 1Symbol 537 MovieClip
"wall"Symbol 572 MovieClip Frame 1Symbol 521 MovieClip
"wall2"Symbol 572 MovieClip Frame 1Symbol 502 MovieClip
"wall3"Symbol 572 MovieClip Frame 1Symbol 537 MovieClip
"wall2"Symbol 580 MovieClip Frame 1Symbol 502 MovieClip
"wall"Symbol 580 MovieClip Frame 1Symbol 521 MovieClip
"wall3"Symbol 580 MovieClip Frame 1Symbol 537 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "preloader bar"
ExportAssets (56)Timeline Frame 1Symbol 636 as "__Packages.NewgroundsAPI"
ExportAssets (56)Timeline Frame 1Symbol 283 as "__Packages.com.newgrounds.components.APIConnector"
ExportAssets (56)Timeline Frame 1Symbol 356 as "__Packages.com.newgrounds.APIError"
ExportAssets (56)Timeline Frame 1Symbol 357 as "__Packages.com.newgrounds.API"
ExportAssets (56)Timeline Frame 1Symbol 358 as "__Packages.com.newgrounds.Bridge"
ExportAssets (56)Timeline Frame 1Symbol 359 as "__Packages.com.newgrounds.SaveFile"
ExportAssets (56)Timeline Frame 1Symbol 360 as "__Packages.com.newgrounds.SaveGroup"
ExportAssets (56)Timeline Frame 1Symbol 361 as "__Packages.com.newgrounds.ValidationTools"
ExportAssets (56)Timeline Frame 1Symbol 362 as "__Packages.com.newgrounds.APIEvent"
ExportAssets (56)Timeline Frame 1Symbol 363 as "__Packages.com.newgrounds.SaveGroupQuery"
ExportAssets (56)Timeline Frame 1Symbol 364 as "__Packages.com.newgrounds.encoders.BaseN"
ExportAssets (56)Timeline Frame 1Symbol 365 as "__Packages.com.newgrounds.encoders.ImageScanner"
ExportAssets (56)Timeline Frame 1Symbol 366 as "__Packages.com.newgrounds.encoders.SerialXML"
ExportAssets (56)Timeline Frame 1Symbol 367 as "__Packages.com.newgrounds.encoders.LZW2"
ExportAssets (56)Timeline Frame 1Symbol 368 as "__Packages.com.newgrounds.encoders.LZW"
ExportAssets (56)Timeline Frame 1Symbol 369 as "__Packages.com.newgrounds.Medal"
ExportAssets (56)Timeline Frame 1Symbol 370 as "__Packages.com.newgrounds.ScoreBoard"
ExportAssets (56)Timeline Frame 1Symbol 371 as "__Packages.com.newgrounds.Score"
ExportAssets (56)Timeline Frame 1Symbol 372 as "__Packages.com.newgrounds.encoders.RC4"
ExportAssets (56)Timeline Frame 1Symbol 373 as "__Packages.com.newgrounds.encoders.JSON"
ExportAssets (56)Timeline Frame 1Symbol 374 as "__Packages.com.newgrounds.APIEventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 375 as "__Packages.com.newgrounds.encoders.MD5"
ExportAssets (56)Timeline Frame 2Symbol 299 as "NewgroundsAPIAsset_Medal_Icon_Placeholder"
ExportAssets (56)Timeline Frame 2Symbol 304 as "NewgroundsAPIAsset_default_medal_icon_1"
ExportAssets (56)Timeline Frame 2Symbol 305 as "NewgroundsAPIAsset_default_medal_icon_2"
ExportAssets (56)Timeline Frame 2Symbol 307 as "NewgroundsAPIAsset_Medal_Popup"
ExportAssets (56)Timeline Frame 2Symbol 313 as "NewgroundsAPIAsset_Login_Warning"
ExportAssets (56)Timeline Frame 2Symbol 316 as "NewgroundsAPIAsset_Connection_Error"
ExportAssets (56)Timeline Frame 2Symbol 337 as "NewgroundsAPIAsset_big_popup_background"
ExportAssets (56)Timeline Frame 2Symbol 349 as "NewgroundsAsset_New_Version_Available"
ExportAssets (56)Timeline Frame 2Symbol 354 as "NewgroundsAsset_Illegal_Host"
ExportAssets (56)Timeline Frame 2Symbol 355 as "API Connector (NewgroundsAPI)"
ExportAssets (56)Timeline Frame 2Symbol 376 as "NewgroundsAPIAsset_default_medal_icon_3"
ExportAssets (56)Timeline Frame 2Symbol 377 as "NewgroundsAPIAsset_default_medal_icon_4"
ExportAssets (56)Timeline Frame 2Symbol 378 as "NewgroundsAPIAsset_default_medal_icon_5"

Labels

"up"Symbol 20 MovieClip Frame 1
"on"Symbol 230 MovieClip Frame 1
"off"Symbol 230 MovieClip Frame 10
"done"Symbol 237 MovieClip Frame 2
"intro"Symbol 237 MovieClip Frame 22
"loading"Symbol 277 MovieClip Frame 1
"loaded"Symbol 277 MovieClip Frame 101
"lastframe"Symbol 277 MovieClip Frame 165
"end"Symbol 277 MovieClip Frame 166
"closeme"Symbol 307 MovieClip [NewgroundsAPIAsset_Medal_Popup] Frame 11
"closeme"Symbol 313 MovieClip [NewgroundsAPIAsset_Login_Warning] Frame 11
"closeme"Symbol 316 MovieClip [NewgroundsAPIAsset_Connection_Error] Frame 11
"connecting"Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 2
"connected"Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 11
"done"Symbol 355 MovieClip [API Connector (NewgroundsAPI)] Frame 20

Dynamic Text Variables

medal_nameSymbol 300 EditableText"medal unlocked!"
medal_valueSymbol 303 EditableText"100pts"
lvlSymbol 435 EditableText"<p align="center"><font face="Century Gothic" size="25" color="#ffffff" letterSpacing="0.000000" kerning="1">01</font></p>"
rstartSymbol 599 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
rstartSymbol 609 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
playaSymbol 610 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
rstartSymbol 612 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
flipSymbol 613 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">499</font></p>"
playaSymbol 614 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
rstartSymbol 615 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"
flipSymbol 616 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">499</font></p>"
dieSymbol 617 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">6</font></p>"
playaSymbol 618 EditableText"<p align="right"><font face="Futura Hv" size="26" color="#ffffff" letterSpacing="5.000000" kerning="1">20</font></p>"




http://swfchan.com/19/92367/info.shtml
Created: 27/3 -2019 11:30:27 Last modified: 27/3 -2019 11:30:27 Server time: 22/12 -2024 08:52:04