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

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

N3wton.swf

This is the info page for
Flash #48012

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


Text
www.kongregate.com

Play more games at

N3WTON

PLAY

PLAY

CREDITS

CREDITS

LEVEL SELECT

LEVEL SELECT

OPTIONS

OPTIONS

HIGHSCORES

HIGHSCORES

CREDITS

BACK

BACK

Created By:
Justin Poel
Testers:
Joshua Gale
Joshua Gedeon
Kendle Kelly
Matthew Leigh
Matthew Truscott

Music By:
Arnas - Oak Galaxy
Grillpie - A New Try
Johnwashere2 - Sewer Jam
Music downloaded from
the Newgrounds Audio
Portal.

As the name suggests, N3wton is based on
the premise of Newton's 3rd Law - For every
action there is an equal and opposite
reaction.  This rule governs your character
throughout the game.  Each of the 25 levels
requires you to hit the enemy off the edge
of the stage.

NEW GAME

NEW GAME

Press P to pause the game, where you can access
options or save.  Save the game by pressing Quit
on the pause menu.

CONTINUE

CONTINUE

Starting a new game will delete
your old one.  Start one anyway?

WARNING!

YES

YES

NO

NO

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

LEVEL SELECT

Play the main game to unlock levels!

GAME OPTIONS

Game Volume

Quality

Options can be accessed in-game on
the pause screen.

100

LOW

LOW

MEDIUM

MEDIUM

HIGH

HIGH

Mute Music

Mute Sounds

CLICK TO CHARGE

MOVE USING EITHER:

W

D

OR

RELEASE TO FIRE

S

A

p

u

q

t

HELPFUL HINTS!

L

E

V

2

Bonus:

Score:

---------------------------------------------------------------------Welcome to N3WTON-----------------------------------------------------------------------
Helpful and friendly hints will be placed here at the bottom of the screen for your convenience.

Enemies don't obey Newton's 3rd law and are free to fire without any recoil.  Unfair, I know, but hey,
it happens.  (Press H to hide tip)

Bullets will deteriorate as they bounce.  After five bounces they disappear.  Your bullets don't deflect
off of you.  Likewise, enemy's bullets don't deflect off themselves or each other.  (Press H to hide tip)

500 points are rewarded for completing a level.  The faster you complete the level, the more bonus
points you get.  Restarting the level will lose the bonus for that level.    (Press H to hide tip)

Use walls to your advantage.  Angles and deflection are your friends.  (Press H to hide tip)

Anchoring Wells will keep your character anchored for a period of time.  Any recoil from your shots
and hits with enemy bullets are nullified.  (Press H to hide tip)

Teleportation wells warp your character from one pad to another, bypassing anything inbetween.
(Press H to hide tip)

Switches, when hit with a bullet, will cause something on screen to happen.  Pay close attention!
(Press H to hide tip)

Crates can be moved by shooting them.  Use crates to block bullets and enemies.  (Press H to hide
tip)

Use the recoil from your bullets to your advantage.  (Press H to hide tip)

Shooting bullets into a transport well warps your bullet to another transport well with the same
angle and velocity.  (Press H to hide tip)

i'd eNjoy giving you a cluE for this one, i really Would, but this level Would Seem too easy With one,
Even if it waS a little cluE, i still wouldN't do it.  (Press H to hide tip)

QUIT

QUIT

100

PAUSED

Save your progress?

SAVE

SAVE

DON'T SAVE

DON'T SAVE

Final Score:

Your Name

MENU

MENU

SUBMIT

SUBMIT

SUBMITTED!

Play more games at

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } stop(); _quality = "MEDIUM"; pauseScreenShow = false; Stage.showMenu = false; MochiAd.showPreGameAd({id:"c28faa4889c11f57", res:"550x550"}); __com_mochibot__("c17f703d", this, 10301, true);
Frame 2
stop();
Frame 3
function teleportParticle(padNum, padDestination) { _root.playSound("warp"); i = 1; while (i <= 50) { _root.particle.duplicateMovieClip("particle" + i, i); _root["particle" + i]._x = _root["teleport" + padNum]._x; _root["particle" + i]._y = _root["teleport" + padNum]._y; _root["particle" + i].padDestination = padDestination; _root["particle" + i]._xscale = random(50) + 50; _root["particle" + i]._yscale = random(50) + 50; i++; } } function playSound(soundName) { if (_root.soundMute == false) { sound = new Sound(); sound.attachSound(soundName); sound.setVolume(_root.gameVolume); sound.start(); } } Mouse.hide(); highestLevelCompleted = 0; enemies = 8; enemyNum = enemies; enemyN = 500; objects = 0; buttons = 4; bonus = 500; onMainMenu = true; if (gameVolume == undefined) { gameVolume = 100; } if (soundMute == undefined) { soundMute = false; } if (musicMute == undefined) { musicMute = false; } _root.n3wton = SharedObject.getLocal("n3wton"); if (_root.n3wton.data.level == undefined) { _root.n3wton.data.level = 0; } _root.level = _root.n3wton.data.level; if (_root.n3wton.data.score == undefined) { score = 0; } else { score = _root.n3wton.data.score; } practice = false; highestLevelCompleted = _root.level - 1; _root.kongregateServices.connect(); _root.kongregateStats.submit("HighestLevelCompleted", highestLevelCompleted); stop();
Instance of Symbol 60 MovieClip in Frame 3
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 3
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip "hint" in Frame 3
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 3
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 40; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 10; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 50; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 101 MovieClip "enemyBall" in Frame 3
onClipEvent (load) { transportHit = false; transHit = 0; deg = _root["enemy" + enemyNum].deg; rad = deg * (Math.PI/180); y = hyp * Math.sin(rad); x = hyp * Math.cos(rad); this._y = _root["enemy" + enemyNum]._y + (y * 3); this._x = _root["enemy" + enemyNum]._x + (x * 3); fullHealth = 5; health = fullHealth; } onClipEvent (enterFrame) { this._x = this._x + x; this._y = this._y + y; if ((((this._x < 0) or (this._x > 550)) or (this._y < 0)) or (this._y > 550)) { this.removeMovieClip(); } i = 1; while (i <= _root.buttons) { if (this.hitTest(_root["button" + i])) { _root["button" + i].recoilSpeed = hyp; _root["button" + i].turretRad = rad - Math.PI; x = x * -1; y = y * -1; health--; } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideLeft)) { x = x * -1; if (y > 0) { rad = Math.acos(x / hyp); } else { rad = (Math.PI*2) - Math.acos(x / hyp); } _root["object" + n].xMove = hyp; health--; } else if (this.hitTest(_root["object" + n].sideRight)) { x = x * -1; if (y > 0) { rad = Math.acos(x / hyp) - (Math.PI*2); } else { rad = -Math.acos(x / hyp); } _root["object" + n].xMove = -hyp; health--; } else if (this.hitTest(_root["object" + n].sideBottom)) { y = y * -1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = -hyp; health--; } else if (this.hitTest(_root["object" + n].sideTop)) { y = y * -1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = hyp; health--; } n++; } if (health > 0) { this._alpha = health * (100 / fullHealth); } else { this.removeMovieClip(); } }
Instance of Symbol 99 MovieClip "enemy5" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 5; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 20; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy6" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 6; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 60; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy7" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 7; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 30; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 99 MovieClip "enemy8" in Frame 3
onClipEvent (load) { function respawn() { playing = false; enemyNum = 8; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 60; } reset(); respawn(); firingRate = 70; } onClipEvent (enterFrame) { if (_root.transition.playing == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } }
Instance of Symbol 115 MovieClip "button2" in Frame 3
onClipEvent (load) { recoilSpeed = 0; } onClipEvent (enterFrame) { if (recoilSpeed > 0) { recoilSpeed = recoilSpeed - 2; xSpeed = recoilSpeed * Math.cos(turretRad); ySpeed = recoilSpeed * Math.sin(turretRad); this._x = this._x - xSpeed; this._y = this._y - ySpeed; } }
Instance of Symbol 119 MovieClip "button1" in Frame 3
onClipEvent (load) { recoilSpeed = 0; } onClipEvent (enterFrame) { if (recoilSpeed > 0) { recoilSpeed = recoilSpeed - 2; xSpeed = recoilSpeed * Math.cos(turretRad); ySpeed = recoilSpeed * Math.sin(turretRad); this._x = this._x - xSpeed; this._y = this._y - ySpeed; } }
Instance of Symbol 124 MovieClip "button3" in Frame 3
onClipEvent (load) { recoilSpeed = 0; } onClipEvent (enterFrame) { if (recoilSpeed > 0) { recoilSpeed = recoilSpeed - 2; xSpeed = recoilSpeed * Math.cos(turretRad); ySpeed = recoilSpeed * Math.sin(turretRad); this._x = this._x - xSpeed; this._y = this._y - ySpeed; } }
Instance of Symbol 128 MovieClip "button4" in Frame 3
onClipEvent (load) { recoilSpeed = 0; } onClipEvent (enterFrame) { if (recoilSpeed > 0) { recoilSpeed = recoilSpeed - 2; xSpeed = recoilSpeed * Math.cos(turretRad); ySpeed = recoilSpeed * Math.sin(turretRad); this._x = this._x - xSpeed; this._y = this._y - ySpeed; } }
Instance of Symbol 160 MovieClip "transition" in Frame 3
onClipEvent (load) { level = 0; destination = 0; playing = false; this._x = 275; this._y = 275; this._visible = false; }
Instance of Symbol 162 MovieClip in Frame 3
onClipEvent (load) { this.swapDepths(1001); } onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; }
Instance of Symbol 164 MovieClip "codeClip" in Frame 3
onClipEvent (load) { gameMusic = new Sound(); gameMusic.attachSound("menuMusic"); if (_root.gameVolume == undefined) { gameMusic.setVolume(100); } else { gameMusic.setVolume(_root.gameVolume); } if (_root.musicMute == false) { gameMusic.start(0, 1000); } }
Instance of Symbol 162 MovieClip in Frame 4
onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; }
Instance of Symbol 180 MovieClip in Frame 5
onClipEvent (load) { if (_root.n3wton.data.continueGame == true) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } }
Frame 6
onMainMenu = true;
Instance of Symbol 196 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 1; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 199 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 2; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 202 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 3; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 205 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 4; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 208 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 5; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 211 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 6; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 214 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 7; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 217 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 8; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 220 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 9; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 231 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 10; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 234 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 11; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 237 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 12; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 240 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 13; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 243 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 14; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 246 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 15; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 249 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 16; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 252 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 17; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 255 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 18; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 258 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 19; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 261 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 20; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 264 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 21; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 267 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 22; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 270 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 23; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 273 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 24; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 276 MovieClip in Frame 6
onClipEvent (load) { this.cacheAsBitmap; level = 25; active = false; } onClipEvent (enterFrame) { if (_root.n3wton.data.level >= level) { this.darken._visible = false; active = true; } if (this.hitTest(_root._xmouse, _root._ymouse)) { if (active == true) { this.gotoAndStop(2); } } else { this.gotoAndStop(1); } } onClipEvent (mouseDown) { if (active == true) { if (this.hitTest(_root._xmouse, _root._ymouse)) { stopAllSounds(); _root.onMainMenu = false; _root.transition.play(); _root.transition.destination = 7; _root.transition.level = level; _root.practice = true; _root.bonus = 500; _root.score = 0; } } }
Instance of Symbol 286 MovieClip in Frame 7
onClipEvent (load) { if (_root.gameVolume > 0) { this.slider._x = _root.gameVolume * 2; } } onClipEvent (enterFrame) { _root.gameVolume = Math.ceil(this.slider._x / 2); _root.codeClip.gameMusic.setVolume(_root.gameVolume); }
Instance of Symbol 303 MovieClip in Frame 7
onClipEvent (load) { if (_root.musicMute == true) { this.gotoAndStop(2); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { if (_root.musicMute == false) { this.nextFrame(); _root.codeClip.gameMusic.stop(); } else { this.prevFrame(); _root.codeClip.gameMusic.start(0, 1000); } } }
Instance of Symbol 304 MovieClip in Frame 7
onClipEvent (load) { if (_root.soundMute == true) { this.gotoAndStop(2); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { if (_root.soundMute == false) { this.nextFrame(); } else { this.prevFrame(); } } }
Frame 8
test = 0; nextFrame();
Instance of Symbol 60 MovieClip in Frame 8
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 8
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip "hint" in Frame 8
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 8
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 352 MovieClip "hint" in Frame 8
onClipEvent (load) { timer = 3; hideHint = false; reverse = false; } onClipEvent (enterFrame) { this.gotoAndStop(_root.level); if (_root.pauseScreen.paused == false) { if (_root.transition.playing == false) { timer--; if (_root.bonus > 0) { if (timer <= 0) { _root.bonus--; timer = 3; } } } } if (hideHint == true) { if (reverse == false) { if (this._y < 550) { this._y = this._y + 3; this._alpha = this._alpha - 10; } else { reverse = true; hideHint = false; } } else if (this._y > 510) { this._y = this._y - 3; this._alpha = this._alpha + 10; } else { reverse = false; hideHint = false; } } } onClipEvent (keyDown) { if (Key.getCode() == 72) { hideHint = true; } }
Instance of Symbol 378 MovieClip "player" in Frame 8
onClipEvent (load) { function reset() { this.gotoAndStop(1); dead = false; direction = ""; explode = false; hSpeed = 0; vSpeed = 0; objectHit = false; anchored = false; objectMiss = 0; turretRad = 0; recoilSpeed = 0; ballSpeed = 0; charging = false; n = 500; } firingRate = 4; maxSpeed = 5; acc = 0.55; up = false; down = false; left = false; right = false; transition = true; teleporting = false; teleportHit = 0; reset(); } onClipEvent (enterFrame) { _root.test = _root["ball" + n].hyp; i = 1; while (i <= _root.teleportNum) { if (this.hitTest(_root["teleport" + i]) == false) { teleportHit++; } i++; } if (teleportHit == _root.teleportNum) { teleporting = false; teleportHit = 0; } else { teleportHit = 0; } if (dead == false) { if (transition == false) { if (firingRate > 0) { firingRate--; } x = _root._xmouse - this._x; y = _root._ymouse - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (anchored == false) { if (recoilSpeed > 0) { recoilSpeed = recoilSpeed - 1.4; xSpeed = recoilSpeed * Math.cos(turretRad); ySpeed = recoilSpeed * Math.sin(turretRad); this._x = this._x - xSpeed; this._y = this._y - ySpeed; } else { recoilSpeed = 0; } } if (charging == true) { if (ballSpeed < 14) { ballSpeed = ballSpeed + 0.5; } } i = 1; while (i <= _root.objects) { if (this.turret.hitTest(_root["object" + i])) { objectHit = true; } else { objectMiss++; } i++; } if (objectMiss == _root.objects) { objectHit = false; objectMiss = 0; } else { objectMiss = 0; } if (anchored == false) { this._x = this._x + hSpeed; if (Key.isDown(39) or Key.isDown(68)) { right = true; if (hSpeed < maxSpeed) { hSpeed = hSpeed + acc; } } else if (right == true) { right = false; } if (Key.isDown(37) or Key.isDown(65)) { left = true; if (hSpeed > (-maxSpeed)) { hSpeed = hSpeed - acc; } } else if (left == true) { left = false; } if ((left == false) and (right == false)) { if (hSpeed > 0) { hSpeed = hSpeed - acc; if (hSpeed < acc) { hSpeed = 0; } } else if (hSpeed < 0) { hSpeed = hSpeed + acc; if (hSpeed > acc) { hSpeed = 0; } } } this._y = this._y + vSpeed; if (Key.isDown(40) or Key.isDown(83)) { down = true; if (vSpeed < maxSpeed) { vSpeed = vSpeed + acc; } } else if (down == true) { down = false; } if (Key.isDown(38) or Key.isDown(87)) { up = true; if (vSpeed > (-maxSpeed)) { vSpeed = vSpeed - acc; } } else if (up == true) { up = false; } if ((down == false) and (up == false)) { if (vSpeed > 0) { vSpeed = vSpeed - acc; if (vSpeed < acc) { vSpeed = 0; } } else if (vSpeed < 0) { vSpeed = vSpeed + acc; if (vSpeed > acc) { vSpeed = 0; } } } } } } else if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } onClipEvent (mouseDown) { if (dead == false) { if (transition == false) { if (firingRate <= 0) { this.gotoAndStop(2); charging = true; ballSpeed = 5; } } } } onClipEvent (mouseUp) { if (dead == false) { if (transition == false) { if (charging == true) { _root.playSound("fire"); firingRate = 4; this.gotoAndStop(1); charging = false; _root.ball.duplicateMovieClip("ball" + n, n); _root["ball" + n].hyp = ballSpeed; n++; ballSpeed = 0; } } } }
Instance of Symbol 380 MovieClip "transition" in Frame 8
onClipEvent (load) { function reset() { this._alpha = 0; shrink = true; this._x = 275; this._y = 275; } this.gotoAndPlay(25); playing = false; playerDead = false; reset(); this._alpha = 100; } onClipEvent (enterFrame) { if ((_root.enemyNum <= 0) or (playerDead == true)) { this.play(); this._x = _root.player._x; this._y = _root.player._y; if (shrink == true) { this._alpha = this._alpha + 10; } else { this._alpha = this._alpha - 10; } } }
Instance of Symbol 382 MovieClip "ball" in Frame 8
onClipEvent (load) { transportHit = false; transHit = 0; deg = _root.player.deg; rad = deg * (Math.PI/180); y = hyp * Math.sin(rad); x = hyp * Math.cos(rad); if (_root.player.objectHit == false) { this._y = _root.player._y + (y * 2); this._x = _root.player._x + (x * 2); } else { this._y = _root.player._y; this._x = _root.player._x; } _root.player.turretRad = rad; _root.player.recoilSpeed = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); fullHealth = 5; health = fullHealth; } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { this._x = this._x + x; this._y = this._y + y; if ((((this._x < 0) or (this._x > 550)) or (this._y < 0)) or (this._y > 550)) { this.removeMovieClip(); } j = 1; while (j <= _root.transportNum) { if (this.hitTest(_root["transport" + j].test)) { if (transportHit == false) { this._x = _root["transport" + _root["transport" + j].transDestination]._x; this._y = _root["transport" + _root["transport" + j].transDestination]._y; transportHit = true; health--; } } else { transHit++; } j++; } if (transHit == _root.transportNum) { transHit = 0; transportHit = false; } else { transHit = 0; } k = 1; while (k <= _root.switchNum) { if (this.hitTest(_root["switch" + k].test)) { _root["switch" + k].switchOn = true; } k++; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i].moveSpeed = hyp; _root["enemy" + i].angleRad = rad; rad = rad - Math.PI; x = x * -1; y = y * -1; this._x = this._x + (x / 2); this._y = this._y + (y / 2); health--; _root.playSound("hit2"); } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideLeft)) { x = x * -1; this._x = this._x + 1; if (y > 0) { rad = Math.acos(x / hyp); } else { rad = (Math.PI*2) - Math.acos(x / hyp); } _root["object" + n].xMove = hyp; health--; _root.playSound("hit"); } else if (this.hitTest(_root["object" + n].sideRight)) { x = x * -1; this._x = this._x + 1; if (y > 0) { rad = Math.acos(x / hyp) - (Math.PI*2); } else { rad = -Math.acos(x / hyp); } _root["object" + n].xMove = -hyp; health--; _root.playSound("hit"); } else if (this.hitTest(_root["object" + n].sideBottom)) { y = y * -1; this._y = this._y + 1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = -hyp; health--; _root.playSound("hit"); } else if (this.hitTest(_root["object" + n].sideTop)) { y = y * -1; this._y = this._y - 1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = hyp; health--; _root.playSound("hit"); } n++; } if (health > 0) { this._alpha = health * (100 / fullHealth); } else { this.removeMovieClip(); } } }
Instance of Symbol 101 MovieClip "enemyBall" in Frame 8
onClipEvent (load) { transportHit = false; transHit = 0; deg = _root["enemy" + enemyNum].deg; rad = deg * (Math.PI/180); y = hyp * Math.sin(rad); x = hyp * Math.cos(rad); this._y = _root["enemy" + enemyNum]._y + (y * 3); this._x = _root["enemy" + enemyNum]._x + (x * 3); fullHealth = 5; health = fullHealth; } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { this._x = this._x + x; this._y = this._y + y; if ((((this._x < 0) or (this._x > 550)) or (this._y < 0)) or (this._y > 550)) { this.removeMovieClip(); } if (this.hitTest(_root.player.test)) { _root.player.recoilSpeed = hyp; _root.player.turretRad = rad - Math.PI; x = x * -1; y = y * -1; this._x = this._x + (x / 2); this._y = this._y + (y / 2); health--; _root.playSound("hit2"); } j = 1; while (j <= _root.transportNum) { if (this.hitTest(_root["transport" + j].test)) { if (transportHit == false) { this._x = _root["transport" + _root["transport" + j].transDestination]._x; this._y = _root["transport" + _root["transport" + j].transDestination]._y; transportHit = true; health--; } } else { transHit++; } j++; } if (transHit == _root.transportNum) { transHit = 0; transportHit = false; } else { transHit = 0; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideLeft)) { x = x * -1; if (y > 0) { rad = Math.acos(x / hyp); } else { rad = (Math.PI*2) - Math.acos(x / hyp); } _root["object" + n].xMove = hyp; health--; } else if (this.hitTest(_root["object" + n].sideRight)) { x = x * -1; if (y > 0) { rad = Math.acos(x / hyp) - (Math.PI*2); } else { rad = -Math.acos(x / hyp); } _root["object" + n].xMove = -hyp; health--; } else if (this.hitTest(_root["object" + n].sideBottom)) { y = y * -1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = -hyp; health--; } else if (this.hitTest(_root["object" + n].sideTop)) { y = y * -1; if (x > 0) { rad = Math.asin(y / hyp); } else { rad = Math.PI - Math.asin(y / hyp); } _root["object" + n].yMove = hyp; health--; } n++; } if (health > 0) { this._alpha = health * (100 / fullHealth); } else { this.removeMovieClip(); } } }
Instance of Symbol 384 MovieClip "particle" in Frame 8
onClipEvent (load) { seeking = false; hyp = 10; deg = random(359) + 1; this._rotation = deg; thisStopped = false; } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (thisStopped == true) { this.play(); thisStopped = false; } if (seeking == true) { myRadians = Math.atan2(_root["teleport" + padDestination]._y - this._y, _root["teleport" + padDestination]._x - this._x); myDegrees = Math.round((myRadians * 180) / Math.PI); yChange = Math.round(_root["teleport" + padDestination]._y - this._y); xChange = Math.round(_root["teleport" + padDestination]._x - this._x); yMove = Math.round(yChange / 5); xMove = Math.round(xChange / 5); this._y = this._y + yMove; this._x = this._x + xMove; } } else { this.stop(); thisStopped = true; } }
Instance of Symbol 164 MovieClip "codeClip" in Frame 8
onClipEvent (load) { stopAllSounds(); gameMusic = new Sound(); if (_root.practice == false) { gameMusic.attachSound("gameMusic"); } else { gameMusic.attachSound("practiceMusic"); } if (_root.gameVolume == undefined) { gameMusic.setVolume(100); } else { gameMusic.setVolume(_root.gameVolume); } if (_root.musicMute == false) { gameMusic.start(0, 1000); } }
Instance of Symbol 397 MovieClip "pauseScreen" in Frame 8
onClipEvent (load) { paused = false; } onClipEvent (keyDown) { if (Key.getCode() == 80) { if (_root.transition.playing == false) { if (paused == false) { paused = true; _root.player.transition = true; this.gotoAndStop(2); _root.playSound("pause"); } else { this.gotoAndStop(1); paused = false; _root.player.transition = false; _root.playSound("unpause"); } } } }
Frame 9
stop(); level = 1; levelText.play(); score = 0; enemyN = 51; _root.player.n = 500; enemies = 1; enemyNum = enemies; _root.player._x = 275; _root.player._y = 275; _root.player.reset(); Mouse.hide(); objects = 0; teleportNum = 0; switchNum = 0; transportNum = 0; if (_root.n3wton.data.level == undefined) { _root.n3wton.data.level = level; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 9
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 10
nextFrame();
Frame 11
level = 2; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 350; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 1);
Instance of Symbol 99 MovieClip "enemy1" in Frame 11
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 11
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 12
nextFrame();
Frame 13
level = 3; enemies = 4; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 275; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 2);
Instance of Symbol 99 MovieClip "enemy1" in Frame 13
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 13
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 13
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 13
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 14
nextFrame();
Frame 15
level = 4; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 350; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 4; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 3);
Instance of Symbol 99 MovieClip "enemy1" in Frame 15
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 15
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 16
nextFrame();
Frame 17
level = 5; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 400; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 5; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 4);
Instance of Symbol 60 MovieClip in Frame 17
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 17
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 17
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 50; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 17
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 50; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 18
nextFrame();
Frame 19
level = 6; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 430; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 2; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 5);
Instance of Symbol 60 MovieClip in Frame 19
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 19
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 19
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 19
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 19
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } }
Instance of Symbol 412 MovieClip "well1" in Frame 19
onClipEvent (load) { playerGet = false; used = false; timer = 0; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 300; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 0.33; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 19
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 19
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 20
nextFrame();
Frame 21
level = 7; enemies = 5; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 117; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 6);
Instance of Symbol 60 MovieClip in Frame 21
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 21
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 21
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 412 MovieClip "well1" in Frame 21
onClipEvent (load) { playerGet = false; used = false; timer = 0; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 300; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 0.33; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 21
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 21
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 21
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 21
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy5" in Frame 21
onClipEvent (load) { function respawn() { playing = false; enemyNum = 5; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; deg = 180; this._rotation = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Frame 22
nextFrame();
Frame 23
level = 8; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 75; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 0; transportNum = 0; objects = 1; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 7);
Instance of Symbol 60 MovieClip in Frame 23
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 23
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 23
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 23
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 23
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 23
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 24
nextFrame();
Frame 25
level = 9; enemies = 4; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 100; _root.player._y = 75; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 4; switchNum = 0; transportNum = 0; objects = 2; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 8);
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 25
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 25
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 25
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport3" in Frame 25
onClipEvent (load) { padNum = 3; padDestination = 4; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport4" in Frame 25
onClipEvent (load) { padNum = 4; padDestination = 3; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 25
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 25
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 25
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 25
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 26
nextFrame();
Frame 27
level = 10; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 400; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 2; transportNum = 0; objects = 7; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 9);
Instance of Symbol 229 MovieClip "switch1" in Frame 27
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 2; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 229 MovieClip "switch2" in Frame 27
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 5; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 27
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 27
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 27
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 27
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 401 MovieClip "object2" in Frame 27
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 555) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 446) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Instance of Symbol 399 MovieClip "object5" in Frame 27
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._x > 320) { this._x = this._x - 2; } else { reverse = true; activate = false; } } else if (this._x < 430) { this._x = this._x + 2; } else { reverse = false; activate = false; } } }
Frame 28
nextFrame();
Frame 29
level = 11; enemies = 3; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 175; _root.player._y = 250; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 1; transportNum = 0; objects = 8; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 10);
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 29
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 29
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 2; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 29
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 29
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 412 MovieClip "well1" in Frame 29
onClipEvent (load) { playerGet = false; used = false; timer = 0; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 300; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 0.33; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 29
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 15; firingRate = 30; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 29
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 29
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 401 MovieClip "object2" in Frame 29
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 346) { this._y = this._y + 5; } else { reverse = true; activate = false; } } else if (this._y > 256) { this._y = this._y - 5; } else { reverse = false; activate = false; } } }
Frame 30
nextFrame();
Frame 31
level = 12; enemies = 3; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 100; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 4; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 11);
Instance of Symbol 60 MovieClip in Frame 31
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 31
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 431 MovieClip "object1" in Frame 31
onClipEvent (load) { breaking = false; dead = false; xMove = 0; yMove = 0; weight = 1; } onClipEvent (enterFrame) { if (xMove > 0) { if (xMove > 4) { this._x = this._x + (xMove * weight); xMove = xMove - 4; } else { xMove = 0; } } else if (xMove < 0) { if (xMove < -4) { this._x = this._x + (xMove * weight); xMove = xMove + 4; } else { xMove = 0; } } if (yMove > 0) { if (yMove > 4) { this._y = this._y + (yMove * weight); yMove = yMove - 4; } else { yMove = 0; } } else if (yMove < 0) { if (yMove < -4) { this._y = this._y + (yMove * weight); yMove = yMove + 4; } } else { yMove = 0; } if (breaking == false) { if (direction == "right") { this._x = this._x + 0.5; } else if (direction == "left") { this._x = this._x - 0.5; this._rotation = 180; } else if (direction == "down") { this._y = this._y + 0.5; this._rotation = 90; } else if (direction == "up") { this._y = this._y - 0.5; this._rotation = 270; } } }
Instance of Symbol 431 MovieClip "object2" in Frame 31
onClipEvent (load) { breaking = false; dead = false; xMove = 0; yMove = 0; weight = 1; } onClipEvent (enterFrame) { if (xMove > 0) { if (xMove > 4) { this._x = this._x + (xMove * weight); xMove = xMove - 4; } else { xMove = 0; } } else if (xMove < 0) { if (xMove < -4) { this._x = this._x + (xMove * weight); xMove = xMove + 4; } else { xMove = 0; } } if (yMove > 0) { if (yMove > 4) { this._y = this._y + (yMove * weight); yMove = yMove - 4; } else { yMove = 0; } } else if (yMove < 0) { if (yMove < -4) { this._y = this._y + (yMove * weight); yMove = yMove + 4; } } else { yMove = 0; } if (breaking == false) { if (direction == "right") { this._x = this._x + 0.5; } else if (direction == "left") { this._x = this._x - 0.5; this._rotation = 180; } else if (direction == "down") { this._y = this._y + 0.5; this._rotation = 90; } else if (direction == "up") { this._y = this._y - 0.5; this._rotation = 270; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 31
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 31
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 31
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 32
nextFrame();
Frame 33
level = 13; enemies = 4; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 100; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 7; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 12);
Instance of Symbol 60 MovieClip in Frame 33
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 33
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 431 MovieClip "object2" in Frame 33
onClipEvent (load) { breaking = false; dead = false; xMove = 0; yMove = 0; weight = 1; } onClipEvent (enterFrame) { if (xMove > 0) { if (xMove > 4) { this._x = this._x + (xMove * weight); xMove = xMove - 4; } else { xMove = 0; } } else if (xMove < 0) { if (xMove < -4) { this._x = this._x + (xMove * weight); xMove = xMove + 4; } else { xMove = 0; } } if (yMove > 0) { if (yMove > 4) { this._y = this._y + (yMove * weight); yMove = yMove - 4; } else { yMove = 0; } } else if (yMove < 0) { if (yMove < -4) { this._y = this._y + (yMove * weight); yMove = yMove + 4; } } else { yMove = 0; } if (breaking == false) { if (direction == "right") { this._x = this._x + 0.5; } else if (direction == "left") { this._x = this._x - 0.5; this._rotation = 180; } else if (direction == "down") { this._y = this._y + 0.5; this._rotation = 90; } else if (direction == "up") { this._y = this._y - 0.5; this._rotation = 270; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 33
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 33
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 5; firingRate = 15; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 33
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 33
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 34
nextFrame();
Frame 35
level = 14; enemies = 1; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 450; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 1; transportNum = 0; objects = 9; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 13);
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 35
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 35
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 35
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 35
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 7; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 412 MovieClip "well1" in Frame 35
onClipEvent (load) { playerGet = false; used = false; timer = 0; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 300; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 0.33; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 35
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 6; firingRate = 6; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 399 MovieClip "object7" in Frame 35
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 265) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 62) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Frame 36
nextFrame();
Frame 37
level = 15; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 2; objects = 1; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 14);
Instance of Symbol 60 MovieClip in Frame 37
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 37
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 37
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 37
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 164 MovieClip "transport1" in Frame 37
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 164 MovieClip "transport2" in Frame 37
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 37
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 37
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 38
nextFrame();
Frame 39
level = 16; enemies = 1; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 475; _root.player._y = 75; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 8; objects = 1; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 15);
Instance of Symbol 60 MovieClip in Frame 39
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 39
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 164 MovieClip "transport1" in Frame 39
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 164 MovieClip "transport2" in Frame 39
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 164 MovieClip "transport3" in Frame 39
onClipEvent (load) { transNum = 3; transDestination = 4; }
Instance of Symbol 164 MovieClip "transport4" in Frame 39
onClipEvent (load) { transNum = 4; transDestination = 3; }
Instance of Symbol 164 MovieClip "transport5" in Frame 39
onClipEvent (load) { transNum = 5; transDestination = 6; }
Instance of Symbol 164 MovieClip "transport6" in Frame 39
onClipEvent (load) { transNum = 6; transDestination = 5; }
Instance of Symbol 164 MovieClip "transport7" in Frame 39
onClipEvent (load) { transNum = 7; transDestination = 8; }
Instance of Symbol 164 MovieClip "transport8" in Frame 39
onClipEvent (load) { transNum = 8; transDestination = 7; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 39
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 40
nextFrame();
Frame 41
level = 17; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 1; transportNum = 4; objects = 10; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 16);
Instance of Symbol 60 MovieClip in Frame 41
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 41
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 41
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 41
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 164 MovieClip "transport1" in Frame 41
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 164 MovieClip "transport2" in Frame 41
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 431 MovieClip "object10" in Frame 41
onClipEvent (load) { breaking = false; dead = false; xMove = 0; yMove = 0; weight = 1; } onClipEvent (enterFrame) { if (xMove > 0) { this._x = this._x + (xMove * weight); xMove = xMove - 4; } else { xMove = 0; } if (yMove > 0) { this._y = this._y + (yMove * weight); yMove = yMove - 4; } else { yMove = 0; } if (breaking == false) { if (direction == "right") { this._x = this._x + 0.5; } else if (direction == "left") { this._x = this._x - 0.5; this._rotation = 180; } else if (direction == "down") { this._y = this._y + 0.5; this._rotation = 90; } else if (direction == "up") { this._y = this._y - 0.5; this._rotation = 270; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 41
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 3; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 164 MovieClip "transport3" in Frame 41
onClipEvent (load) { transNum = 3; transDestination = 4; }
Instance of Symbol 164 MovieClip "transport4" in Frame 41
onClipEvent (load) { transNum = 4; transDestination = 3; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 41
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 6; firingRate = 6; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 41
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 20; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 401 MovieClip "object3" in Frame 41
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 540) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 460) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Frame 42
nextFrame();
Frame 43
level = 18; enemies = 1; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 450; _root.player._y = 475; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 1; transportNum = 0; objects = 4; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 17);
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 43
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 43
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 43
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 43
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 1; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 43
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 7; firingRate = 7; } reset(); respawn(); firingRate = 0; } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 399 MovieClip "object1" in Frame 43
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._x > 206) { this._x = this._x - 2; } else { reverse = true; activate = false; } } else if (this._x < 275) { this._x = this._x + 2; } else { reverse = false; activate = false; } } }
Frame 44
nextFrame();
Frame 45
level = 19; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 450; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 2; transportNum = 2; objects = 6; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 18);
Instance of Symbol 60 MovieClip in Frame 45
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 45
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 45
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 164 MovieClip "transport2" in Frame 45
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 164 MovieClip "transport1" in Frame 45
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 229 MovieClip "switch2" in Frame 45
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 6; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 45
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 5; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 45
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 20; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 45
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 20; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 401 MovieClip "object5" in Frame 45
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 586) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 412) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Instance of Symbol 401 MovieClip "object6" in Frame 45
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 586) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 412) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Frame 46
nextFrame();
Frame 47
level = 20; enemies = 8; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 275; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 19);
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "left"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "left"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "left"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 47
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy7" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 7; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy5" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 5; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy8" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 8; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy6" in Frame 47
onClipEvent (load) { function respawn() { playing = false; enemyNum = 6; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(25) + 25; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 48
nextFrame();
Frame 49
level = 21; enemies = 1; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 306; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 18; switchNum = 0; transportNum = 0; objects = 1; teleportOrder = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 20);
Instance of Symbol 60 MovieClip in Frame 49
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 418 MovieClip "teleport5" in Frame 49
onClipEvent (load) { padNum = 5; padDestination = 9; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { if (_root.teleportOrder == 0) { _root.tick.nextFrame(); _root.teleportOrder++; } else { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; } _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; _root.teleportOrder = 1; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 49
onClipEvent (load) { padNum = 1; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport6" in Frame 49
onClipEvent (load) { padNum = 6; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport8" in Frame 49
onClipEvent (load) { padNum = 8; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { if (_root.teleportOrder == 1) { _root.tick.nextFrame(); _root.teleportOrder++; } else { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; } _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport11" in Frame 49
onClipEvent (load) { padNum = 11; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { if (_root.teleportOrder == 2) { _root.tick.nextFrame(); _root.teleportOrder++; } else { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; } _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport13" in Frame 49
onClipEvent (load) { padNum = 13; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport14" in Frame 49
onClipEvent (load) { padNum = 14; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport15" in Frame 49
onClipEvent (load) { padNum = 15; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport16" in Frame 49
onClipEvent (load) { padNum = 16; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport7" in Frame 49
onClipEvent (load) { padNum = 7; padDestination = 9; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport10" in Frame 49
onClipEvent (load) { padNum = 10; padDestination = 9; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport12" in Frame 49
onClipEvent (load) { padNum = 12; padDestination = 9; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { if (_root.teleportOrder == 3) { _root.tick.nextFrame(); _root.teleportOrder++; } else { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; } _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport17" in Frame 49
onClipEvent (load) { padNum = 17; padDestination = 9; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 49
onClipEvent (load) { padNum = 2; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport3" in Frame 49
onClipEvent (load) { padNum = 3; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { if (_root.teleportOrder == 4) { _root.tick.nextFrame(); _root.teleportOrder++; padDestination = 18; } else { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; } _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport18" in Frame 49
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport4" in Frame 49
onClipEvent (load) { padNum = 4; padDestination = 9; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.tick.gotoAndStop(1); _root.teleportOrder = 0; _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport9" in Frame 49
onClipEvent (load) { padNum = 9; hit = false; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 49
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 5; firingRate = 100000 /* 0x0186A0 */; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 0; deg = 0; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 50
nextFrame();
Frame 51
level = 22; enemies = 2; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 100; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 2; transportNum = 2; objects = 10; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 21);
Instance of Symbol 60 MovieClip in Frame 51
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 51
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 51
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 51
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "right"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._x = _root["object" + n]._x + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "right"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "right"; } } }
Instance of Symbol 60 MovieClip in Frame 51
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 431 MovieClip "object7" in Frame 51
onClipEvent (load) { breaking = false; dead = false; xMove = 0; yMove = 0; weight = 1; } onClipEvent (enterFrame) { if (xMove > 0) { if (xMove > 4) { this._x = this._x + (xMove * weight); xMove = xMove - 4; } else { xMove = 0; } } else if (xMove < 0) { if (xMove < -4) { this._x = this._x + (xMove * weight); xMove = xMove + 4; } else { xMove = 0; } } if (yMove > 0) { if (yMove > 4) { this._y = this._y + (yMove * weight); yMove = yMove - 4; } else { yMove = 0; } } else if (yMove < 0) { if (yMove < -4) { this._y = this._y + (yMove * weight); yMove = yMove + 4; } } else { yMove = 0; } if (breaking == false) { if (direction == "right") { this._x = this._x + 0.5; } else if (direction == "left") { this._x = this._x - 0.5; this._rotation = 180; } else if (direction == "down") { this._y = this._y + 0.5; this._rotation = 90; } else if (direction == "up") { this._y = this._y - 0.5; this._rotation = 270; } } }
Instance of Symbol 229 MovieClip "switch1" in Frame 51
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 1; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 229 MovieClip "switch2" in Frame 51
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 10; } onClipEvent (enterFrame) { if (switchOn == true) { if (_root["object" + objectNum].activate == false) { this.play(); if (color == "red") { _root["object" + objectNum].activate = true; switchOn = false; } else if (color == "green") { _root["object" + objectNum].activate = true; switchOn = false; } } else { switchOn = false; } } }
Instance of Symbol 164 MovieClip "transport2" in Frame 51
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 164 MovieClip "transport1" in Frame 51
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 99 MovieClip "enemy2" in Frame 51
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 20; firingRate = 15; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 51
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 30; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 180; deg = 180; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 399 MovieClip "object1" in Frame 51
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._x > 80) { this._x = this._x - 2; } else { reverse = true; activate = false; } } else if (this._x < 130) { this._x = this._x + 2; } else { reverse = false; activate = false; } } }
Instance of Symbol 399 MovieClip "object10" in Frame 51
onClipEvent (load) { activate = false; reverse = false; } onClipEvent (enterFrame) { if (activate == true) { if (reverse == false) { if (this._y < 276) { this._y = this._y + 2; } else { reverse = true; activate = false; } } else if (this._y > 184) { this._y = this._y - 2; } else { reverse = false; activate = false; } } }
Frame 52
nextFrame();
Frame 53
level = 23; enemies = 4; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 75; _root.player._y = 75; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 2; switchNum = 1; transportNum = 4; objects = 6; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 22);
Instance of Symbol 60 MovieClip in Frame 53
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 60 MovieClip in Frame 53
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 53
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 60 MovieClip in Frame 53
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "down"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y + 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "down"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "down"; } } }
Instance of Symbol 418 MovieClip "teleport1" in Frame 53
onClipEvent (load) { padNum = 1; padDestination = 2; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 418 MovieClip "teleport2" in Frame 53
onClipEvent (load) { padNum = 2; padDestination = 1; hit = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.teleporting == false) { _root.player.teleporting = true; _root.teleportParticle(padNum, padDestination); _root.player._x = _root["teleport" + padDestination]._x; _root.player._y = _root["teleport" + padDestination]._y; _root.player.transition = true; _root.player._visible = false; } } }
Instance of Symbol 412 MovieClip "well2" in Frame 53
onClipEvent (load) { playerGet = false; used = true; timer = 0; this._visible = false; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 75; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 1.33333333333333; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 412 MovieClip "well1" in Frame 53
onClipEvent (load) { playerGet = false; used = true; timer = 0; this._visible = false; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 75; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 1.33333333333333; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 412 MovieClip "well4" in Frame 53
onClipEvent (load) { playerGet = false; used = true; timer = 0; this._visible = false; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 75; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 1.33333333333333; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 412 MovieClip "well3" in Frame 53
onClipEvent (load) { playerGet = false; used = true; timer = 0; this._visible = false; } onClipEvent (enterFrame) { if (used == false) { if (this.hitTest(_root.player._x, _root.player._y, true) and (playerGet == false)) { playerGet = true; _root.player.anchored = true; _root.player._x = this._x; _root.player._y = this._y; this.nextFrame(); this.timerBar.bar._xscale = 100; timer = 75; _root.playSound("lock"); } if (playerGet == true) { if (timer > 0) { timer--; this.timerBar.bar._xscale = this.timerBar.bar._xscale - 1.33333333333333; } else { playerGet = false; this.prevFrame(); used = true; _root.player.anchored = false; _root.player.recoilSpeed = 0; _root.player.hSpeed = 0; _root.player.vSpeed = 0; } } } else { this.glow._visible = false; } }
Instance of Symbol 229 MovieClip "switch1" in Frame 53
onClipEvent (load) { switchOn = false; color = "red"; objectNum = 1; } onClipEvent (enterFrame) { if (switchOn == true) { this.play(); if (color == "red") { i = 1; while (i <= 4) { _root["well" + i].used = false; _root["well" + i]._visible = true; _root["well" + i].glow._visible = true; i++; } switchOn = false; } else if (color == "green") { i = 1; while (i <= 4) { _root["well" + i].used = true; _root["well" + i]._visible = false; i++; } switchOn = false; } } else { switchOn = false; } }
Instance of Symbol 164 MovieClip "transport2" in Frame 53
onClipEvent (load) { transNum = 2; transDestination = 1; }
Instance of Symbol 164 MovieClip "transport1" in Frame 53
onClipEvent (load) { transNum = 1; transDestination = 2; }
Instance of Symbol 164 MovieClip "transport3" in Frame 53
onClipEvent (load) { transNum = 3; transDestination = 4; }
Instance of Symbol 164 MovieClip "transport4" in Frame 53
onClipEvent (load) { transNum = 4; transDestination = 3; }
Instance of Symbol 99 MovieClip "enemy1" in Frame 53
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 5; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 270; deg = 270; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 53
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 5; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 53
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 5; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 53
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 5; } reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 270; deg = 270; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 54
nextFrame();
Frame 55
level = 24; enemies = 3; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 450; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 23);
Instance of Symbol 60 MovieClip in Frame 55
onClipEvent (enterFrame) { i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { if (_root["enemy" + i].dead == false) { _root["enemy" + i].gotoAndStop("dead"); _root["enemy" + i].moveSpeed = 0; _root["enemy" + i].dead = true; _root["enemy" + i].direction = "up"; } } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n]._x, _root["object" + n]._y, true)) { if (_root["object" + n].dead == false) { _root["object" + n]._y = _root["object" + n]._y - 20; _root["object" + n].gotoAndStop("dead"); _root["object" + n].dead = true; _root["object" + n].direction = "up"; } } n++; } if (this.hitTest(_root.player._x, _root.player._y, true)) { if (_root.player.dead == false) { _root.player.dead = true; _root.player.gotoAndStop("dead"); _root.player.direction = "up"; } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 55
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 20; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 475) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 75) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy2" in Frame 55
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 20; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 475) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 75) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 55
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = 10; firingRate = 20; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 475) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 75) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; this._rotation = 90; deg = 90; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Frame 56
nextFrame();
Frame 57
level = 25; enemies = 12; enemyNum = enemies; enemyN = 51; _root.player.n = 500; _root.player._x = 275; _root.player._y = 275; _root.player.reset(); _root.transition._x = _root.player._x; _root.transition._y = _root.player._y; teleportNum = 0; switchNum = 0; transportNum = 0; objects = 0; if (_root.n3wton.data.level < _root.level) { _root.n3wton.data.level = _root.level; } _root.kongregateStats.submit("HighestLevelCompleted", 24);
Instance of Symbol 99 MovieClip "enemy2" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 2; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 475) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 75) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy11" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 11; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 475) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 75) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy5" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 5; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._y < 475) { this._y = this._y + 5; } else { reverse = true; } } else if (reverse == true) { if (this._y > 75) { this._y = this._y - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy8" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 8; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._y < 475) { this._y = this._y + 5; } else { reverse = true; } } else if (reverse == true) { if (this._y > 75) { this._y = this._y - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy6" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 6; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._y < 400) { this._y = this._y + 5; } else { reverse = true; } } else if (reverse == true) { if (this._y > 150) { this._y = this._y - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy7" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 7; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._y < 400) { this._y = this._y + 5; } else { reverse = true; } } else if (reverse == true) { if (this._y > 150) { this._y = this._y - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy4" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 4; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 400) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 150) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy10" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 10; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (_root.pauseScreen.paused == false) { if (dead == false) { if (reverse == false) { if (this._x < 400) { this._x = this._x + 5; } else { reverse = true; } } else if (reverse == true) { if (this._x > 150) { this._x = this._x - 5; } else { reverse = false; } } } if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } } }
Instance of Symbol 99 MovieClip "enemy1" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 1; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy3" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 3; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy9" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 9; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Instance of Symbol 99 MovieClip "enemy12" in Frame 57
onClipEvent (load) { function respawn() { playing = false; enemyNum = 12; angleRad = 0; moveSpeed = 0; edgeOfScreen = false; dead = false; explode = false; direction = ""; } function reset() { ballSpeed = 5; charging = false; firing = false; chargeTime = random(15) + 5; firingRate = random(50) + 25; } reverse = false; reset(); respawn(); } onClipEvent (enterFrame) { if (moveSpeed > 0) { moveSpeed = moveSpeed - 1.2; xSpeed = moveSpeed * Math.cos(angleRad); ySpeed = moveSpeed * Math.sin(angleRad); this._x = this._x + xSpeed; this._y = this._y + ySpeed; } else { moveSpeed = 0; } if (_root.player.transition == false) { if (dead == false) { n = _root.enemyN; x = _root.player._x - this._x; y = _root.player._y - this._y; hyp = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); cos = x / hyp; rad = Math.acos(cos); deg = Math.floor(180 / (Math.PI / rad)); if (y < 0) { deg = -deg; } this._rotation = deg; this.test._rotation = -deg; if (firingRate <= 0) { charging = true; chargeTime--; this.gotoAndStop(2); if (chargeTime <= 0) { firing = true; charging = false; } } else { firingRate--; } if (charging == true) { if (ballSpeed < 15) { ballSpeed = ballSpeed + 0.5; } } if (firing == true) { _root.enemyBall.duplicateMovieClip("enemyBall" + n, n); _root["enemyBall" + n].hyp = ballSpeed; _root["enemyBall" + n].enemyNum = enemyNum; this.gotoAndStop(1); _root.enemyN++; reset(); } } } if (explode == false) { if (direction == "right") { this._x = this._x + 1; } else if (direction == "left") { this._x = this._x - 1; } else if (direction == "down") { this._y = this._y + 1; } else if (direction == "up") { this._y = this._y - 1; } } }
Frame 58
name = "Your Name"; enemyNum = 1; _root.n3wton.data.score = 0; _root.n3wton.data.continueGame = false; _root.kongregateStats.submit("HighestLevelCompleted", 25);
Symbol 26 Button
on (release) { _root.gotoAndStop("menu"); }
Symbol 27 MovieClip [[NGL]_LOADER] Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 27 MovieClip [[NGL]_LOADER] Frame 2
gotoAndPlay (1);
Symbol 468 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local27); var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); } }
Symbol 32 Button
on (release) { getURL ("http://www.kongregate.com/?gamereferral=N3wton", "_blank"); }
Symbol 58 MovieClip Frame 124
_root.nextFrame();
Symbol 88 MovieClip Frame 20
stop();
Symbol 91 MovieClip Frame 1
Symbol 98 MovieClip Frame 1
_root.playSound("explosion");
Symbol 98 MovieClip Frame 11
stop(); _root.enemyNum--;
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 88 MovieClip "charge" in Symbol 99 MovieClip Frame 2
onClipEvent (enterFrame) { if ((_root.pauseScreen.paused == true) or (_root.player.transition == true)) { this.stop(); } else { this.play(); } }
Symbol 99 MovieClip Frame 3
Instance of Symbol 91 MovieClip in Symbol 99 MovieClip Frame 3
onClipEvent (enterFrame) { if (this._xscale > 50) { this._rotation = this._rotation + 20; this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; } else { _parent.gotoAndStop(4); } }
Symbol 99 MovieClip Frame 4
explode = true;
Symbol 104 Button
on (release) { getURL ("http://www.kongregate.com/?gamereferral=N3wton", "_blank"); }
Symbol 114 Button
on (release) { _root.transition.play(); _root.transition.destination = 3; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 118 Button
on (release) { _root.transition.play(); _root.transition.destination = 2; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 123 Button
on (release) { _root.transition.play(); _root.transition.destination = 6; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 127 Button
on (release) { _root.transition.play(); _root.transition.destination = 4; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 131 Button
on (release) { getURL ("http://rankz.armorbot.com/n3wton/", "_blank"); } on (rollOver) { _root.playSound("rollOver"); }
Symbol 160 MovieClip Frame 1
stop(); playing = false; this._visible = false;
Symbol 160 MovieClip Frame 2
i = 1; while (i <= 1000) { _root["enemyBall" + i].removeMovieClip(); i++; } playing = true; this._visible = true;
Symbol 160 MovieClip Frame 25
if (destination == 1) { _root.gotoAndStop("game"); } else if (destination == 2) { _root.gotoAndStop("credits"); } else if (destination == 0) { _root.gotoAndStop("menu"); } else if (destination == 3) { _root.gotoAndStop("instructions"); } else if (destination == 4) { _root.gotoAndStop("options"); } else if (destination == 5) { level = _root.n3wton.data.lastLevel; _root.gotoAndStop("level" + level); } else if (destination == 6) { _root.gotoAndStop("levelSelect"); } else if (destination == 7) { _root.gotoAndStop("level" + level); }
Symbol 160 MovieClip Frame 55
this.gotoAndStop(1);
Symbol 168 Button
on (release) { _root.transition.play(); _root.transition.destination = 0; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 174 Button
on (release) { if (_root.n3wton.data.continueGame == true) { _root.warning.nextFrame(); } else { _root.transition.play(); _root.transition.destination = 1; stopAllSounds(); _root.onMainMenu = false; } } on (rollOver) { _root.playSound("rollOver"); }
Symbol 179 Button
on (release) { _root.score = _root.n3wton.data.score; _root.transition.play(); _root.transition.destination = 5; stopAllSounds(); _root.onMainMenu = false; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 180 MovieClip Frame 1
stop();
Symbol 188 Button
on (release) { _root.n3wton.data.continueGame = false; _root.transition.play(); _root.transition.destination = 1; stopAllSounds(); prevFrame(); }
Symbol 191 Button
on (release) { prevFrame(); }
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop(); _root.playSound("pause");
Symbol 196 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop(); color = "red";
Symbol 229 MovieClip Frame 2
_root.playSound("switch");
Symbol 229 MovieClip Frame 10
stop(); color = "green";
Symbol 229 MovieClip Frame 11
_root.playSound("switch");
Symbol 229 MovieClip Frame 20
gotoAndStop (1);
Symbol 231 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Instance of Symbol 285 MovieClip "slider" in Symbol 286 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { this.startDrag(false, 0, -13.3, 200, -13.3); } } onClipEvent (mouseUp) { this.stopDrag(); }
Symbol 292 Button
on (release) { _root._quality = "LOW"; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 295 Button
on (release) { _root._quality = "MEDIUM"; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 298 Button
on (release) { _root._quality = "HIGH"; } on (rollOver) { _root.playSound("rollOver"); }
Symbol 303 MovieClip Frame 1
stop(); _root.musicMute = false;
Symbol 303 MovieClip Frame 2
_root.musicMute = true;
Symbol 304 MovieClip Frame 1
stop(); _root.soundMute = false;
Symbol 304 MovieClip Frame 2
_root.soundMute = true;
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 15
gotoAndStop (1);
Instance of Symbol 319 MovieClip in Symbol 330 MovieClip Frame 51
onClipEvent (enterFrame) { this.play(); }
Symbol 330 MovieClip Frame 231
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 51
gotoAndStop (1);
Symbol 352 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 20
stop();
Symbol 377 MovieClip Frame 1
_root.playSound("explosion");
Symbol 377 MovieClip Frame 11
stop(); _root.transition.playerDead = true;
Symbol 378 MovieClip Frame 1
stop();
Instance of Symbol 376 MovieClip in Symbol 378 MovieClip Frame 3
onClipEvent (enterFrame) { if (this._xscale > 50) { this._rotation = this._rotation + 20; this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; } else { _parent.gotoAndStop(4); } }
Symbol 378 MovieClip Frame 4
explode = true;
Symbol 380 MovieClip Frame 1
stop(); playing = false;
Symbol 380 MovieClip Frame 2
_root.player.transition = true; i = 1; while (i <= 1000) { _root["ball" + i].removeMovieClip(); _root["enemyBall" + i].removeMovieClip(); i++; } playing = true; this._visible = true;
Symbol 380 MovieClip Frame 24
if (_root.practice == true) { stopAllSounds(); _root.gotoAndStop("levelSelect"); } else if (playerDead == true) { _root.prevFrame(); _root.bonus = 0; } else { _root.nextFrame(); _root.score = _root.score + (_root.bonus + 500); _root.bonus = 500; }
Symbol 380 MovieClip Frame 25
play();
Symbol 380 MovieClip Frame 30
shrink = false;
Symbol 380 MovieClip Frame 52
reset(); _root.player.transition = false; _root.levelText.play(); playerDead = false; this._visible = false; this.gotoAndStop(1);
Symbol 384 MovieClip Frame 15
seeking = true;
Symbol 384 MovieClip Frame 40
stop(); _root.player.transition = false; _root.player._visible = true; _root.player.hSpeed = 0; _root.player.vSpeed = 0; _root.player.recoilSpeed = 0; i = 1; while (i <= 50) { _root["particle" + i].removeMovieClip(); i++; }
Symbol 387 Button
on (release) { if (_root.practice == false) { nextFrame(); } else { stopAllSounds(); paused = false; gotoAndStop (1); _root.gotoAndStop("levelSelect"); } } on (rollOver) { _root.playSound("rollOver"); }
Symbol 393 Button
on (release) { i = 1; while (i <= 1000) { _root["ball" + i].removeMovieClip(); _root["enemyBall" + i].removeMovieClip(); _root["particle" + i].removeMovieClip(); i++; } _root.n3wton.data.lastLevel = _root.level; _root.n3wton.data.score = _root.score; _root.n3wton.data.continueGame = true; stopAllSounds(); paused = false; _root.gotoAndStop("menu"); gotoAndStop (1); } on (rollOver) { _root.playSound("rollOver"); }
Symbol 396 Button
on (release) { i = 1; while (i <= 1000) { _root["ball" + i].removeMovieClip(); _root["enemyBall" + i].removeMovieClip(); _root["particle" + i].removeMovieClip(); i++; } stopAllSounds(); _root.gotoAndStop("menu"); paused = false; gotoAndStop (1); } on (rollOver) { _root.playSound("rollOver"); }
Symbol 397 MovieClip Frame 1
stop(); i = 1; while (i <= 1000) { _root["ball" + i]._visible = true; _root["enemyBall" + i]._visible = true; _root["particle" + i]._visible = false; i++; }
Symbol 397 MovieClip Frame 2
i = 1; while (i <= 1000) { _root["ball" + i]._visible = false; _root["enemyBall" + i]._visible = false; _root["particle" + i]._visible = false; i++; }
Instance of Symbol 286 MovieClip in Symbol 397 MovieClip Frame 2
onClipEvent (load) { if (_root.gameVolume > 0) { this.slider._x = _root.gameVolume * 2; } } onClipEvent (enterFrame) { _root.gameVolume = Math.ceil(this.slider._x / 2); _root.codeClip.gameMusic.setVolume(_root.gameVolume); }
Instance of Symbol 303 MovieClip in Symbol 397 MovieClip Frame 2
onClipEvent (load) { if (_root.musicMute == true) { this.gotoAndStop(2); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { if (_root.musicMute == false) { this.nextFrame(); _root.codeClip.gameMusic.stop(); } else { this.prevFrame(); _root.codeClip.gameMusic.start(0, 1000); } } }
Instance of Symbol 304 MovieClip in Symbol 397 MovieClip Frame 2
onClipEvent (load) { if (_root.soundMute == true) { this.gotoAndStop(2); } } onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { if (_root.soundMute == false) { this.nextFrame(); } else { this.prevFrame(); } } }
Instance of Symbol 226 MovieClip "sideBottom" in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y + (_parent._height / 2)) + 15; _root.player.ySpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y + (_parent._height / 2)) + 13; _root["enemy" + i].ySpeed = 0; } i++; } }
Instance of Symbol 226 MovieClip "sideTop" in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y - (_parent._height / 2)) - 15; _root.player.ySpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y - (_parent._height / 2)) - 13; _root["enemy" + i].ySpeed = 0; } i++; } }
Instance of Symbol 226 MovieClip "sideLeft" in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x - (_parent._width / 2)) - 15; _root.player.xSpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._x = (_parent._x - (_parent._width / 2)) - 13; _root["enemy" + i].xSpeed = 0; } i++; } }
Instance of Symbol 226 MovieClip "sideRight" in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x + (_parent._width / 2)) + 15; _root.player.xSpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._x = (_parent._x + (_parent._width / 2)) + 13; _root["enemy" + i].xSpeed = 0; } i++; } }
Instance of Symbol 226 MovieClip "sideBottom" in Symbol 401 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y + (_parent._height / 2)) + 15; _root.player.ySpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y + (_parent._height / 2)) + 13; } i++; } }
Instance of Symbol 226 MovieClip "sideTop" in Symbol 401 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y - (_parent._height / 2)) - 15; _root.player.ySpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y - (_parent._height / 2)) - 13; } i++; } }
Instance of Symbol 226 MovieClip "sideLeft" in Symbol 401 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x - (_parent._width / 2)) - 15; _root.player.xSpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i].xSpeed = 0; _root["enemy" + i]._x = (_parent._x - (_parent._width / 2)) - 13; } i++; } }
Instance of Symbol 226 MovieClip "sideRight" in Symbol 401 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x + (_parent._width / 2)) + 15; _root.player.xSpeed = 0; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._x = (_parent._x + (_parent._width / 2)) + 13; } i++; } }
Symbol 412 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 11
gotoAndPlay (2);
Symbol 430 MovieClip Frame 25
stop();
Symbol 431 MovieClip Frame 1
stop();
Instance of Symbol 226 MovieClip "sideBottom" in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y + (_parent._height / 2)) + 13; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y + (_parent._height / 2)) + 13; } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideTop)) { _parent.yMove = 0; } n++; } }
Instance of Symbol 226 MovieClip "sideTop" in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.vSpeed = 0; _root.player._y = (_parent._y - (_parent._height / 2)) - 13; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._y = (_parent._y - (_parent._height / 2)) - 13; } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideBottom)) { _parent.yMove = 0; } n++; } }
Instance of Symbol 226 MovieClip "sideLeft" in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x - (_parent._width / 2)) - 13; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._x = (_parent._x - (_parent._width / 2)) - 13; } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideRight)) { _parent.xMove = 0; } n++; } }
Instance of Symbol 226 MovieClip "sideRight" in Symbol 431 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.player.test)) { _root.player.hSpeed = 0; _root.player._x = (_parent._x + (_parent._width / 2)) + 13; } i = 1; while (i <= _root.enemies) { if (this.hitTest(_root["enemy" + i].test)) { _root["enemy" + i]._x = (_parent._x + (_parent._width / 2)) + 13; } i++; } n = 1; while (n <= _root.objects) { if (this.hitTest(_root["object" + n].sideLeft)) { _parent.xMove = 0; } n++; } }
Instance of Symbol 423 MovieClip in Symbol 431 MovieClip Frame 2
onClipEvent (enterFrame) { this._xscale = this._xscale - 2; this._yscale = this._yscale - 2; if (this._xscale <= 50) { _parent.nextFrame(); } }
Symbol 431 MovieClip Frame 3
breaking = true; _root.playSound("crateBreak");
Symbol 448 MovieClip Frame 7
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 6
stop();
Symbol 459 Button
on (release) { stopAllSounds(); _root.gotoAndStop("menu"); } on (rollOver) { _root.playSound("rollOver"); }
Symbol 462 Button
on (release) { function __rankz_send__(par1, par2, par3, par4) { par227 = new LoadVars(); par228 = new LoadVars(); par227.flashkey = par2; par227.SU0249 = par1; par227.bmFtZTE = par3; par227.c2NvcmUx = par4 + "Z"; par227.c2NvcmUx = par227.c2NvcmUx.split("0").join("U"); par227.c2NvcmUx = par227.c2NvcmUx.split("").join("A"); par227.c2NvcmUx = par227.c2NvcmUx.split("AU").join("Y"); par227.c2NvcmUx = par227.c2NvcmUx.split("A1").join("B"); par227.c2NvcmUx = par227.c2NvcmUx.split(".").join("N"); par227.flashkey = par227.flashkey.split("=").join(""); par227.SU0249 = par227.SU0249.split("=").join(""); par228.onLoad = function (success) { if (success) { trace(par228.msg); } else { trace(par228.loaded); } }; par227.sendAndLoad("http://rankz.armorbot.com/submit/as3_v0.php", par228, "POST"); } play(); _root.kongregateScores.submit(_root.score); bXlnYW1lX25hbWVfdmFyaWFibGU = _root.name; bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score; __rankz_send__("MTc4MGolZSVhJW4lcw==", "VWRIeVZXck4=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl); } on (rollOver) { _root.playSound("rollOver"); }
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 28
stop();

Library Items

Symbol 1 Sound [warp]
Symbol 2 Sound [practiceMusic]
Symbol 3 Sound [gameMusic]
Symbol 4 Sound [switch]
Symbol 5 Sound [hit2]
Symbol 6 Sound [fire]
Symbol 7 Sound [explosion]
Symbol 8 Sound [explode]
Symbol 9 Sound [crateBreak]
Symbol 10 Sound [lock]
Symbol 11 Sound [rollOver]
Symbol 12 Sound [hit]
Symbol 13 Sound [unpause]
Symbol 14 Sound [pause]
Symbol 15 Sound [menuMusic]
Symbol 16 GraphicUsed by:27
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:27
Symbol 19 GraphicUsed by:27
Symbol 20 GraphicUsed by:26
Symbol 21 GraphicUsed by:26
Symbol 22 GraphicUsed by:26
Symbol 23 GraphicUsed by:26
Symbol 24 GraphicUsed by:26
Symbol 25 GraphicUsed by:26
Symbol 26 ButtonUses:20 21 22 23 24 25Used by:27
Symbol 27 MovieClip [[NGL]_LOADER]Uses:16 18 19 26
Symbol 28 GraphicUsed by:Timeline
Symbol 468 MovieClip [__Packages.MochiAd]
Symbol 29 GraphicUsed by:30 58 397
Symbol 30 MovieClipUses:29Used by:58
Symbol 31 GraphicUsed by:32
Symbol 32 ButtonUses:31Used by:58
Symbol 33 GraphicUsed by:58
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:52 58
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:51 58
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:46 51 52 58
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:46 51 52 58
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:46 51 52 58
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:46 51 52 58
Symbol 46 MovieClipUses:39 41 43 45Used by:58
Symbol 47 GraphicUsed by:58
Symbol 48 GraphicUsed by:49 58
Symbol 49 MovieClipUses:48Used by:58
Symbol 50 GraphicUsed by:52
Symbol 51 MovieClipUses:37 39 41 43 45Used by:52
Symbol 52 MovieClipUses:50 35 51 39 41 43 45Used by:58
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:58
Symbol 55 FontUsed by:56
Symbol 56 TextUses:55Used by:57
Symbol 57 MovieClipUses:56Used by:58
Symbol 58 MovieClipUses:29 30 32 33 35 37 46 47 49 39 41 43 45 52 54 48 57Used by:Timeline
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 GraphicUsed by:99
Symbol 63 GraphicUsed by:67
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:66
Symbol 66 MovieClipUses:65Used by:67
Symbol 67 MovieClipUses:63 66Used by:99 164 378
Symbol 68 GraphicUsed by:88
Symbol 69 GraphicUsed by:88
Symbol 70 GraphicUsed by:88
Symbol 71 GraphicUsed by:88
Symbol 72 GraphicUsed by:88
Symbol 73 GraphicUsed by:88
Symbol 74 GraphicUsed by:88
Symbol 75 GraphicUsed by:88
Symbol 76 GraphicUsed by:88
Symbol 77 GraphicUsed by:88
Symbol 78 GraphicUsed by:88
Symbol 79 GraphicUsed by:88
Symbol 80 GraphicUsed by:88
Symbol 81 GraphicUsed by:88
Symbol 82 GraphicUsed by:88
Symbol 83 GraphicUsed by:88
Symbol 84 GraphicUsed by:88
Symbol 85 GraphicUsed by:88
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87Used by:99
Symbol 89 GraphicUsed by:99 378
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:99
Symbol 92 GraphicUsed by:98 377
Symbol 93 GraphicUsed by:98 377
Symbol 94 GraphicUsed by:98 377
Symbol 95 GraphicUsed by:98 377
Symbol 96 GraphicUsed by:98 377
Symbol 97 GraphicUsed by:98 377
Symbol 98 MovieClipUses:92 93 94 95 96 97Used by:99
Symbol 99 MovieClipUses:62 67 88 89 91 98Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:Timeline
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:104
Symbol 104 ButtonUses:103Used by:Timeline
Symbol 105 FontUsed by:106 467
Symbol 106 TextUses:105Used by:Timeline
Symbol 107 FontUsed by:108 110 111 116 117 121 122 125 126 129 130 165 166 167 169 170 171 172 173 175 177 178 182 183 185 186 189 190 195 198 201 204 207 210 213 216 219 230 233 236 239 242 245 248 251 254 257 260 263 266 269 272 275 277 278 279 280 281 282 287 289 290 293 294 296 297 299 300 308 309 315 320 329 331 332 333 334 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 385 386 388 389 390 391 392 394 395 454 455 456 457 458 460 461 465
Symbol 108 TextUses:107Used by:Timeline
Symbol 109 GraphicUsed by:114 118 127 168 459
Symbol 110 TextUses:107Used by:114
Symbol 111 TextUses:107Used by:114
Symbol 112 GraphicUsed by:114 118 123 127 131 168 174 179 387 393 396 459 462 463
Symbol 113 GraphicUsed by:114 118 123 127 131 168 174 179 188 191 387 393 396 459 462 463
Symbol 114 ButtonUses:109 110 111 112 113Used by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 TextUses:107Used by:118
Symbol 117 TextUses:107Used by:118
Symbol 118 ButtonUses:109 116 117 112 113Used by:119
Symbol 119 MovieClipUses:118Used by:Timeline
Symbol 120 GraphicUsed by:123 131 174 462 463
Symbol 121 TextUses:107Used by:123
Symbol 122 TextUses:107Used by:123
Symbol 123 ButtonUses:120 121 122 112 113Used by:124
Symbol 124 MovieClipUses:123Used by:Timeline
Symbol 125 TextUses:107Used by:127
Symbol 126 TextUses:107Used by:127
Symbol 127 ButtonUses:109 125 126 112 113Used by:128
Symbol 128 MovieClipUses:127Used by:Timeline
Symbol 129 TextUses:107Used by:131
Symbol 130 TextUses:107Used by:131
Symbol 131 ButtonUses:120 129 130 112 113Used by:Timeline
Symbol 132 GraphicUsed by:160 380
Symbol 133 GraphicUsed by:160 380
Symbol 134 GraphicUsed by:160 380
Symbol 135 GraphicUsed by:160 380
Symbol 136 GraphicUsed by:160 380
Symbol 137 GraphicUsed by:160 380
Symbol 138 GraphicUsed by:160 380
Symbol 139 GraphicUsed by:160 380
Symbol 140 GraphicUsed by:160 380
Symbol 141 GraphicUsed by:160 380
Symbol 142 GraphicUsed by:160 380
Symbol 143 GraphicUsed by:160 380
Symbol 144 GraphicUsed by:160 380
Symbol 145 GraphicUsed by:160 380
Symbol 146 GraphicUsed by:160 380
Symbol 147 GraphicUsed by:160 380
Symbol 148 GraphicUsed by:160 380
Symbol 149 GraphicUsed by:160 380
Symbol 150 GraphicUsed by:160
Symbol 151 GraphicUsed by:160 380
Symbol 152 GraphicUsed by:160
Symbol 153 GraphicUsed by:160
Symbol 154 GraphicUsed by:160 380
Symbol 155 GraphicUsed by:160 380
Symbol 156 GraphicUsed by:160 380
Symbol 157 GraphicUsed by:160 380
Symbol 158 GraphicUsed by:160 380
Symbol 159 GraphicUsed by:160 380
Symbol 160 MovieClipUses: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 159Used by:Timeline
Symbol 161 GraphicUsed by:162
Symbol 162 MovieClipUses:161Used by:Timeline
Symbol 163 GraphicUsed by:164
Symbol 164 MovieClipUses:163 67Used by:Timeline
Symbol 165 TextUses:107Used by:Timeline
Symbol 166 TextUses:107Used by:168
Symbol 167 TextUses:107Used by:168
Symbol 168 ButtonUses:109 166 167 112 113Used by:Timeline
Symbol 169 TextUses:107Used by:Timeline
Symbol 170 TextUses:107Used by:Timeline
Symbol 171 TextUses:107Used by:Timeline
Symbol 172 TextUses:107Used by:174
Symbol 173 TextUses:107Used by:174
Symbol 174 ButtonUses:120 172 173 112 113Used by:Timeline
Symbol 175 TextUses:107Used by:Timeline
Symbol 176 GraphicUsed by:180
Symbol 177 TextUses:107Used by:179 180
Symbol 178 TextUses:107Used by:179
Symbol 179 ButtonUses:113 177 178 112Used by:180
Symbol 180 MovieClipUses:176 177 179Used by:Timeline
Symbol 181 GraphicUsed by:192 194
Symbol 182 TextUses:107Used by:192
Symbol 183 TextUses:107Used by:192
Symbol 184 GraphicUsed by:188 191
Symbol 185 TextUses:107Used by:188
Symbol 186 TextUses:107Used by:188
Symbol 187 GraphicUsed by:188 191 292 295 298
Symbol 188 ButtonUses:184 185 186 187 113Used by:192
Symbol 189 TextUses:107Used by:191
Symbol 190 TextUses:107Used by:191
Symbol 191 ButtonUses:184 189 190 187 113Used by:192
Symbol 192 MovieClipUses:181 182 183 188 191Used by:Timeline
Symbol 193 GraphicUsed by:196
Symbol 194 MovieClipUses:181Used by:196 199 202 205 208 211 214 217 220 231 234 237 240 243 246 249 252 255 258 261 264 267 270 273 276
Symbol 195 TextUses:107Used by:196
Symbol 196 MovieClipUses:193 194 195Used by:Timeline
Symbol 197 GraphicUsed by:199
Symbol 198 TextUses:107Used by:199
Symbol 199 MovieClipUses:197 194 198Used by:Timeline
Symbol 200 GraphicUsed by:202
Symbol 201 TextUses:107Used by:202
Symbol 202 MovieClipUses:200 194 201Used by:Timeline
Symbol 203 GraphicUsed by:205
Symbol 204 TextUses:107Used by:205
Symbol 205 MovieClipUses:203 194 204Used by:Timeline
Symbol 206 GraphicUsed by:208
Symbol 207 TextUses:107Used by:208
Symbol 208 MovieClipUses:206 194 207Used by:Timeline
Symbol 209 GraphicUsed by:211
Symbol 210 TextUses:107Used by:211
Symbol 211 MovieClipUses:209 194 210Used by:Timeline
Symbol 212 GraphicUsed by:214
Symbol 213 TextUses:107Used by:214
Symbol 214 MovieClipUses:212 194 213Used by:Timeline
Symbol 215 GraphicUsed by:217
Symbol 216 TextUses:107Used by:217
Symbol 217 MovieClipUses:215 194 216Used by:Timeline
Symbol 218 GraphicUsed by:220
Symbol 219 TextUses:107Used by:220
Symbol 220 MovieClipUses:218 194 219Used by:Timeline
Symbol 221 GraphicUsed by:231
Symbol 222 GraphicUsed by:229
Symbol 223 GraphicUsed by:229
Symbol 224 GraphicUsed by:229
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:229 378 399 401 431
Symbol 227 GraphicUsed by:229
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:222 223 224 226 227 228Used by:231 234 243 252 255 258 267 270  Timeline
Symbol 230 TextUses:107Used by:231
Symbol 231 MovieClipUses:221 229 194 230Used by:Timeline
Symbol 232 GraphicUsed by:234
Symbol 233 TextUses:107Used by:234
Symbol 234 MovieClipUses:232 229 194 233Used by:Timeline
Symbol 235 GraphicUsed by:237
Symbol 236 TextUses:107Used by:237
Symbol 237 MovieClipUses:235 194 236Used by:Timeline
Symbol 238 GraphicUsed by:240
Symbol 239 TextUses:107Used by:240
Symbol 240 MovieClipUses:238 194 239Used by:Timeline
Symbol 241 GraphicUsed by:243
Symbol 242 TextUses:107Used by:243
Symbol 243 MovieClipUses:241 229 194 242Used by:Timeline
Symbol 244 GraphicUsed by:246
Symbol 245 TextUses:107Used by:246
Symbol 246 MovieClipUses:244 194 245Used by:Timeline
Symbol 247 GraphicUsed by:249
Symbol 248 TextUses:107Used by:249
Symbol 249 MovieClipUses:247 194 248Used by:Timeline
Symbol 250 GraphicUsed by:252
Symbol 251 TextUses:107Used by:252
Symbol 252 MovieClipUses:250 229 194 251Used by:Timeline
Symbol 253 GraphicUsed by:255
Symbol 254 TextUses:107Used by:255
Symbol 255 MovieClipUses:253 229 194 254Used by:Timeline
Symbol 256 GraphicUsed by:258
Symbol 257 TextUses:107Used by:258
Symbol 258 MovieClipUses:256 229 194 257Used by:Timeline
Symbol 259 GraphicUsed by:261
Symbol 260 TextUses:107Used by:261
Symbol 261 MovieClipUses:259 194 260Used by:Timeline
Symbol 262 GraphicUsed by:264
Symbol 263 TextUses:107Used by:264
Symbol 264 MovieClipUses:262 194 263Used by:Timeline
Symbol 265 GraphicUsed by:267
Symbol 266 TextUses:107Used by:267
Symbol 267 MovieClipUses:265 229 194 266Used by:Timeline
Symbol 268 GraphicUsed by:270
Symbol 269 TextUses:107Used by:270
Symbol 270 MovieClipUses:268 229 194 269Used by:Timeline
Symbol 271 GraphicUsed by:273
Symbol 272 TextUses:107Used by:273
Symbol 273 MovieClipUses:271 194 272Used by:Timeline
Symbol 274 GraphicUsed by:276
Symbol 275 TextUses:107Used by:276
Symbol 276 MovieClipUses:274 194 275Used by:Timeline
Symbol 277 TextUses:107Used by:Timeline
Symbol 278 TextUses:107Used by:Timeline
Symbol 279 TextUses:107Used by:Timeline
Symbol 280 TextUses:107Used by:397  Timeline
Symbol 281 TextUses:107Used by:397  Timeline
Symbol 282 TextUses:107Used by:Timeline
Symbol 283 GraphicUsed by:286
Symbol 284 GraphicUsed by:285
Symbol 285 MovieClipUses:284Used by:286
Symbol 286 MovieClipUses:283 285Used by:397  Timeline
Symbol 287 EditableTextUses:107Used by:Timeline
Symbol 288 GraphicUsed by:292 295 298
Symbol 289 TextUses:107Used by:292
Symbol 290 TextUses:107Used by:292
Symbol 291 GraphicUsed by:292 295 298
Symbol 292 ButtonUses:288 289 290 187 291Used by:397  Timeline
Symbol 293 TextUses:107Used by:295
Symbol 294 TextUses:107Used by:295
Symbol 295 ButtonUses:288 293 294 187 291Used by:397  Timeline
Symbol 296 TextUses:107Used by:298
Symbol 297 TextUses:107Used by:298
Symbol 298 ButtonUses:288 296 297 187 291Used by:397  Timeline
Symbol 299 TextUses:107Used by:397  Timeline
Symbol 300 TextUses:107Used by:397  Timeline
Symbol 301 GraphicUsed by:303 304
Symbol 302 GraphicUsed by:303 304
Symbol 303 MovieClipUses:301 302Used by:397  Timeline
Symbol 304 MovieClipUses:301 302Used by:397  Timeline
Symbol 305 GraphicUsed by:Timeline
Symbol 306 GraphicUsed by:Timeline
Symbol 307 GraphicUsed by:330
Symbol 308 TextUses:107Used by:330
Symbol 309 TextUses:107Used by:330
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:310Used by:330
Symbol 312 FontUsed by:313 314 321 322
Symbol 313 TextUses:312Used by:330
Symbol 314 TextUses:312Used by:330
Symbol 315 TextUses:107Used by:330
Symbol 316 GraphicUsed by:319
Symbol 317 GraphicUsed by:319
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:316 317 318Used by:330
Symbol 320 TextUses:107Used by:330
Symbol 321 TextUses:312Used by:330
Symbol 322 TextUses:312Used by:330
Symbol 323 FontUsed by:324 325 326 327
Symbol 324 TextUses:323Used by:330
Symbol 325 TextUses:323Used by:330
Symbol 326 TextUses:323Used by:330
Symbol 327 TextUses:323Used by:330
Symbol 328 GraphicUsed by:330
Symbol 329 TextUses:107Used by:330
Symbol 330 MovieClipUses:307 308 309 311 313 314 315 319 320 321 322 324 325 326 327 328 329Used by:Timeline
Symbol 331 TextUses:107Used by:335
Symbol 332 TextUses:107Used by:335
Symbol 333 TextUses:107Used by:335
Symbol 334 EditableTextUses:107Used by:335
Symbol 335 MovieClipUses:331 332 333 334Used by:Timeline
Symbol 336 TextUses:107Used by:Timeline
Symbol 337 EditableTextUses:107Used by:Timeline
Symbol 338 TextUses:107Used by:Timeline
Symbol 339 EditableTextUses:107Used by:Timeline
Symbol 340 TextUses:107Used by:352
Symbol 341 TextUses:107Used by:352
Symbol 342 TextUses:107Used by:352
Symbol 343 TextUses:107Used by:352
Symbol 344 TextUses:107Used by:352
Symbol 345 TextUses:107Used by:352
Symbol 346 TextUses:107Used by:352
Symbol 347 TextUses:107Used by:352
Symbol 348 TextUses:107Used by:352
Symbol 349 TextUses:107Used by:352
Symbol 350 TextUses:107Used by:352
Symbol 351 TextUses:107Used by:352
Symbol 352 MovieClipUses:340 341 342 343 344 345 346 347 348 349 350 351Used by:Timeline
Symbol 353 GraphicUsed by:378
Symbol 354 GraphicUsed by:374
Symbol 355 GraphicUsed by:374
Symbol 356 GraphicUsed by:374
Symbol 357 GraphicUsed by:374
Symbol 358 GraphicUsed by:374
Symbol 359 GraphicUsed by:374
Symbol 360 GraphicUsed by:374
Symbol 361 GraphicUsed by:374
Symbol 362 GraphicUsed by:374
Symbol 363 GraphicUsed by:374
Symbol 364 GraphicUsed by:374
Symbol 365 GraphicUsed by:374
Symbol 366 GraphicUsed by:374
Symbol 367 GraphicUsed by:374
Symbol 368 GraphicUsed by:374
Symbol 369 GraphicUsed by:374
Symbol 370 GraphicUsed by:374
Symbol 371 GraphicUsed by:374
Symbol 372 GraphicUsed by:374
Symbol 373 GraphicUsed by:374
Symbol 374 MovieClipUses:354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373Used by:378
Symbol 375 GraphicUsed by:376
Symbol 376 MovieClipUses:375Used by:378
Symbol 377 MovieClipUses:92 93 94 95 96 97Used by:378
Symbol 378 MovieClipUses:353 67 226 374 89 376 377Used by:Timeline
Symbol 379 GraphicUsed by:380
Symbol 380 MovieClipUses:132 379 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 151 159 158 154 155 156 157 133Used by:Timeline
Symbol 381 GraphicUsed by:382
Symbol 382 MovieClipUses:381Used by:Timeline
Symbol 383 GraphicUsed by:384
Symbol 384 MovieClipUses:383Used by:Timeline
Symbol 385 TextUses:107Used by:387
Symbol 386 TextUses:107Used by:387
Symbol 387 ButtonUses:113 385 386 112Used by:397
Symbol 388 EditableTextUses:107Used by:397
Symbol 389 TextUses:107Used by:397
Symbol 390 TextUses:107Used by:397
Symbol 391 TextUses:107Used by:393
Symbol 392 TextUses:107Used by:393
Symbol 393 ButtonUses:113 391 392 112Used by:397
Symbol 394 TextUses:107Used by:396
Symbol 395 TextUses:107Used by:396
Symbol 396 ButtonUses:113 394 395 112Used by:397
Symbol 397 MovieClipUses:29 387 280 281 286 388 292 295 298 299 300 303 304 389 390 393 396Used by:Timeline
Symbol 398 GraphicUsed by:399
Symbol 399 MovieClipUses:398 226Used by:Timeline
Symbol 400 GraphicUsed by:401
Symbol 401 MovieClipUses:400 226Used by:Timeline
Symbol 402 GraphicUsed by:Timeline
Symbol 403 GraphicUsed by:Timeline
Symbol 404 GraphicUsed by:412
Symbol 405 GraphicUsed by:407
Symbol 406 GraphicUsed by:407
Symbol 407 MovieClipUses:405 406Used by:412
Symbol 408 GraphicUsed by:409
Symbol 409 MovieClipUses:408Used by:411
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:409 410Used by:412
Symbol 412 MovieClipUses:404 407 411Used by:Timeline
Symbol 413 GraphicUsed by:Timeline
Symbol 414 GraphicUsed by:Timeline
Symbol 415 GraphicUsed by:418
Symbol 416 GraphicUsed by:417
Symbol 417 MovieClipUses:416Used by:418
Symbol 418 MovieClipUses:415 417Used by:Timeline
Symbol 419 GraphicUsed by:Timeline
Symbol 420 GraphicUsed by:Timeline
Symbol 421 GraphicUsed by:Timeline
Symbol 422 GraphicUsed by:423 431
Symbol 423 MovieClipUses:422Used by:431
Symbol 424 GraphicUsed by:430
Symbol 425 GraphicUsed by:430
Symbol 426 GraphicUsed by:430
Symbol 427 GraphicUsed by:430
Symbol 428 GraphicUsed by:430
Symbol 429 GraphicUsed by:430
Symbol 430 MovieClipUses:424 425 426 427 428 429Used by:431
Symbol 431 MovieClipUses:422 226 423 430Used by:Timeline
Symbol 432 GraphicUsed by:Timeline
Symbol 433 GraphicUsed by:Timeline
Symbol 434 GraphicUsed by:Timeline
Symbol 435 GraphicUsed by:Timeline
Symbol 436 GraphicUsed by:Timeline
Symbol 437 GraphicUsed by:Timeline
Symbol 438 GraphicUsed by:Timeline
Symbol 439 GraphicUsed by:Timeline
Symbol 440 GraphicUsed by:Timeline
Symbol 441 GraphicUsed by:448
Symbol 442 GraphicUsed by:448
Symbol 443 GraphicUsed by:448
Symbol 444 GraphicUsed by:448
Symbol 445 GraphicUsed by:448
Symbol 446 GraphicUsed by:448
Symbol 447 GraphicUsed by:448
Symbol 448 MovieClipUses:441 442 443 444 445 446 447Used by:449
Symbol 449 MovieClipUses:448Used by:Timeline
Symbol 450 GraphicUsed by:Timeline
Symbol 451 GraphicUsed by:Timeline
Symbol 452 GraphicUsed by:Timeline
Symbol 453 GraphicUsed by:Timeline
Symbol 454 TextUses:107Used by:Timeline
Symbol 455 EditableTextUses:107Used by:Timeline
Symbol 456 EditableTextUses:107Used by:Timeline
Symbol 457 TextUses:107Used by:459
Symbol 458 TextUses:107Used by:459
Symbol 459 ButtonUses:109 457 458 112 113Used by:Timeline
Symbol 460 TextUses:107Used by:462 463
Symbol 461 TextUses:107Used by:462 463
Symbol 462 ButtonUses:120 460 461 112 113Used by:466
Symbol 463 ButtonUses:120 460 461 112 113Used by:466
Symbol 464 GraphicUsed by:466
Symbol 465 TextUses:107Used by:466
Symbol 466 MovieClipUses:462 463 464 465Used by:Timeline
Symbol 467 TextUses:105Used by:Timeline

Instance Names

"hint"Frame 3Symbol 60 MovieClip
"enemy1"Frame 3Symbol 99 MovieClip
"enemy2"Frame 3Symbol 99 MovieClip
"enemy3"Frame 3Symbol 99 MovieClip
"enemy4"Frame 3Symbol 99 MovieClip
"enemyBall"Frame 3Symbol 101 MovieClip
"enemy5"Frame 3Symbol 99 MovieClip
"enemy6"Frame 3Symbol 99 MovieClip
"enemy7"Frame 3Symbol 99 MovieClip
"enemy8"Frame 3Symbol 99 MovieClip
"button2"Frame 3Symbol 115 MovieClip
"button1"Frame 3Symbol 119 MovieClip
"button3"Frame 3Symbol 124 MovieClip
"button4"Frame 3Symbol 128 MovieClip
"transition"Frame 3Symbol 160 MovieClip
"codeClip"Frame 3Symbol 164 MovieClip
"warning"Frame 5Symbol 192 MovieClip
"hint"Frame 8Symbol 60 MovieClip
"levelText"Frame 8Symbol 335 MovieClip
"hint"Frame 8Symbol 352 MovieClip
"player"Frame 8Symbol 378 MovieClip
"transition"Frame 8Symbol 380 MovieClip
"ball"Frame 8Symbol 382 MovieClip
"enemyBall"Frame 8Symbol 101 MovieClip
"particle"Frame 8Symbol 384 MovieClip
"codeClip"Frame 8Symbol 164 MovieClip
"pauseScreen"Frame 8Symbol 397 MovieClip
"enemy1"Frame 9Symbol 99 MovieClip
"enemy1"Frame 11Symbol 99 MovieClip
"enemy2"Frame 11Symbol 99 MovieClip
"enemy1"Frame 13Symbol 99 MovieClip
"enemy2"Frame 13Symbol 99 MovieClip
"enemy4"Frame 13Symbol 99 MovieClip
"enemy3"Frame 13Symbol 99 MovieClip
"enemy1"Frame 15Symbol 99 MovieClip
"enemy2"Frame 15Symbol 99 MovieClip
"object2"Frame 15Symbol 399 MovieClip
"object3"Frame 15Symbol 399 MovieClip
"object4"Frame 15Symbol 401 MovieClip
"object1"Frame 15Symbol 401 MovieClip
"enemy1"Frame 17Symbol 99 MovieClip
"enemy2"Frame 17Symbol 99 MovieClip
"object2"Frame 17Symbol 399 MovieClip
"object3"Frame 17Symbol 399 MovieClip
"object4"Frame 17Symbol 401 MovieClip
"object1"Frame 17Symbol 401 MovieClip
"object5"Frame 17Symbol 399 MovieClip
"well1"Frame 19Symbol 412 MovieClip
"enemy1"Frame 19Symbol 99 MovieClip
"enemy2"Frame 19Symbol 99 MovieClip
"object1"Frame 19Symbol 399 MovieClip
"object2"Frame 19Symbol 399 MovieClip
"well1"Frame 21Symbol 412 MovieClip
"enemy1"Frame 21Symbol 99 MovieClip
"enemy2"Frame 21Symbol 99 MovieClip
"enemy3"Frame 21Symbol 99 MovieClip
"enemy4"Frame 21Symbol 99 MovieClip
"enemy5"Frame 21Symbol 99 MovieClip
"teleport1"Frame 23Symbol 418 MovieClip
"teleport2"Frame 23Symbol 418 MovieClip
"enemy1"Frame 23Symbol 99 MovieClip
"enemy2"Frame 23Symbol 99 MovieClip
"object1"Frame 23Symbol 399 MovieClip
"teleport1"Frame 25Symbol 418 MovieClip
"teleport2"Frame 25Symbol 418 MovieClip
"teleport3"Frame 25Symbol 418 MovieClip
"teleport4"Frame 25Symbol 418 MovieClip
"enemy1"Frame 25Symbol 99 MovieClip
"enemy2"Frame 25Symbol 99 MovieClip
"enemy3"Frame 25Symbol 99 MovieClip
"enemy4"Frame 25Symbol 99 MovieClip
"object2"Frame 25Symbol 399 MovieClip
"object1"Frame 25Symbol 401 MovieClip
"switch1"Frame 27Symbol 229 MovieClip
"switch2"Frame 27Symbol 229 MovieClip
"teleport1"Frame 27Symbol 418 MovieClip
"teleport2"Frame 27Symbol 418 MovieClip
"enemy1"Frame 27Symbol 99 MovieClip
"enemy2"Frame 27Symbol 99 MovieClip
"object3"Frame 27Symbol 399 MovieClip
"object4"Frame 27Symbol 401 MovieClip
"object2"Frame 27Symbol 401 MovieClip
"object1"Frame 27Symbol 399 MovieClip
"object5"Frame 27Symbol 399 MovieClip
"object7"Frame 27Symbol 401 MovieClip
"object6"Frame 27Symbol 399 MovieClip
"switch1"Frame 29Symbol 229 MovieClip
"teleport1"Frame 29Symbol 418 MovieClip
"teleport2"Frame 29Symbol 418 MovieClip
"well1"Frame 29Symbol 412 MovieClip
"enemy1"Frame 29Symbol 99 MovieClip
"enemy2"Frame 29Symbol 99 MovieClip
"enemy3"Frame 29Symbol 99 MovieClip
"object6"Frame 29Symbol 399 MovieClip
"object1"Frame 29Symbol 401 MovieClip
"object4"Frame 29Symbol 399 MovieClip
"object3"Frame 29Symbol 399 MovieClip
"object5"Frame 29Symbol 399 MovieClip
"object2"Frame 29Symbol 401 MovieClip
"object8"Frame 29Symbol 399 MovieClip
"object1"Frame 31Symbol 431 MovieClip
"object2"Frame 31Symbol 431 MovieClip
"enemy1"Frame 31Symbol 99 MovieClip
"enemy2"Frame 31Symbol 99 MovieClip
"enemy3"Frame 31Symbol 99 MovieClip
"object3"Frame 31Symbol 399 MovieClip
"object4"Frame 31Symbol 401 MovieClip
"object2"Frame 33Symbol 431 MovieClip
"enemy2"Frame 33Symbol 99 MovieClip
"enemy1"Frame 33Symbol 99 MovieClip
"enemy3"Frame 33Symbol 99 MovieClip
"enemy4"Frame 33Symbol 99 MovieClip
"object1"Frame 33Symbol 399 MovieClip
"object3"Frame 33Symbol 399 MovieClip
"object4"Frame 33Symbol 399 MovieClip
"object5"Frame 33Symbol 401 MovieClip
"object6"Frame 33Symbol 401 MovieClip
"object7"Frame 33Symbol 401 MovieClip
"teleport1"Frame 35Symbol 418 MovieClip
"teleport2"Frame 35Symbol 418 MovieClip
"switch1"Frame 35Symbol 229 MovieClip
"well1"Frame 35Symbol 412 MovieClip
"enemy1"Frame 35Symbol 99 MovieClip
"object2"Frame 35Symbol 399 MovieClip
"object1"Frame 35Symbol 399 MovieClip
"object3"Frame 35Symbol 401 MovieClip
"object6"Frame 35Symbol 399 MovieClip
"object5"Frame 35Symbol 401 MovieClip
"object7"Frame 35Symbol 399 MovieClip
"object8"Frame 35Symbol 401 MovieClip
"object9"Frame 35Symbol 401 MovieClip
"object4"Frame 35Symbol 401 MovieClip
"transport1"Frame 37Symbol 164 MovieClip
"transport2"Frame 37Symbol 164 MovieClip
"enemy1"Frame 37Symbol 99 MovieClip
"enemy2"Frame 37Symbol 99 MovieClip
"object1"Frame 37Symbol 399 MovieClip
"transport1"Frame 39Symbol 164 MovieClip
"transport2"Frame 39Symbol 164 MovieClip
"transport3"Frame 39Symbol 164 MovieClip
"transport4"Frame 39Symbol 164 MovieClip
"transport5"Frame 39Symbol 164 MovieClip
"transport6"Frame 39Symbol 164 MovieClip
"transport7"Frame 39Symbol 164 MovieClip
"transport8"Frame 39Symbol 164 MovieClip
"enemy1"Frame 39Symbol 99 MovieClip
"object1"Frame 39Symbol 399 MovieClip
"transport1"Frame 41Symbol 164 MovieClip
"transport2"Frame 41Symbol 164 MovieClip
"object10"Frame 41Symbol 431 MovieClip
"switch1"Frame 41Symbol 229 MovieClip
"transport3"Frame 41Symbol 164 MovieClip
"transport4"Frame 41Symbol 164 MovieClip
"enemy1"Frame 41Symbol 99 MovieClip
"enemy2"Frame 41Symbol 99 MovieClip
"object9"Frame 41Symbol 399 MovieClip
"object6"Frame 41Symbol 401 MovieClip
"object4"Frame 41Symbol 401 MovieClip
"object5"Frame 41Symbol 401 MovieClip
"object2"Frame 41Symbol 399 MovieClip
"object3"Frame 41Symbol 401 MovieClip
"object7"Frame 41Symbol 401 MovieClip
"object8"Frame 41Symbol 399 MovieClip
"object1"Frame 41Symbol 401 MovieClip
"teleport1"Frame 43Symbol 418 MovieClip
"teleport2"Frame 43Symbol 418 MovieClip
"switch1"Frame 43Symbol 229 MovieClip
"enemy1"Frame 43Symbol 99 MovieClip
"object1"Frame 43Symbol 399 MovieClip
"object4"Frame 43Symbol 401 MovieClip
"object2"Frame 43Symbol 401 MovieClip
"object9"Frame 43Symbol 399 MovieClip
"transport2"Frame 45Symbol 164 MovieClip
"transport1"Frame 45Symbol 164 MovieClip
"switch2"Frame 45Symbol 229 MovieClip
"switch1"Frame 45Symbol 229 MovieClip
"enemy2"Frame 45Symbol 99 MovieClip
"enemy1"Frame 45Symbol 99 MovieClip
"object5"Frame 45Symbol 401 MovieClip
"object2"Frame 45Symbol 399 MovieClip
"object1"Frame 45Symbol 401 MovieClip
"object3"Frame 45Symbol 401 MovieClip
"object4"Frame 45Symbol 399 MovieClip
"object6"Frame 45Symbol 401 MovieClip
"enemy1"Frame 47Symbol 99 MovieClip
"enemy7"Frame 47Symbol 99 MovieClip
"enemy3"Frame 47Symbol 99 MovieClip
"enemy5"Frame 47Symbol 99 MovieClip
"enemy8"Frame 47Symbol 99 MovieClip
"enemy2"Frame 47Symbol 99 MovieClip
"enemy4"Frame 47Symbol 99 MovieClip
"enemy6"Frame 47Symbol 99 MovieClip
"teleport5"Frame 49Symbol 418 MovieClip
"teleport1"Frame 49Symbol 418 MovieClip
"teleport6"Frame 49Symbol 418 MovieClip
"teleport8"Frame 49Symbol 418 MovieClip
"teleport11"Frame 49Symbol 418 MovieClip
"teleport13"Frame 49Symbol 418 MovieClip
"teleport14"Frame 49Symbol 418 MovieClip
"teleport15"Frame 49Symbol 418 MovieClip
"teleport16"Frame 49Symbol 418 MovieClip
"teleport7"Frame 49Symbol 418 MovieClip
"teleport10"Frame 49Symbol 418 MovieClip
"teleport12"Frame 49Symbol 418 MovieClip
"teleport17"Frame 49Symbol 418 MovieClip
"teleport2"Frame 49Symbol 418 MovieClip
"teleport3"Frame 49Symbol 418 MovieClip
"teleport18"Frame 49Symbol 418 MovieClip
"teleport4"Frame 49Symbol 418 MovieClip
"teleport9"Frame 49Symbol 418 MovieClip
"enemy1"Frame 49Symbol 99 MovieClip
"object1"Frame 49Symbol 399 MovieClip
"tick"Frame 49Symbol 449 MovieClip
"object7"Frame 51Symbol 431 MovieClip
"switch1"Frame 51Symbol 229 MovieClip
"switch2"Frame 51Symbol 229 MovieClip
"transport2"Frame 51Symbol 164 MovieClip
"transport1"Frame 51Symbol 164 MovieClip
"enemy2"Frame 51Symbol 99 MovieClip
"enemy1"Frame 51Symbol 99 MovieClip
"object2"Frame 51Symbol 399 MovieClip
"object1"Frame 51Symbol 399 MovieClip
"object3"Frame 51Symbol 401 MovieClip
"object4"Frame 51Symbol 401 MovieClip
"object5"Frame 51Symbol 401 MovieClip
"object8"Frame 51Symbol 399 MovieClip
"object9"Frame 51Symbol 399 MovieClip
"object10"Frame 51Symbol 399 MovieClip
"teleport1"Frame 53Symbol 418 MovieClip
"teleport2"Frame 53Symbol 418 MovieClip
"well2"Frame 53Symbol 412 MovieClip
"well1"Frame 53Symbol 412 MovieClip
"well4"Frame 53Symbol 412 MovieClip
"well3"Frame 53Symbol 412 MovieClip
"switch1"Frame 53Symbol 229 MovieClip
"transport2"Frame 53Symbol 164 MovieClip
"transport1"Frame 53Symbol 164 MovieClip
"transport3"Frame 53Symbol 164 MovieClip
"transport4"Frame 53Symbol 164 MovieClip
"enemy1"Frame 53Symbol 99 MovieClip
"enemy3"Frame 53Symbol 99 MovieClip
"enemy4"Frame 53Symbol 99 MovieClip
"enemy2"Frame 53Symbol 99 MovieClip
"object1"Frame 53Symbol 399 MovieClip
"object2"Frame 53Symbol 399 MovieClip
"object3"Frame 53Symbol 399 MovieClip
"object4"Frame 53Symbol 399 MovieClip
"object5"Frame 53Symbol 399 MovieClip
"object6"Frame 53Symbol 399 MovieClip
"enemy1"Frame 55Symbol 99 MovieClip
"enemy2"Frame 55Symbol 99 MovieClip
"enemy3"Frame 55Symbol 99 MovieClip
"enemy2"Frame 57Symbol 99 MovieClip
"enemy11"Frame 57Symbol 99 MovieClip
"enemy5"Frame 57Symbol 99 MovieClip
"enemy8"Frame 57Symbol 99 MovieClip
"enemy6"Frame 57Symbol 99 MovieClip
"enemy7"Frame 57Symbol 99 MovieClip
"enemy4"Frame 57Symbol 99 MovieClip
"enemy10"Frame 57Symbol 99 MovieClip
"enemy1"Frame 57Symbol 99 MovieClip
"enemy3"Frame 57Symbol 99 MovieClip
"enemy9"Frame 57Symbol 99 MovieClip
"enemy12"Frame 57Symbol 99 MovieClip
"bar"Symbol 27 MovieClip [[NGL]_LOADER] Frame 1Symbol 18 MovieClip
"perimeter"Symbol 67 MovieClip Frame 1Symbol 66 MovieClip
"test"Symbol 99 MovieClip Frame 1Symbol 67 MovieClip
"charge"Symbol 99 MovieClip Frame 2Symbol 88 MovieClip
"test"Symbol 164 MovieClip Frame 1Symbol 67 MovieClip
"darken"Symbol 196 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 199 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 202 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 205 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 208 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 211 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 214 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 217 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 220 MovieClip Frame 1Symbol 194 MovieClip
"test"Symbol 229 MovieClip Frame 1Symbol 226 MovieClip
"darken"Symbol 231 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 234 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 234 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 237 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 240 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 243 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 243 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 246 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 249 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 252 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 252 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 255 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 255 MovieClip Frame 1Symbol 194 MovieClip
"switch2"Symbol 258 MovieClip Frame 1Symbol 229 MovieClip
"switch1"Symbol 258 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 258 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 261 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 264 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 267 MovieClip Frame 1Symbol 229 MovieClip
"switch2"Symbol 267 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 267 MovieClip Frame 1Symbol 194 MovieClip
"switch1"Symbol 270 MovieClip Frame 1Symbol 229 MovieClip
"darken"Symbol 270 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 273 MovieClip Frame 1Symbol 194 MovieClip
"darken"Symbol 276 MovieClip Frame 1Symbol 194 MovieClip
"slider"Symbol 286 MovieClip Frame 1Symbol 285 MovieClip
"level"Symbol 335 MovieClip Frame 21Symbol 334 EditableText
"test"Symbol 378 MovieClip Frame 1Symbol 67 MovieClip
"turret"Symbol 378 MovieClip Frame 1Symbol 226 MovieClip
"sideBottom"Symbol 399 MovieClip Frame 1Symbol 226 MovieClip
"sideTop"Symbol 399 MovieClip Frame 1Symbol 226 MovieClip
"sideLeft"Symbol 399 MovieClip Frame 1Symbol 226 MovieClip
"sideRight"Symbol 399 MovieClip Frame 1Symbol 226 MovieClip
"sideBottom"Symbol 401 MovieClip Frame 1Symbol 226 MovieClip
"sideTop"Symbol 401 MovieClip Frame 1Symbol 226 MovieClip
"sideLeft"Symbol 401 MovieClip Frame 1Symbol 226 MovieClip
"sideRight"Symbol 401 MovieClip Frame 1Symbol 226 MovieClip
"bar"Symbol 411 MovieClip Frame 1Symbol 409 MovieClip
"glow"Symbol 412 MovieClip Frame 1Symbol 407 MovieClip
"timerBar"Symbol 412 MovieClip Frame 2Symbol 411 MovieClip
"sideBottom"Symbol 431 MovieClip Frame 1Symbol 226 MovieClip
"sideTop"Symbol 431 MovieClip Frame 1Symbol 226 MovieClip
"sideLeft"Symbol 431 MovieClip Frame 1Symbol 226 MovieClip
"sideRight"Symbol 431 MovieClip Frame 1Symbol 226 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "warp"
ExportAssets (56)Timeline Frame 1Symbol 2 as "practiceMusic"
ExportAssets (56)Timeline Frame 1Symbol 3 as "gameMusic"
ExportAssets (56)Timeline Frame 1Symbol 4 as "switch"
ExportAssets (56)Timeline Frame 1Symbol 5 as "hit2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "fire"
ExportAssets (56)Timeline Frame 1Symbol 7 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 8 as "explode"
ExportAssets (56)Timeline Frame 1Symbol 9 as "crateBreak"
ExportAssets (56)Timeline Frame 1Symbol 10 as "lock"
ExportAssets (56)Timeline Frame 1Symbol 11 as "rollOver"
ExportAssets (56)Timeline Frame 1Symbol 12 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 13 as "unpause"
ExportAssets (56)Timeline Frame 1Symbol 14 as "pause"
ExportAssets (56)Timeline Frame 1Symbol 15 as "menuMusic"
ExportAssets (56)Timeline Frame 1Symbol 27 as "[NGL]_LOADER"
ExportAssets (56)Timeline Frame 1Symbol 468 as "__Packages.MochiAd"

Labels

"menu"Frame 3
"credits"Frame 4
"instructions"Frame 5
"levelSelect"Frame 6
"options"Frame 7
"game"Frame 8
"level1"Frame 9
"level2"Frame 11
"level3"Frame 13
"level4"Frame 15
"level5"Frame 17
"level6"Frame 19
"level7"Frame 21
"level8"Frame 23
"level9"Frame 25
"level10"Frame 27
"level11"Frame 29
"level12"Frame 31
"level13"Frame 33
"level14"Frame 35
"level15"Frame 37
"level16"Frame 39
"level17"Frame 41
"level18"Frame 43
"level19"Frame 45
"level20"Frame 47
"level21"Frame 49
"level22"Frame 51
"level23"Frame 53
"level24"Frame 55
"level25"Frame 57
"loaded"Symbol 27 MovieClip [[NGL]_LOADER] Frame 3
"dead"Symbol 99 MovieClip Frame 3
"dead"Symbol 378 MovieClip Frame 3
"dead"Symbol 431 MovieClip Frame 2

Dynamic Text Variables

gameVolumeSymbol 287 EditableText"100"
_root.levelSymbol 334 EditableText"2"
bonusSymbol 337 EditableText""
scoreSymbol 339 EditableText""
_root.gameVolumeSymbol 388 EditableText"100"
scoreSymbol 455 EditableText""
nameSymbol 456 EditableText"Your Name"




http://swfchan.com/10/48012/info.shtml
Created: 30/4 -2019 18:21:11 Last modified: 30/4 -2019 18:21:11 Server time: 31/12 -2024 23:01:23