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

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

rnt.swf

This is the info page for
Flash #137869

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 4 star3 { } movieClip 6 { } movieClip 7 star2 { } movieClip 9 { } movieClip 10 star1 { } movieClip 12 { } movieClip 13 star0 { } movieClip 20 { } movieClip 22 { } movieClip 29 { frame 10 { stop(); } } movieClip 30 { frame 1 { stop(); } } movieClip 31 { frame 1 { stop(); } instance mc of movieClip 30 { onClipEvent (enterFrame) { if (_root.holder.world.player.hitBox2.hitTest(_parent.mc) and _root.holder.world.immune == false and _root.bossIzDead == false) { _root.holder.world.player.gotoAndStop('hit'); _root.holder.world.player.weaponfire._visible = false; _root.holder.world.player.weaponfirestandard._visible = false; _root.holder.world.player.weaponfirefast._visible = false; _root.holder.world.player.weaponfiremedium._visible = false; _root.holder.world.player.weaponfireslow._visible = false; _root.holder.world.player.MC._visible = false; _root.holder.world.player.MC2._visible = false; _root.holder.world.player.MCBlueFire._visible = false; _root.holder.world.gotHit = true; _root.holder.world.lockEverything = true; _root.holder.world.velF = 7; _root.holder.world.velY = -9; _root.holder.world.beingHitCode = true; _root.holder.world.jumping3 = true; _root.holder.world.immune = true; gotoAndStop('remove'); _parent._parent.stop(); if (_root.holder.world.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _root.holder.world.hitsLeft -= 1; } if (_root.holder.world.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _root.holder.world.player.gotoAndStop('die'); _root.holder.world.completeStop = true; } } if (_root.holder.world.left1.hitTest(_parent.mc.box)) { gotoAndStop('remove'); _parent._parent.stop(); } if (_root.holder.world.right1.hitTest(_parent.mc.box)) { gotoAndStop('remove'); _parent._parent.stop(); } if (_root.holder.world.ground1.hitTest(_parent.mc.box)) { gotoAndStop('remove'); _parent._parent.stop(); } } } } movieClip 32 { frame 65 { stop(); } } movieClip 33 Boss5Shot4 { instance mc of movieClip 32 { onClipEvent (load) { if (_root.holder.world.enemy1._xscale == 100) { _parent.mc._x = _root.holder.world.enemy1._x + 5; _parent.mc._y = _root.holder.world.enemy1._y - 55; _parent.mc2._x = _root.holder.world.enemy1._x + 5 + 50; _parent.mc2._y = _root.holder.world.enemy1._y - 55; } if (_root.holder.world.enemy1._xscale == -100) { _parent.mc._x = _root.holder.world.enemy1._x - 60; _parent.mc._y = _root.holder.world.enemy1._y - 55; _parent.mc2._x = _root.holder.world.enemy1._x - 75 + 73; _parent.mc2._y = _root.holder.world.enemy1._y - 55; } } } } movieClip 34 { frame 69 { stop(); } } movieClip 35 Boss5Shot3 { instance mc of movieClip 34 { onClipEvent (load) { if (_root.holder.world.boss._xscale == 100) { _parent.mc._x = _root.holder.world.boss._x + 5; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x + 5 + 50; _parent.mc2._y = _root.holder.world.boss._y - 55; } if (_root.holder.world.boss._xscale == -100) { _parent.mc._x = _root.holder.world.boss._x - 75; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x - 75 + 33; _parent.mc2._y = _root.holder.world.boss._y - 55; } } } } movieClip 36 { frame 74 { stop(); } } movieClip 37 Boss5Shot2 { instance mc of movieClip 36 { onClipEvent (load) { if (_root.holder.world.boss._xscale == 100) { _parent.mc._x = _root.holder.world.boss._x + 5; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x + 5 + 50; _parent.mc2._y = _root.holder.world.boss._y - 55; } if (_root.holder.world.boss._xscale == -100) { _parent.mc._x = _root.holder.world.boss._x - 75; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x - 75 + 33; _parent.mc2._y = _root.holder.world.boss._y - 55; } } } } movieClip 38 { frame 79 { stop(); } } movieClip 39 Boss5Shot1 { instance mc of movieClip 38 { onClipEvent (load) { if (_root.holder.world.boss._xscale == 100) { _parent.mc._x = _root.holder.world.boss._x + 5; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x + 5 + 50; _parent.mc2._y = _root.holder.world.boss._y - 55; } if (_root.holder.world.boss._xscale == -100) { _parent.mc._x = _root.holder.world.boss._x - 75; _parent.mc._y = _root.holder.world.boss._y - 55; _parent.mc2._x = _root.holder.world.boss._x - 75 + 33; _parent.mc2._y = _root.holder.world.boss._y - 55; } } } } movieClip 43 { frame 1 { stop(); } } movieClip 60 { frame 13 { stop(); _parent._parent.removeMovieClip(); } } movieClip 61 { frame 1 { stop(); } } movieClip 62 rocket { frame 1 { stop(); } instance ammo of movieClip 61 { onClipEvent (load) { sound = new Sound(); sound.attachSound('RocketSound'); sound.start(0, 0); speed = 20; speed2 = 20; lock = false; lockAll = false; if (_root.holder.world.shootingDirection == 'runshootright') { this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'runshootleft') { this._x = _root.holder.world.player._x - 35; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'standshootright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'standshootleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'shootlowright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootlowleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootdownforwardright') { this._xscale = 100; this._rotation = 45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft') { this._xscale = -100; this._rotation = 135; this._x = _root.holder.world.player._x - 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootupforwardright') { this._xscale = 100; this._rotation = -45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y - 34; } if (_root.holder.world.shootingDirection == 'shootupforwardleft') { this._xscale = -100; this._rotation = -135; this._x = _root.holder.world.player._x - 25; this._y = _root.holder.world.player._y - 15; } if (_root.holder.world.shootingDirection == 'shootupright') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x - 10; } if (_root.holder.world.shootingDirection == 'shootupleft') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x + 10; } if (_root.holder.world.shootingDirection == 'climbright') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x + 40; } if (_root.holder.world.shootingDirection == 'climbleft') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x - 40; } } onClipEvent (enterFrame) { if (lockAll == false) { if (_root.holder.world.shootingDirection == 'runshootright' and lock == false) { runShootRight = true; } if (_root.holder.world.shootingDirection == 'runshootleft' and lock == false) { runShootLeft = true; } if (_root.holder.world.shootingDirection == 'standshootright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'standshootleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootlowright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'shootlowleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardright' and lock == false) { shootRightDF = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft' and lock == false) { shootLeftDF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardright' and lock == false) { shootRightUF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardleft' and lock == false) { shootLeftUF = true; } if (_root.holder.world.shootingDirection == 'shootupright' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'shootupleft' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'climbright' and lock == false) { climbRight = true; } if (_root.holder.world.shootingDirection == 'climbleft' and lock == false) { climbLeft = true; } if (runShootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (runShootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (shootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRightDF == true) { this._x += speed; this._y += speed; lock = true; } if (shootLeftDF == true) { this._x -= speed; this._y += speed; lock = true; } if (shootRightUF == true) { this._x += speed; this._y -= speed; lock = true; } if (shootLeftUF == true) { this._x -= speed; this._y -= speed; lock = true; } if (shootUpRight == true) { this._y -= speed; lock = true; } if (shootUpLeft == true) { this._y -= speed; lock = true; } if (climbRight == true) { this._x += speed; lock = true; } if (climbLeft == true) { this._x -= speed; lock = true; } if (!this.hitTest(_root.screenMC) and lockAll == false) { _root.hit += 1; speed = 0; speed2 = 0; _parent.gotoAndStop(2); lockAll = true; } enemyi = 0; while (enemyi < 90) { if (this.hitBox.hitTest(_root.holder.world['enemy' + enemyi].enemy.hitBox)) { _root.holder.world['enemy' + enemyi].hit = true; lastNumber = enemyi; _parent.gotoAndStop(2); } ++enemyi; } } } } } movieClip 65 { frame 1 { } } movieClip 66 { frame 1 { stop(); } } movieClip 67 laser { frame 1 { stop(); } instance ammo of movieClip 66 { onClipEvent (load) { sound = new Sound(); sound.attachSound('LaserSound'); sound.start(0, 0); speed = 20; speed2 = 20; lock = false; lockAll = false; if (_root.holder.world.shootingDirection == 'runshootright') { this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'runshootleft') { this._x = _root.holder.world.player._x - 35; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'standshootright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'standshootleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'shootlowright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootlowleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootdownforwardright') { this._xscale = 100; this._rotation = 45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft') { this._xscale = -100; this._rotation = 135; this._x = _root.holder.world.player._x - 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootupforwardright') { this._xscale = 100; this._rotation = -45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y - 34; } if (_root.holder.world.shootingDirection == 'shootupforwardleft') { this._xscale = -100; this._rotation = -135; this._x = _root.holder.world.player._x - 25; this._y = _root.holder.world.player._y - 15; } if (_root.holder.world.shootingDirection == 'shootupright') { this._rotation = 90; this._y = _root.holder.world.player._y - 65; this._x = _root.holder.world.player._x - 10; } if (_root.holder.world.shootingDirection == 'shootupleft') { this._rotation = 90; this._y = _root.holder.world.player._y - 65; this._x = _root.holder.world.player._x + 10; } if (_root.holder.world.shootingDirection == 'climbright') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x + 60; } if (_root.holder.world.shootingDirection == 'climbleft') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x - 50; } } onClipEvent (enterFrame) { if (lockAll == false) { if (_root.holder.world.shootingDirection == 'runshootright' and lock == false) { runShootRight = true; } if (_root.holder.world.shootingDirection == 'runshootleft' and lock == false) { runShootLeft = true; } if (_root.holder.world.shootingDirection == 'standshootright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'standshootleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootlowright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'shootlowleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardright' and lock == false) { shootRightDF = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft' and lock == false) { shootLeftDF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardright' and lock == false) { shootRightUF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardleft' and lock == false) { shootLeftUF = true; } if (_root.holder.world.shootingDirection == 'shootupright' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'shootupleft' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'climbright' and lock == false) { climbRight = true; } if (_root.holder.world.shootingDirection == 'climbleft' and lock == false) { climbLeft = true; } if (runShootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (runShootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (shootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRightDF == true) { this._x += speed; this._y += speed; lock = true; } if (shootLeftDF == true) { this._x -= speed; this._y += speed; lock = true; } if (shootRightUF == true) { this._x += speed; this._y -= speed; lock = true; } if (shootLeftUF == true) { this._x -= speed; this._y -= speed; lock = true; } if (shootUpRight == true) { this._y -= speed; lock = true; } if (shootUpLeft == true) { this._y -= speed; lock = true; } if (climbRight == true) { this._x += speed; lock = true; } if (climbLeft == true) { this._x -= speed; lock = true; } if (!this.hitTest(_root.screenMC) and lockAll == false) { _root.hit += 1; speed = 0; speed2 = 0; _parent.gotoAndStop(2); lockAll = true; } enemyi = 0; while (enemyi < 10) { if (this.hitBox.hitTest(_root.holder.world['enemy' + enemyi].enemy.hitBox)) { _root.holder.world['enemy' + enemyi].hit = true; lastNumber = enemyi; _parent.gotoAndStop(2); } ++enemyi; } } } } } movieClip 88 { frame 11 { } } movieClip 89 { frame 1 { stop(); } } movieClip 90 flamethrower { frame 1 { stop(); } instance ammo of movieClip 89 { onClipEvent (load) { speed = 20; speed2 = 20; lock = false; lockAll = false; if (_root.holder.world.shootingDirection == 'runshootright') { this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 2; } if (_root.holder.world.shootingDirection == 'runshootleft') { this._x = _root.holder.world.player._x - 30; this._y = _root.holder.world.player._y + 2; } if (_root.holder.world.shootingDirection == 'standshootright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'standshootleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'shootlowright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootlowleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootdownforwardright') { this._xscale = 100; this._rotation = 45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft') { this._xscale = -100; this._rotation = 135; this._x = _root.holder.world.player._x - 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootupforwardright') { this._xscale = 100; this._rotation = -45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y - 34; } if (_root.holder.world.shootingDirection == 'shootupforwardleft') { this._xscale = -100; this._rotation = -135; this._x = _root.holder.world.player._x - 25; this._y = _root.holder.world.player._y - 15; } if (_root.holder.world.shootingDirection == 'shootupright') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x - 10; } if (_root.holder.world.shootingDirection == 'shootupleft') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x + 10; } if (_root.holder.world.shootingDirection == 'climbright') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x + 60; } if (_root.holder.world.shootingDirection == 'climbleft') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x - 36; } } onClipEvent (enterFrame) { if (lockAll == false) { if (_root.holder.world.shootingDirection == 'runshootright' and lock == false) { runShootRight = true; } if (_root.holder.world.shootingDirection == 'runshootleft' and lock == false) { runShootLeft = true; } if (_root.holder.world.shootingDirection == 'standshootright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'standshootleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootlowright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'shootlowleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardright' and lock == false) { shootRightDF = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft' and lock == false) { shootLeftDF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardright' and lock == false) { shootRightUF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardleft' and lock == false) { shootLeftUF = true; } if (_root.holder.world.shootingDirection == 'shootupright' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'shootupleft' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'climbright' and lock == false) { climbRight = true; } if (_root.holder.world.shootingDirection == 'climbleft' and lock == false) { climbLeft = true; } if (runShootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (runShootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (shootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRightDF == true) { this._x += speed; this._y += speed; lock = true; } if (shootLeftDF == true) { this._x -= speed; this._y += speed; lock = true; } if (shootRightUF == true) { this._x += speed; this._y -= speed; lock = true; } if (shootLeftUF == true) { this._x -= speed; this._y -= speed; lock = true; } if (shootUpRight == true) { this._y -= speed; lock = true; } if (shootUpLeft == true) { this._y -= speed; lock = true; } if (climbRight == true) { this._x += speed; lock = true; } if (climbLeft == true) { this._x -= speed; lock = true; } if (!this.hitTest(_root.holder.world.player.smallMC) and lockAll == false) { _root.hit += 1; speed = 0; speed2 = 0; _parent.gotoAndStop(2); lockAll = true; } enemyi = 0; while (enemyi < 90) { if (this.hitBox.hitTest(_root.holder.world['enemy' + enemyi].enemy.hitBox)) { _root.holder.world['enemy' + enemyi].hit = true; lastNumber = enemyi; gotoAndStop(3); } ++enemyi; } } } } } movieClip 92 { frame 3 { stop(); _parent._parent.removeMovieClip(); } } movieClip 93 { frame 1 { stop(); } } movieClip 94 bullet { frame 1 { stop(); } instance ammo of movieClip 93 { onClipEvent (load) { dinoRection = _root.holder.world.directon; bossHitSound = _root.bossHitSound; sound = new Sound(); sound.attachSound('BulletSound'); sound.start(0, 0); speed = 20; speed2 = 20; lock = false; lockAll = false; once = false; if (_root.holder.world.shootingDirection == 'runshootright') { this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'runshootleft') { this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 3; } if (_root.holder.world.shootingDirection == 'standshootright') { this._xscale = 100; this._x = _root.holder.world.player._x + 20; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'standshootleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 20; this._y = _root.holder.world.player._y + 7; } if (_root.holder.world.shootingDirection == 'shootlowright') { this._xscale = 100; this._x = _root.holder.world.player._x + 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootlowleft') { this._xscale = -100; this._x = _root.holder.world.player._x - 55; this._y = _root.holder.world.player._y + 15; } if (_root.holder.world.shootingDirection == 'shootdownforwardright') { this._xscale = 100; this._rotation = 45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft') { this._xscale = -100; this._rotation = 135; this._x = _root.holder.world.player._x - 39; this._y = _root.holder.world.player._y + 53; } if (_root.holder.world.shootingDirection == 'shootupforwardright') { this._xscale = 100; this._rotation = -45; this._x = _root.holder.world.player._x + 39; this._y = _root.holder.world.player._y - 34; } if (_root.holder.world.shootingDirection == 'shootupforwardleft') { this._xscale = -100; this._rotation = -135; this._x = _root.holder.world.player._x - 39; this._y = _root.holder.world.player._y - 34; } if (_root.holder.world.shootingDirection == 'shootupright') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x - 10; } if (_root.holder.world.shootingDirection == 'shootupleft') { this._rotation = 90; this._y = _root.holder.world.player._y - 34; this._x = _root.holder.world.player._x + 9; } if (_root.holder.world.shootingDirection == 'climbright') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x + 40; } if (_root.holder.world.shootingDirection == 'climbleft') { this._y = _root.holder.world.player._y + 3; this._x = _root.holder.world.player._x - 40; } } onClipEvent (enterFrame) { if (lockAll == false) { if (_root.holder.world.shootingDirection == 'runshootright' and lock == false) { runShootRight = true; } if (_root.holder.world.shootingDirection == 'runshootleft' and lock == false) { runShootLeft = true; } if (_root.holder.world.shootingDirection == 'standshootright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'standshootleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootlowright' and lock == false) { shootRight = true; } if (_root.holder.world.shootingDirection == 'shootlowleft' and lock == false) { shootLeft = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardright' and lock == false) { shootRightDF = true; } if (_root.holder.world.shootingDirection == 'shootdownforwardleft' and lock == false) { shootLeftDF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardright' and lock == false) { shootRightUF = true; } if (_root.holder.world.shootingDirection == 'shootupforwardleft' and lock == false) { shootLeftUF = true; } if (_root.holder.world.shootingDirection == 'shootupright' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'shootupleft' and lock == false) { shootUpRight = true; } if (_root.holder.world.shootingDirection == 'climbright' and lock == false) { climbRight = true; } if (_root.holder.world.shootingDirection == 'climbleft' and lock == false) { climbLeft = true; } if (runShootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (runShootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRight == true) { this._x += speed + _root.holder.world.runSpeedAccR; lock = true; } if (shootLeft == true) { this._x -= speed - _root.holder.world.runSpeedAccL; lock = true; } if (shootRightDF == true) { this._x += speed; this._y += speed; lock = true; } if (shootLeftDF == true) { this._x -= speed; this._y += speed; lock = true; } if (shootRightUF == true) { this._x += speed; this._y -= speed; lock = true; } if (shootLeftUF == true) { this._x -= speed; this._y -= speed; lock = true; } if (shootUpRight == true) { this._y -= speed; lock = true; } if (shootUpLeft == true) { this._y -= speed; lock = true; } if (climbRight == true) { this._x += speed; lock = true; } if (climbLeft == true) { this._x -= speed; lock = true; } if (!this.hitTest(_root.holder.world.player.bigMC) and lockAll == false) { _root.hit += 1; speed = 0; speed2 = 0; gotoAndStop(2); lockAll = true; } enemyi = 0; while (enemyi < _root.holder.world.enemiesNumberi) { if (this.hitBox.hitTest(_root.holder.world['enemy' + enemyi].enemy.hitBox)) { _root.holder.world['enemy' + enemyi].hit = true; _root.holder.world['enemy' + enemyi].directon = dinoRection; lastNumber = enemyi; gotoAndStop(3); } ++enemyi; } if (this.hitBox.hitTest(_root.holder.world.boss.boss.hitBox) and once == false) { _root.holder.world.boss.boss.hitsprites.gotoAndPlay(_root.currentSprite); _root.holder.world.boss.boss.mouth.gotoAndPlay(2); sound = new Sound(); sound.attachSound(bossHitSound); sound.start(0, 0); _root.panel.bosspanel.prevFrame(); speed = 0; speed2 = 0; gotoAndStop(3); once = true; } if (this.hitBox.hitTest(_root.holder.world.boss.boss.boxx)) { speed = 0; speed2 = 0; gotoAndStop(2); } if (this.hitBox.hitTest(_root.holder.world.boss.boss.boxx2)) { speed = 0; speed2 = 0; gotoAndStop(2); } } } } } movieClip 97 { } movieClip 98 fps { instance fps of movieClip 97 { onClipEvent (load) { checkRate = 10; checkCounter = checkRate; startTime = getTimer(); FPS = 0; _root.maxFPS = 0; _root.lowestFPS = 30; timer = 0; } onClipEvent (enterFrame) { ++timer; if (timer >= 40) { if (FPS >= _root.maxFPS) { _root.maxFPS = FPS; } if (FPS <= _root.lowestFPS) { _root.lowestFPS = FPS; } } } onClipEvent (enterFrame) { --checkCounter; if (checkCounter == 0) { FPS = Math.floor(checkRate / ((getTimer() - startTime) / 1000)); _parent.FPSDisplay = 'FPS: ' + Math.floor(checkRate / ((getTimer() - startTime) / 1000)) + '/30'; _parent.FPSDisplay2 = 'FPS: ' + Math.floor(checkRate / ((getTimer() - startTime) / 1000)) + '/30'; startTime = getTimer(); checkCounter = checkRate; } if (FPS >= 30) { _parent.FPSDisplay = 'FPS: 30/30'; _parent.FPSDisplay2 = 'FPS: 30/30'; } } } } movieClip 109 { frame 11 { stop(); } } movieClip 110 smoke { } movieClip 119 { } movieClip 136 { frame 17 { stop(); } } movieClip 137 { frame 18 { stop(); } } movieClip 138 { frame 1 { stop(); } instance coin of movieClip 119 { onClipEvent (load) { timer = 0; } onClipEvent (enterFrame) { ++timer; if (_parent.blinkAway == true) { if (timer >= 1) { this._visible = false; if (timer >= 2) { this._visible = true; timer = 0; } } } } } frame 89 { blinkAway = true; } frame 153 { stop(); } frame 154 { sound = new Sound(); sound.attachSound('CoinSound'); sound.start(0, 0); } } movieClip 139 CoinDrop { frame 1 { xFactorForFallingCoins = _root.xFactorForFallingCoins; yFactorForFallingCoins = _root.yFactorForFallingCoins; randomFactorForFallingCoins = _root.randomFactorForFallingCoins; _root.holder.world.BOX._x = xFactorForFallingCoins + random(randomFactorForFallingCoins); coin._x = _root.holder.world.BOX._x; _root.holder.world.BOX._y = yFactorForFallingCoins; coin._y = _root.holder.world.BOX._y; } instance coin of movieClip 138 { onClipEvent (load) { velF = 7; velY = -16; falling = false; stopALL = false; groundNumber = _parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } if (_root.coinsNumber >= 100) { if (_parent._parent.hitsLeft < 5) { _root.panel.heartpanel.nextFrame(); _parent._parent.hitsLeft += 1; } _root.panel.coins = ['00']; _root.coinsNumber = 0; } } } } } movieClip 148 { } movieClip 149 { frame 1 { stop(); } instance of movieClip 148 { onClipEvent (load) { _parent._parent.enemy._x = _parent._parent.thisX; walkingSpeed = 3; timer = 0; once = true; once2 = true; goGoTimer = false; _parent._parent.hit = false; } onClipEvent (enterFrame) { if (_parent._parent._parent.player._visible == true) { ++timer; _parent._parent.enemy._x -= walkingSpeed; if (_parent._parent.hit == true and once == true) { _parent.hitBox.gotoAndStop(2); gotoAndStop(10); if (_parent._parent.directon == 'right') { walkingSpeed = _parent._parent.directionRight; } if (_parent._parent.directon == 'left') { walkingSpeed = _parent._parent.directionLeft; } sound = new Sound(); sound.attachSound(_parent._parent._parent.TinysaurSound); sound.start(0, 0); timer = 0; goGoTimer = true; once = false; } if (this.hitTest(_root.holder.world.rr) and once2 == true and _parent._parent.dinoType == 'left') { timer = 0; goGoTimer = true; once2 = false; _parent.nextFrame(); } if (this.hitTest(_root.holder.world.ll) and once2 == true and _parent._parent.dinoType == 'right') { timer = 0; goGoTimer = true; once2 = false; _parent.nextFrame(); } if (timer >= 100 and goGoTimer == true) { _parent.nextFrame(); } } } } frame 2 { prevFrame(); } } movieClip 150 dino { } frame 1 { stop(); _root.setKeys = false; MC.gotoAndStop(2); dinMamma = false; _quality = 'high'; Stage.showMenu = false; fscommand('allowscale', 'false'); _root.onEnterFrame = function () { widthNumber = (_root.getBytesLoaded() / _root.getBytesTotal()) * 200; loader.bar.bar._width = 200 - widthNumber; if (_root.getBytesLoaded() >= _root.getBytesTotal() and dinMamma == false) { stopAllSounds(); MC.play(); dinMamma = true; } }; } frame 1 { s._visible = false; } movieClip 154 { } movieClip 161 { } movieClip 162 { frame 1 { stop(); } instance of movieClip 161 { onClipEvent (enterFrame) { if (_parent._parent._parent._parent.removeShots.hitTest(this)) { _parent.gotoAndStop(2); } if (_parent._parent._parent._parent.player.hitBox2.hitTest(box) and _parent._parent._parent._parent.immune == false) { _parent._parent._parent._parent.player.gotoAndStop('hit'); _parent._parent._parent._parent.player.weaponfire._visible = false; _parent._parent._parent._parent.player.weaponfirestandard._visible = false; _parent._parent._parent._parent.player.weaponfirefast._visible = false; _parent._parent._parent._parent.player.weaponfiremedium._visible = false; _parent._parent._parent._parent.player.weaponfireslow._visible = false; _parent._parent._parent._parent.player.MC._visible = false; _parent._parent._parent._parent.player.MC2._visible = false; _parent._parent._parent._parent.player.MCBlueFire._visible = false; _parent._parent._parent._parent.gotHit = true; _parent._parent._parent._parent.lockEverything = true; _parent._parent._parent._parent.velF = 7; _parent._parent._parent._parent.velY = -9; _parent._parent._parent._parent.beingHitCode = true; _parent._parent._parent._parent.jumping3 = true; _parent._parent._parent._parent.immune = true; if (_parent._parent._parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent._parent._parent.hitsLeft -= 1; } if (_parent._parent._parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent._parent._parent.player.gotoAndStop('die'); _parent._parent._parent._parent.completeStop = true; } } } } } movieClip 163 { frame 127 { stop(); } } movieClip 164 Boss3FireShotMC { frame 1 { stop(); } instance of movieClip 163 { onClipEvent (load) { this._x = _parent._parent.enemy1._x - 25; this._y = _parent._parent.enemy1._y + 50; } } } movieClip 168 { } movieClip 169 { } movieClip 170 { } movieClip 172 { } movieClip 174 { } movieClip 175 { } movieClip 176 { frame 25 { stop(); } } movieClip 177 { } movieClip 178 { frame 1 { stop(); } frame 2 { stop(); } frame 31 { stop(); _root.play(); } frame 55 { stop(); } frame 93 { stop(); _root.play(); } frame 122 { _parent.options.gotoAndStop(34); } frame 138 { stop(); _root.clickedOnce = false; } frame 155 { _parent.options.gotoAndPlay(2); } frame 184 { stop(); _root.clickedOnce = false; } } movieClip 1744 __Packages.mochi.as2.MochiSync { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiSync) { var v1 = function () { this._syncContainer = {}; }; mochi.as2.MochiSync = v1; var v2 = v1.prototype; v2.getProp = function (name) { return this._syncContainer[name]; }; v2.setProp = function (name, value) { if (this._syncContainer[name] == value) { return undefined; } this._syncContainer[name] = value; mochi.as2.MochiServices.send('sync_propUpdate', {'name': name, 'value': value}); }; v2.triggerEvent = function (eventType, args) { switch (eventType) { case mochi.as2.MochiSync.SYNC_REQUEST: mochi.as2.MochiServices.send('sync_syncronize', this._syncContainer); break; case mochi.as2.MochiSync.SYNC_PROPERTY: this._syncContainer[args.name] = args.value; } }; v1.SYNC_REQUEST = 'SyncRequest'; v1.SYNC_PROPERTY = 'UpdateProperty'; ASSetPropFlags(mochi.as2.MochiSync.prototype, null, 1); } #endinitclip } movieClip 1745 __Packages.mochi.as2.MochiServices { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiServices) { var v1 = function () {}; mochi.as2.MochiServices = v1; var v2 = v1.prototype; v1.__get__id = function () { return mochi.as2.MochiServices._id; }; v1.__get__clip = function () { return mochi.as2.MochiServices._container; }; v1.__get__childClip = function () { return mochi.as2.MochiServices._clip; }; v1.getVersion = function () { return '3.2 as2'; }; v1.allowDomains = function (server) { var v1 = ((server.split('/'))[2].split(':'))[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain('*'); System.security.allowDomain(v1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain('*'); System.security.allowInsecureDomain(v1); } } return v1; }; v1.__get__isNetworkAvailable = function () { if (System.security) { var v1 = System.security; if (v1.sandboxType == 'localWithFile') { return false; } } return true; }; v1.__set__comChannelName = function (val) { if (val != undefined) { if (val.length > 3) { mochi.as2.MochiServices._sendChannelName = val + '_fromgame'; mochi.as2.MochiServices.initComChannels(); } } return mochi.as2.MochiServices.__get__comChannelName(); }; v1.__get__connected = function () { return mochi.as2.MochiServices._connected; }; v1.connect = function (id, clip, onError) { mochi.as2.MochiServices.warnID(id, false); if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) { trace('MochiServices Connecting...'); mochi.as2.MochiServices._connecting = true; mochi.as2.MochiServices.init(id, clip); } if (onError != undefined) { mochi.as2.MochiServices.onError = onError; } else { if (mochi.as2.MochiServices.onError == undefined) { mochi.as2.MochiServices.onError = function (errorCode) { trace(errorCode); }; } } }; v1.disconnect = function () { if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected; mochi.as2.MochiServices.flush(true); if (mochi.as2.MochiServices._clip != undefined) { mochi.as2.MochiServices._clip.removeMovieClip(); delete mochi.as2.MochiServices._clip; } mochi.as2.MochiServices._listenChannel.close(); } }; v1.init = function (id, clip) { mochi.as2.MochiServices._id = id; if (clip != undefined) { mochi.as2.MochiServices._container = clip; } else { mochi.as2.MochiServices._container = _root; } mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container); }; v1.loadCommunicator = function (id, clip) { var v6 = '_mochiservices_com_' + id; var v5 = new MovieClipLoader(); var v3 = {}; if (mochi.as2.MochiServices._clip != null) { return mochi.as2.MochiServices._clip; } if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) { return null; } if ((mochi.as2.MochiServices.urlOptions()).servURL) { mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL; } var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services; if ((mochi.as2.MochiServices.urlOptions()).servicesURL) { v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL; } mochi.as2.MochiServices.allowDomains(v4); mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false); mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999); mochi.as2.MochiServices.listen(); if (v3.waitInterval != null) { clearInterval(v3.waitInterval); } v3.onLoadError = mochi.as2.MochiServices.loadError; v3.onLoadStart = function (target_mc) { this.isLoading = true; }; v3.startTime = getTimer(); v3.wait = function () { if (getTimer() - this.startTime > 10000) { if (!this.isLoading) { mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, ['IOError']); } clearInterval(this.waitInterval); } }; v3.waitInterval = setInterval(v3, 'wait', 1000); v5.addListener(v3); v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + /:$version, mochi.as2.MochiServices._clip); mochi.as2.MochiServices._sendChannel = new LocalConnection(); mochi.as2.MochiServices._sendChannel._queue = []; return mochi.as2.MochiServices._clip; }; v1.loadError = function (target_mc, errorCode, httpStatus) { trace('MochiServices could not load.'); mochi.as2.MochiServices.disconnect(); mochi.as2.MochiServices.onError.apply(null, [errorCode]); }; v1.onStatus = function (infoObject) { if (infoObject.level !== 'error') { } else { mochi.as2.MochiServices._connected = false; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); } }; v1.listen = function () { mochi.as2.MochiServices._listenChannel = new LocalConnection(); mochi.as2.MochiServices._listenChannel.handshake = function (args) { mochi.as2.MochiServices.__set__comChannelName(args.newChannel); }; mochi.as2.MochiServices._listenChannel.allowDomain = function (d) { return true; }; mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain; mochi.as2.MochiServices._listenChannel._nextcallbackID = 0; mochi.as2.MochiServices._listenChannel._callbacks = {}; mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName); trace('Waiting for MochiAds services to connect...'); }; v1.initComChannels = function () { if (!mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'}); mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'clip': mochi.as2.MochiServices._clip, 'version': mochi.as2.MochiServices.getVersion()}); mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) { mochi.as2.MochiServices.onStatus(infoObject); }; mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) { var v5 = pkg.callbackID; var v4 = this._callbacks[v5]; if (!v4) { return undefined; } var v2 = v4.callbackMethod; var v3 = v4.callbackObject; if (v3 && typeof v2 == 'string') { v2 = v3[v2]; } if (v2 != undefined) { v2.apply(v3, pkg.args); } delete this._callbacks[v5]; }; mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) { switch (pkg.target) { case 'events': mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args); break; case 'coins': mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args); break; case 'sync': mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args); } }; mochi.as2.MochiServices._listenChannel.onError = function () { mochi.as2.MochiServices.onError.apply(null, ['IOError']); }; trace('[SERVICES_API] connected!'); mochi.as2.MochiServices._connecting = false; mochi.as2.MochiServices._connected = true; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift()); } } }; v1.flush = function (error) { var v1; var v2; while (mochi.as2.MochiServices._sendChannel._queue.length > 0) { v1 = mochi.as2.MochiServices._sendChannel._queue.shift(); false; if (v1.callbackID != null) { v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; } delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID]; if (error) { mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod); } } }; v1.handleError = function (args, callbackObject, callbackMethod) { if (args != null) { if (args.onError != null) { args.onError.apply(null, ['NotConnected']); } if (args.options != null && args.options.onError != null) { args.options.onError.apply(null, ['NotConnected']); } } if (callbackMethod != null) { args = {}; args.error = true; args.errorCode = 'NotConnected'; if (callbackObject != null && typeof callbackMethod == 'string') { callbackObject[callbackMethod](args); } else { if (callbackMethod != null) { callbackMethod.apply(args); } } } }; v1.send = function (methodName, args, callbackObject, callbackMethod) { if (mochi.as2.MochiServices._connected) { mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } else { if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) { trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName); mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod); mochi.as2.MochiServices.flush(true); return undefined; } else { mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID}); } } mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod}; ++mochi.as2.MochiServices._listenChannel._nextcallbackID; }; v1.urlOptions = function () { var v5 = {}; if (_root.mochiad_options) { var v4 = _root.mochiad_options.split('&'); var v2 = 0; while (v2 < v4.length) { var v3 = v4[v2].split('='); v5[unescape(v3[0])] = unescape(v3[1]); ++v2; } } return v5; }; v1.warnID = function (bid, leaderboard) { bid = bid.toLowerCase(); if (bid.length != 16) { trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length'); return undefined; } else { if (bid == '1e113c7239048b3f') { if (leaderboard) { trace('WARNING: Using testing board ID'); } else { trace('WARNING: Using testing board ID as game ID'); } return undefined; } else { if (bid == '84993a1de4031cd8') { if (leaderboard) { trace('WARNING: Using testing game ID as board ID'); } else { trace('WARNING: Using testing game ID'); } return undefined; } } } var v1 = 0; while (v1 < bid.length) { switch (bid.charAt(v1)) { if (bid.charAt(v1) !== 'f') { } else { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case 'a': break; case 'b': case 'c': case 'd': case 'e': } default: trace('WARNING: Board ID contains illegal characters: ' + bid); return undefined; } ++v1; } }; v1.addLinkEvent = function (url, burl, btn, onClick) { var timeout = 1500; var t0 = getTimer(); var v2 = new Object(); v2.mav = mochi.as2.MochiServices.getVersion(); v2.swfv = btn.getSWFVersion() || 6; v2.swfurl = btn._url; v2.fv = System.capabilities.version; v2.os = System.capabilities.os; v2.lang = System.capabilities.language; v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY; var s = '?'; var v3 = 0; for (var v6 in v2) { if (v3 != 0) { s += '&'; } ++v3; s = s + v6 + '=' + escape(v2[v6]); } if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) { var ping = btn.createEmptyMovieClip('ping', 777); var v7 = btn.createEmptyMovieClip('nettest', 778); mochi.as2.MochiServices.netupAttempted = true; ping.loadMovie('http://x.mochiads.com/linkping.swf?t=' + getTimer()); v7.onEnterFrame = function () { if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) { delete this.onEnterFrame; } else { if (getTimer() - t0 > timeout) { delete this.onEnterFrame; mochi.as2.MochiServices.netup = false; } } }; } var v4 = btn.createEmptyMovieClip('clk', 1001); v4._alpha = 0; v4.beginFill(1044735); v4.moveTo(0, 0); v4.lineTo(0, btn._height); v4.lineTo(btn._width, btn._height); v4.lineTo(btn._width, 0); v4.lineTo(0, 0); v4.endFill(); v4.onRelease = function () { if (mochi.as2.MochiServices.netup) { getURL(url + s, '_blank'); } else { getURL(burl, '_blank'); } if (onClick != undefined) { onClick(); } }; }; v1.setContainer = function (clip) {}; v1.stayOnTop = function (clip) {}; v1._servURL = 'http://www.mochiads.com/static/lib/services/'; v1._services = 'services.swf'; v1._mochiLC = 'MochiLC.swf'; v1._listenChannelName = '__ms_'; v1._connecting = false; v1._connected = false; v1.netup = true; v1.netupAttempted = false; v1.servicesSync = new mochi.as2.MochiSync(); v1.addProperty('childClip', v1.__get__childClip, function () {}); v1.addProperty('clip', v1.__get__clip, function () {}); v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName); v1.addProperty('connected', v1.__get__connected, function () {}); v1.addProperty('id', v1.__get__id, function () {}); v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {}); ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1); } #endinitclip } movieClip 1746 __Packages.mochi.as2.MochiEventDispatcher { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEventDispatcher) { var v1 = function () { this.eventTable = {}; }; mochi.as2.MochiEventDispatcher = v1; var v2 = v1.prototype; v2.buildDelegate = function (thisObject, thatObject) { var v2 = {'thisObject': thisObject, 'thatObject': thatObject}; if (thatObject != undefined) { var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject; v2.delegate = function (args) { funct.call(thisObject, args); }; return v2; } v2.delegate = thisObject; return v2; }; v2.compareDelegate = function (d_A, d_B) { if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) { return false; } return true; }; v2.addEventListener = function (event, thisObject, thatObject) { this.removeEventListener(event, thisObject, thatObject); this.eventTable[event].push(this.buildDelegate(thisObject, thatObject)); }; v2.removeEventListener = function (event, thisObject, thatObject) { var v3 = this.buildDelegate(thisObject, thatObject); if (this.eventTable[event] == undefined) { this.eventTable[event] = []; return undefined; } for (var v4 in this.eventTable[event]) { if (!this.compareDelegate(this.eventTable[event][v4], v3)) { continue; } this.eventTable[event].splice(Number(v4), 1); } }; v2.triggerEvent = function (event, args) { if (this.eventTable[event] == undefined) { return undefined; } for (var v4 in this.eventTable[event]) { this.eventTable[event][v4].delegate(args); } }; ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 1747 __Packages.mochi.as2.MochiEvents { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiEvents) { var v1 = function () {}; mochi.as2.MochiEvents = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.startSession = function (achievementID) { mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null); }; v1.trigger = function (kind, obj) { if (obj == undefined) { obj = {}; } else { if (obj.kind != undefined) { trace('WARNING: optional arguements package contains key \'id\', it will be overwritten'); obj.kind = kind; } } mochi.as2.MochiServices.send('events_triggerEvent', {'eventObject': obj}, null, null); }; v1.setNotifications = function (clip, style) { var v2 = {}; for (var v3 in style) { v2[v3] = style[v3]; } v2.clip = clip; mochi.as2.MochiServices.send('events_setNotifications', v2, null, null); }; v1.addEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, thisObject, thatObject) { mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject); }; v1.startGame = function () { mochi.as2.MochiEvents.gameStart = (new Date()).getTime(); mochi.as2.MochiEvents.trigger('start_game'); }; v1.endGame = function () { var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.gameStart; mochi.as2.MochiEvents.trigger('end_game', {'time': v1}); }; v1.startLevel = function () { mochi.as2.MochiEvents.levelStart = (new Date()).getTime(); mochi.as2.MochiEvents.trigger('start_level'); }; v1.endLevel = function () { var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.levelStart; mochi.as2.MochiEvents.trigger('end_level', {'time': v1}); }; v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived'; v1.ALIGN_TOP_LEFT = 'ALIGN_TL'; v1.ALIGN_TOP = 'ALIGN_T'; v1.ALIGN_TOP_RIGHT = 'ALIGN_TR'; v1.ALIGN_LEFT = 'ALIGN_L'; v1.ALIGN_CENTER = 'ALIGN_C'; v1.ALIGN_RIGHT = 'ALIGN_R'; v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL'; v1.ALIGN_BOTTOM = 'ALIGN_B'; v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR'; v1.FORMAT_SHORT = 'ShortForm'; v1.FORMAT_LONG = 'LongForm'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1); } #endinitclip } movieClip 1748 __Packages.mochi.as2.MochiCoins { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiCoins) { var v1 = function () {}; mochi.as2.MochiCoins = v1; var v2 = v1.prototype; v1.getVersion = function () { return mochi.as2.MochiServices.getVersion(); }; v1.showStore = function (options) { mochi.as2.MochiServices.send('coins_showStore', {'options': options}, null, null); }; v1.showItem = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showItem call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showItem', {'options': options}, null, null); }; v1.showVideo = function (options) { if (options == undefined || typeof options.item != 'string') { trace('ERROR: showVideo call must pass an Object with an item key'); return undefined; } mochi.as2.MochiServices.send('coins_showVideo', {'options': options}, null, null); }; v1.showLoginWidget = function (options) { mochi.as2.MochiServices.setContainer(); mochi.as2.MochiServices.stayOnTop(); mochi.as2.MochiServices.send('coins_showLoginWidget', {'options': options}); }; v1.hideLoginWidget = function () { mochi.as2.MochiServices.send('coins_hideLoginWidget'); }; v1.getStoreItems = function () { mochi.as2.MochiServices.send('coins_getStoreItems'); }; v1.getUserInfo = function () { mochi.as2.MochiServices.send('coins_getUserInfo'); }; v1.saveUserProperties = function (properties) { mochi.as2.MochiServices.send('coins_saveUserProperties', properties); }; v1.addEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.addEventListener(eventType, delegate); }; v1.triggerEvent = function (eventType, args) { mochi.as2.MochiCoins._dispatcher.triggerEvent(eventType, args); }; v1.removeEventListener = function (eventType, delegate) { mochi.as2.MochiCoins._dispatcher.removeEventListener(eventType, delegate); }; v1.LOGGED_IN = 'LoggedIn'; v1.LOGGED_OUT = 'LoggedOut'; v1.LOGIN_SHOW = 'LoginShow'; v1.LOGIN_HIDE = 'LoginHide'; v1.STORE_SHOW = 'StoreShow'; v1.STORE_HIDE = 'StoreHide'; v1.PROFILE_SHOW = 'ProfileShow'; v1.PROFILE_HIDE = 'ProfileHide'; v1.PROPERTIES_SAVED = 'PropertySaved'; v1.WIDGET_LOADED = 'WidgetLoaded'; v1.ITEM_OWNED = 'ItemOwned'; v1.ITEM_NEW = 'ItemNew'; v1.STORE_ITEMS = 'StoreItems'; v1.USER_INFO = 'UserInfo'; v1.ERROR = 'Error'; v1.IO_ERROR = 'IOError'; v1.NO_USER = 'NoUser'; v1.PROPERTIES_SIZE = 'PropertiesSize'; v1._dispatcher = new mochi.as2.MochiEventDispatcher(); ASSetPropFlags(mochi.as2.MochiCoins.prototype, null, 1); } #endinitclip } movieClip 1749 __Packages.mochi.as2.MochiScores { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiScores) { var v1 = function () {}; mochi.as2.MochiScores = v1; var v2 = v1.prototype; v1.setBoardID = function (boardID) { mochi.as2.MochiServices.warnID(boardID, true); mochi.as2.MochiScores.boardID = boardID; mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID}); }; v1.showLeaderboard = function (options) { options.clip = mochi.as2.MochiServices.clip; if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) { mochi.as2.MochiServices.disconnect(); trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!'); trace('make sure MochiServices.connect is called as early in the application runtime as possible.'); mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip); } delete options.clip; if (options.name != null) { if (typeof options.name == 'object') { if (options.name.text != undefined) { options.name = options.name.text; } } } if (options.score != null) { if (options.score instanceof TextField) { if (options.score.text != undefined) { options.score = options.score.text; } } else { if (options.score instanceof mochi.as2.MochiDigits) { options.score = options.score.value; } } var v1 = Number(options.score); if (isNaN(v1)) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\''); } else { if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite'); } else { if (Math.floor(v1) != v1) { trace('WARNING: Submitted score \'' + options.score + '\' will be truncated'); } options.score = v1; } } } if (options.onDisplay != null) { options.onDisplay(); } else { (mochi.as2.MochiServices.__get__clip()).stop(); } if (options.onClose != null) { mochi.as2.MochiScores.onClose = options.onClose; } else { mochi.as2.MochiScores.onClose = function () { (mochi.as2.MochiServices.__get__clip()).play(); }; } if (options.onError != null) { mochi.as2.MochiScores.onError = options.onError; } else { mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose; } if (options.boardID == null) { if (mochi.as2.MochiScores.boardID != null) { options.boardID = mochi.as2.MochiScores.boardID; } } mochi.as2.MochiServices.warnID(options.boardID, true); trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal'); mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose); }; v1.closeLeaderboard = function () { mochi.as2.MochiServices.send('scores_closeLeaderboard'); }; v1.getPlayerInfo = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod); }; v1.submit = function (score, name, callbackObj, callbackMethod) { score = Number(score); if (isNaN(score)) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\''); } else { if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) { trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite'); } else { if (Math.floor(score) != score) { trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated'); } score = Number(score); } } mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod); }; v1.requestList = function (callbackObj, callbackMethod) { mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod); }; v1.scoresArrayToObjects = function (scores) { var v5 = {}; var v1; var v4; var v2; var v6; for (var v8 in scores) { if (typeof scores[v8] == 'object') { if (scores[v8].cols != null && scores[v8].rows != null) { v5[v8] = []; v2 = scores[v8]; v4 = 0; while (v4 < v2.rows.length) { v6 = {}; v1 = 0; while (v1 < v2.cols.length) { v6[v2.cols[v1]] = v2.rows[v4][v1]; ++v1; } v5[v8].push(v6); ++v4; } } else { v5[v8] = {}; for (var v7 in scores[v8]) { v5[v8][v7] = scores[v8][v7]; } } } else { v5[v8] = scores[v8]; } } return v5; }; v1.doClose = function (args) { if (args.error == true) { if (args.errorCode == undefined) { args.errorCode = 'IOError'; } mochi.as2.MochiScores.onError.apply(null, [args.errorCode]); } else { mochi.as2.MochiScores.onClose.apply(); } }; ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1); } #endinitclip } movieClip 1750 __Packages.mochi.as2.MochiDigits { #initclip if (!_global.mochi) { _global.mochi = new Object(); } if (!_global.mochi.as2) { _global.mochi.as2 = new Object(); } if (!_global.mochi.as2.MochiDigits) { var v1 = function (digit, index) { this.Encoder = 0; this.setValue(digit, index); }; mochi.as2.MochiDigits = v1; var v2 = v1.prototype; v2.__get__value = function () { return Number(this.toString()); }; v2.__set__value = function (v) { this.setValue(v); return this.__get__value(); }; v2.addValue = function (v) { this.value += v; }; v2.setValue = function (digit, index) { var v3 = digit.toString(); if (index == undefined || isNaN(index)) { index = 0; } this.Fragment = v3.charCodeAt(index++) ^ this.Encoder; if (index < v3.length) { this.Sibling = new mochi.as2.MochiDigits(digit, index); } else { this.Sibling = null; } this.reencode(); }; v2.reencode = function () { var v2 = int(2147483647 * Math.random()); this.Fragment ^= v2 ^ this.Encoder; this.Encoder = v2; }; v2.toString = function () { var v2 = String.fromCharCode(this.Fragment ^ this.Encoder); return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2; }; v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1); } #endinitclip } frame 2 { } movieClip 184 { frame 1 { stop(); } frame 2 { play(); } frame 30 { if (_root.mybox_txt == 'hello') { _root.play(); } } } movieClip 186 { } frame 3 { stop(); optionsEntered = false; _root.clickedOnce = true; _root.usedPassword = false; MC.gotoAndPlay(32); this.onEnterFrame = function () { if (Key.isDown(32) and _root.clickedOnce == false and optionsEntered == false) { titletune.soundFadeAway = true; MC.gotoAndPlay('one'); _root.clickedOnce = true; } if (Key.isDown(32) and _root.clickedOnce == false and optionsEntered == true) { MC.gotoAndPlay('three'); _root.clickedOnce = true; optionsEntered = false; } if (Key.isDown(80) and _root.clickedOnce == false and optionsEntered == false) { _root.clickedOnce = true; optionsEntered = true; MC.gotoAndPlay('two'); } }; } frame 3 { _root.timeToTele = false; _root.LVLONE = true; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; if (_root.setKeys == false) { _root.upKey = 38; _root.downKey = 40; _root.leftKey = 37; _root.rightKey = 39; _root.fireKey = 32; _root.infoKey = 73; _root.suicideKey = 75; } } frame 3 { } movieClip 198 { } movieClip 199 { } movieClip 205 { } movieClip 207 { } movieClip 210 { } movieClip 236 { frame 1 { stop(); } instance of movieClip 210 { onClipEvent (enterFrame) { if (Key.isDown(83) and _root.clickedOnce == false) { _root.setKeys = true; _root.clickedOnce = true; _parent.nextFrame(); } } } instance of movieClip 210 { onClipEvent (keyDown) { _root.upKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.downKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.leftKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.rightKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.fireKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.infoKey = Key.getCode(); _parent.nextFrame(); } } instance of movieClip 210 { onClipEvent (keyDown) { _root.suicideKey = Key.getCode(); _parent.play(); } } frame 51 { _root.clickedOnce = false; } } movieClip 247 { } movieClip 256 { } movieClip 265 { } movieClip 266 { } movieClip 267 { frame 1 { stop(); frame = 1; marbleCol = 'red'; } frame 6 { stop(); frame = 6; halt = true; marbleCol = 'green'; } frame 11 { stop(); frame = 11; halt = true; marbleCol = 'blue'; } frame 16 { stop(); frame = 16; halt = true; marbleCol = 'red'; } frame 21 { stop(); frame = 21; halt = true; marbleCol = 'blue'; } frame 26 { stop(); frame = 26; halt = true; marbleCol = 'green'; } frame 31 { stop(); frame = 31; halt = true; marbleCol = 'red'; } } movieClip 270 { } movieClip 275 { } movieClip 278 { } movieClip 280 { } movieClip 283 { } movieClip 286 { } movieClip 289 { } movieClip 292 { } movieClip 295 { } movieClip 296 { frame 1 { stop(); } frame 13 { _parent.one._visible = false; _parent.two._visible = false; _parent.three._visible = false; _parent.four._visible = false; _parent.five._visible = false; _parent.a._visible = false; _parent.b._visible = false; _parent.c._visible = false; _parent.d._visible = false; _parent.e._visible = false; } frame 78 { _root.pauseAll = false; _root.passFail = false; _parent.one._visible = true; _parent.two._visible = true; _parent.three._visible = true; _parent.four._visible = true; _parent.five._visible = true; _parent.a._visible = true; _parent.b._visible = true; _parent.c._visible = true; _parent.d._visible = true; _parent.e._visible = true; stop(); } } movieClip 297 { } movieClip 298 { } movieClip 299 { } movieClip 300 { } movieClip 301 { frame 1 { stop(); } instance one of movieClip 267 { onClipEvent (load) { stop(); halt = true; } onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.pauseOne == false) { if (Key.isDown(40)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(2); } } if (Key.isDown(38)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(17); } } } } } } instance two of movieClip 267 { onClipEvent (load) { stop(); halt = true; } onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.pauseTwo == false) { if (Key.isDown(40)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(2); } } if (Key.isDown(38)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(17); } } } } } } instance three of movieClip 267 { onClipEvent (load) { stop(); halt = true; } onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.pauseThree == false) { if (Key.isDown(40)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(2); } } if (Key.isDown(38)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(17); } } } } } } instance four of movieClip 267 { onClipEvent (load) { stop(); halt = true; } onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.pauseFour == false) { if (Key.isDown(40)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(2); } } if (Key.isDown(38)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(17); } } } } } } instance five of movieClip 267 { onClipEvent (load) { stop(); halt = true; } onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.pauseFive == false) { if (Key.isDown(40)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(2); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(12); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(7); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(2); } } if (Key.isDown(38)) { if (frame == 1 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 6 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 11 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 16 and halt == true) { halt = false; gotoAndPlay(17); } if (frame == 21 and halt == true) { halt = false; gotoAndPlay(22); } if (frame == 26 and halt == true) { halt = false; gotoAndPlay(27); } if (frame == 31 and halt == true) { halt = false; gotoAndPlay(17); } } } } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.passTimer >= _root.passTimerSpeed) { if (Key.isDown(39)) { _root.pauseOne = true; _root.pauseTwo = false; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(2); } if (Key.isDown(37)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = false; _root.passTimer = 0; _parent.gotoAndStop(5); } } } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.passTimer >= _root.passTimerSpeed) { if (Key.isDown(39)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = false; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(3); } if (Key.isDown(37)) { _root.pauseOne = false; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(1); } } } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.passTimer >= _root.passTimerSpeed) { if (Key.isDown(39)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = false; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(4); } if (Key.isDown(37)) { _root.pauseOne = true; _root.pauseTwo = false; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(2); } } } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.passTimer >= _root.passTimerSpeed) { if (Key.isDown(39)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = false; _root.passTimer = 0; _parent.gotoAndStop(5); } if (Key.isDown(37)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = false; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(3); } } } } } instance of movieClip 278 { onClipEvent (enterFrame) { if (_root.pauseAll == false) { if (_root.passTimer >= _root.passTimerSpeed) { if (Key.isDown(39)) { _root.pauseOne = false; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(1); } if (Key.isDown(37)) { _root.pauseOne = true; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = false; _root.pauseFive = true; _root.passTimer = 0; _parent.gotoAndStop(4); } } } } } } movieClip 302 { frame 2 { var stars = 100; var maxSpeed = 5; var minSpeed = 1; var typeNum = 4; var maxSize = 12; var minSize = 1; var i = 0; while (i < stars) { var mc = holder.attachMovie('star' + random(typeNum), 'star' + i, i); mc._x = random(Stage.width); mc._y = random(Stage.height); mc.speed = random(maxSpeed - minSpeed) + minSpeed; var size = random(minSize) + random(maxSize); mc._width = size; mc._height = size; ++i; } this.onEnterFrame = function () { var v2 = 0; while (v2 < stars) { var v1 = holder['star' + v2]; if (v1._y < 500) { v1._y += v1.speed; } else { v1._y = 40; v1.speed = random(maxSpeed - minSpeed) + minSpeed; v1._x = random(Stage.width); } ++v2; } }; } instance of movieClip 198 { onClipEvent (enterFrame) { this._rotation += 2; } } frame 33 { stop(); _root.clickedOnce = false; } frame 34 { stop(); } instance ff of movieClip 301 { onClipEvent (load) { _root.pauseOne = false; _root.pauseTwo = true; _root.pauseThree = true; _root.pauseFour = true; _root.pauseFive = true; _root.passTimerSpeed = 5; levelTwoPass = 'greenredgreengreenblue'; levelThreePass = 'blueredgreenredred'; levelFourPass = 'blueblueblueredgreen'; levelFivePass = 'redblueredgreengreen'; levelSixPass = 'blueblueredgreenblue'; pressedDaKey = false; _root.passFail = false; passFailTimer = 0; _root.pauseAll = false; } onClipEvent (enterFrame) { ++_root.passTimer; if (Key.isDown(13) and pressedDaKey == false and _root.passFail == false) { if (one.marbleCol + two.marbleCol + three.marbleCol + four.marbleCol + five.marbleCol == levelTwoPass) { trace('lvl 2'); _root.usedPassword = true; _root.MC.gotoAndPlay(56); _root.timeToTele = false; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = true; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; pressedDaKey = true; } } if (Key.isDown(13) and pressedDaKey == false and _root.passFail == false) { if (one.marbleCol + two.marbleCol + three.marbleCol + four.marbleCol + five.marbleCol == levelThreePass) { trace('lvl 3'); _root.usedPassword = true; _root.MC.gotoAndPlay(56); _root.timeToTele = false; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = true; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; pressedDaKey = true; } } if (Key.isDown(13) and pressedDaKey == false and _root.passFail == false) { if (one.marbleCol + two.marbleCol + three.marbleCol + four.marbleCol + five.marbleCol == levelFourPass) { trace('lvl 4'); _root.usedPassword = true; _root.MC.gotoAndPlay(56); _root.timeToTele = false; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = true; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; pressedDaKey = true; } } if (Key.isDown(13) and pressedDaKey == false and _root.passFail == false) { if (one.marbleCol + two.marbleCol + three.marbleCol + four.marbleCol + five.marbleCol == levelFivePass) { trace('lvl 5'); _root.usedPassword = true; _root.MC.gotoAndPlay(56); _root.timeToTele = false; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = true; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; pressedDaKey = true; } } if (Key.isDown(13) and pressedDaKey == false and _root.passFail == false) { if (one.marbleCol + two.marbleCol + three.marbleCol + four.marbleCol + five.marbleCol == levelSixPass) { trace('lvl 6'); _root.usedPassword = true; _root.MC.gotoAndPlay(56); _root.timeToTele = false; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = true; _root.LVLTWELVE = false; pressedDaKey = true; } else { errorindication.gotoAndPlay(2); sound = new Sound(); sound.attachSound('ErrorSound'); sound.start(0, 0); _root.pauseAll = true; passFailTimer = 0; _root.passFail = true; } } if (passFail == true) { ++passFailTimer; if (passFailTimer >= 50) { trace('gogo'); } } } } } instance titletune of movieClip 43 { onClipEvent (load) { _root.startTitleTune = true; soundTimer = 0; soundVolume = 0; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; _parent.titletune._visible = false; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startTitleTune == true and once == true) { trace('y'); sound = new Sound(this); sound.attachSound('TitleTune2'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 5; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } movieClip 305 { } button 306 { on (release) { getURL('http://recordedamigagames.ath.cx/ruff/', '_blank'); getURL('http://www.recordedamigagames.org', '_blank'); } } movieClip 307 { } movieClip 310 { } button 311 { on (release) { getURL('http://recordedamigagames.ath.cx/ruff/', '_blank'); getURL('http://www.recordedamigagames.org', '_blank'); } } frame 4 { gotoAndStop(51); } frame 51 { } frame 51 { stop(); shown = false; timer = 0; _quality = 'HIGH'; stopAllSounds(); sound = new Sound(); sound.attachSound('GameTunex'); sound.start(0, 99); sound.setVolume(60); dest22._visible = false; panel._visible = false; scrollingOK = true; scrolling2OK = true; this.onEnterFrame = function () { worldx = holder.world._x; worldy = holder.world._y; holderx = holder._x; holdery = holder._y; playerx = holder.world.player._x; playery = holder.world.player._y; if (scrollingOK == true) { if (!holder.world.player.hitBox2.hitTest(holder.world.scrollLimitRight)) { if (!holder.world.player.hitBox2.hitTest(holder.world.scrollLimitLeft)) { holder.world._x = -holder.world.player._x + 400; } } if (scrolling2OK == true) { holder.world._y = -holder.world.player._y + 215; } } ++timer; if (Key.isDown(_root.infoKey) and timer >= 10 and shown == false) { ruffen.gotoAndStop(2); holder._width = 5447; holder._height = 4349; holder._x = 200; holder._y = 107.5; timer = 0; shown = true; } if (Key.isDown(_root.infoKey) and timer >= 10 and shown == true) { ruffen.gotoAndStop(1); holder._width = 10894; holder._height = 8698; holder._x = -11; holder._y = -3.5; timer = 0; shown = false; } }; } movieClip 370 { frame 1 { stop(); } } movieClip 375 { frame 1 { stop(); } } movieClip 401 { } movieClip 403 { } movieClip 407 { } movieClip 411 { } movieClip 415 { } movieClip 419 { } movieClip 423 { } movieClip 427 { } movieClip 431 { } movieClip 435 { } movieClip 439 { } movieClip 443 { } movieClip 447 { } movieClip 451 { } movieClip 452 { } movieClip 469 { frame 9 { stop(); _parent.LVL1DOOR = 'open'; } frame 10 { _parent._parent.completeStop = true; _parent._parent.player.gotoAndStop('teleport'); } frame 10 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 25 { stop(); _parent._parent.doorstagetune.volumeChange = 5; _parent._parent.doorstagetune.soundFadeAway = true; _root.timeToTele = true; } } movieClip 470 { frame 9 { _parent.gotoAndStop('activated'); } } movieClip 471 { frame 27 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 32 { _parent._parent.player._visible = true; _parent._parent.completeStop = false; } frame 45 { stop(); } } movieClip 473 { } movieClip 476 { frame 1 { stop(); } frame 1 { frame1.gotoAndStop(thisNumber); } frame 2 { frame2.gotoAndStop(thisNumber); gotoAndStop(3); } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(this)) { _parent.gotoAndStop(3); } } } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { if (_parent._parent.player.ladderDownBox.hitTest(_parent.doorBox) and _parent.LVL1DOOR == 'open') { _parent.door.gotoAndPlay('teleport'); _parent.LVL1DOOR = 'close'; } } } } movieClip 481 { frame 18 { stop(); } } movieClip 482 { frame 1 { stop(); } } movieClip 485 { frame 1 { stop(); } } movieClip 488 { frame 1 { stop(); } } movieClip 497 { } movieClip 498 { frame 1 { stop(); } } movieClip 503 { } movieClip 506 { } movieClip 507 { } movieClip 512 { } movieClip 513 { } movieClip 528 { } movieClip 537 { } movieClip 546 { frame 5 { stop(); } } movieClip 547 { frame 1 { stop(); } } movieClip 564 { frame 1 { stop(); } } movieClip 565 { frame 1 { stop(); ranNumber = random(8) + 1; items.gotoAndStop(ranNumber); } } movieClip 574 { } movieClip 577 { } movieClip 580 { } movieClip 582 { frame 1 { stop(); } } movieClip 599 { } movieClip 600 { } movieClip 601 { } movieClip 602 { } movieClip 613 { frame 12 { stop(); } } movieClip 618 { frame 7 { stop(); } } movieClip 623 { frame 3 { stop(); } } movieClip 624 { } movieClip 627 { } movieClip 630 { } movieClip 635 { } movieClip 640 { } movieClip 645 { } movieClip 648 { } movieClip 653 { frame 8 { stop(); } } movieClip 666 { } movieClip 667 { } movieClip 670 { } movieClip 673 { } movieClip 677 { } movieClip 686 { frame 13 { stop(); _parent._parent.player.gotoAndStop('falling'); } } movieClip 691 { frame 4 { stop(); } } movieClip 692 { } movieClip 693 { } movieClip 694 { } movieClip 695 { } movieClip 696 { } movieClip 697 { } movieClip 698 { } movieClip 699 { } movieClip 700 { } movieClip 701 { } movieClip 702 { } movieClip 703 { } movieClip 704 { } movieClip 705 { } movieClip 706 { } movieClip 707 { } movieClip 708 { } movieClip 709 { } movieClip 712 { } movieClip 713 { frame 43 { stop(); _root.gameOver = true; } } movieClip 714 { frame 1 { MC._visible = false; } frame 1 { stop(); _root.duckFuck = false; } frame 2 { weaponfirestandard._visible = false; weaponfirefast._visible = false; weaponfiremedium._visible = false; weaponfireslow._visible = false; } frame 2 { _root.duckFuck = false; } frame 3 { weaponfirestandard._visible = false; weaponfirefast._visible = false; weaponfiremedium._visible = false; weaponfireslow._visible = false; } frame 3 { _root.duckFuck = false; } frame 4 { weaponfirestandard._visible = false; weaponfirefast._visible = false; weaponfiremedium._visible = false; weaponfireslow._visible = false; } frame 4 { _root.duckFuck = false; } frame 5 { weaponfirestandard._visible = false; weaponfirefast._visible = false; weaponfiremedium._visible = false; weaponfireslow._visible = false; } frame 5 { _root.duckFuck = false; } frame 6 { _root.duckFuck = true; } frame 7 { _root.duckFuck = true; } frame 8 { _root.duckFuck = false; } frame 9 { _root.duckFuck = true; } frame 10 { _root.duckFuck = false; } frame 11 { _root.duckFuck = false; } frame 12 { _root.duckFuck = false; } frame 13 { _root.playSound = false; _root.duckFuck = false; } frame 14 { _root.playSound = false; _root.duckFuck = false; } frame 15 { _root.duckFuck = false; } frame 16 { _root.duckFuck = false; } frame 17 { _root.duckFuck = false; } frame 18 { _root.duckFuck = false; } frame 19 { _root.duckFuck = false; } frame 20 { _root.duckFuck = false; if (_root.comboKills >= 2) { sound = new Sound(); sound.attachSound('ComboBreaker'); sound.start(0, 0); _root.comboTimer = 40; } } frame 21 { _root.duckFuck = false; } frame 22 { _root.duckFuck = false; } frame 23 { _root.duckFuck = false; } frame 24 { _root.duckFuck = false; } frame 25 { _root.duckFuck = false; } frame 26 { _root.duckFuck = false; } frame 27 { _root.duckFuck = false; } frame 28 { _root.duckFuck = false; } frame 29 { _root.duckFuck = false; } frame 30 { _root.duckFuck = false; } frame 31 { _root.duckFuck = false; } frame 32 { _root.duckFuck = false; } frame 33 { _root.duckFuck = false; } frame 34 { _root.duckFuck = false; } frame 35 { _root.duckFuck = false; } frame 36 { _root.duckFuck = false; } frame 37 { _root.duckFuck = false; } frame 38 { _root.duckFuck = false; } frame 39 { _root.duckFuck = false; } frame 40 { _root.duckFuck = false; } frame 41 { stop(); _root.duckFuck = false; if (_root.comboKills >= 2) { sound = new Sound(); sound.attachSound('ComboBreaker'); sound.start(0, 0); _root.comboTimer = 40; } } } movieClip 721 { frame 1 { stop(); } } movieClip 726 { frame 1 { stop(); } } movieClip 727 { frame 8 { gotoAndPlay(1); } frame 9 { stop(); } } movieClip 728 { frame 8 { gotoAndPlay(1); } frame 9 { stop(); } } movieClip 729 { frame 8 { gotoAndPlay(1); } frame 9 { stop(); } } movieClip 734 { frame 1 { stop(); } frame 19 { gotoAndPlay(2); } } movieClip 735 { frame 9 { stop(); } frame 10 { _parent._parent.completeStop = true; _parent._parent.player.gotoAndStop('teleport'); } frame 10 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 25 { stop(); _root.holder.gameover.gotoAndStop(3); } } movieClip 736 { frame 9 { _parent.gotoAndStop('activated'); } } movieClip 737 { frame 1 { stop(); } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { red = _root.redNumber; green = _root.greenNumber; blue = _root.blueNumber; if (red + green + blue == 0) { _parent.exitsign.play(); sound = new Sound(); sound.attachSound('ExitOpen'); sound.start(0, 0); _parent.gotoAndStop(2); } } } frame 2 { } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { if (_parent._parent.player.ladderDownBox.hitTest(_parent.doorBox)) { _parent.door.gotoAndPlay('teleport'); } } } } movieClip 752 { frame 1 { stop(); } } movieClip 753 { frame 1 { stop(); ranNumber = random(7) + 1; items.gotoAndStop(ranNumber); } } movieClip 754 { frame 1 { stop(); } } movieClip 755 { } movieClip 762 { } movieClip 763 { frame 2 { stop(); } } movieClip 764 { frame 2 { stop(); } } movieClip 774 { frame 11 { _parent._parent.turn = true; _parent._parent.turning = false; } } movieClip 775 { frame 18 { stop(); _parent._parent._parent.gotoAndStop(2); } } movieClip 776 { frame 1 { stop(); } instance coin of movieClip 119 { onClipEvent (load) { timer = 0; } onClipEvent (enterFrame) { ++timer; if (_parent.blinkAway == true) { if (timer >= 1) { this._visible = false; if (timer >= 2) { this._visible = true; timer = 0; } } } } } frame 89 { blinkAway = true; } frame 153 { stop(); } frame 154 { sound = new Sound(); sound.attachSound('CoinSound'); sound.start(0, 0); } } movieClip 795 { frame 20 { stop(); } } movieClip 796 { frame 1 { stop(); } instance of movieClip 776 { onClipEvent (load) { velF = 7; velY = -10; falling = false; stopALL = false; groundNumber = _parent._parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } } } } } movieClip 797 { frame 1 { stop(); health = 300; hit = false; initiateFlashing = false; goLeft = false; goRight = true; turn = false; stopALL = false; turning = false; timerX = 0; ranNum = random(numX); this.onEnterFrame = function () { ++timerX; if (timerX >= ranNum) { if (stopALL == false) { if (turn == true) { if (goRight == true) { goLeft = true; turn = false; } if (goLeft == true) { goRight = true; turn = false; } } if (enemy._x <= maxRight and goRight == true) { dir = 'right'; goLeft = false; enemy.gotoAndStop('move'); enemy._xscale = 100; enemy._x += 4; if (enemy._x >= maxRight and goRight == true) { turning = true; enemy.gotoAndStop('turn'); } } if (enemy._x >= maxLeft and goLeft == true) { dir = 'left'; goRight = false; enemy.gotoAndStop('move'); enemy._xscale = -100; enemy._x -= 4; if (enemy._x <= maxLeft and goLeft == true) { turning = true; enemy.gotoAndStop('turn'); } } if (hit == true) { if (health >= 1) { s = random(4) + 1; if (s == 1) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); } if (s == 2) { sound = new Sound(); sound.attachSound('Metal_sound2'); sound.start(0, 0); } if (s == 3) { sound = new Sound(); sound.attachSound('Metal_sound3'); sound.start(0, 0); } if (s == 4) { sound = new Sound(); sound.attachSound('Metal_sound4'); sound.start(0, 0); } initiateFlashing = true; timer = 0; health -= _root.holder.world.weaponDamage; if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; enemy.gotoAndStop('move'); } if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('move'); } hit = false; } if (health <= 1) { enemy.gotoAndStop('explode'); _root.panel.score += 150; _root.comboKills += 1; _root.comboTimer = 0; _root.ComboStuff.comboNumbers.gotoAndPlay(1); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var v3 = new Color(enemy); var v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); delete this.onEnterFrame; } } ++timer; if (initiateFlashing == true) { if (timer == 2) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; v3.setTransform(v4); } if (timer == 4) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); timer = 0; initiateFlashing = false; } } } } }; } } movieClip 806 { } movieClip 807 { frame 2 { stop(); } } movieClip 808 { frame 2 { stop(); } } movieClip 825 { frame 17 { _parent._parent.turn = true; _parent._parent.turning = false; } } movieClip 826 { frame 1 { stop(); } instance of movieClip 776 { onClipEvent (load) { velF = 7; velY = -10; falling = false; stopALL = false; groundNumber = _parent._parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } } } } } movieClip 827 { frame 1 { stop(); health = 600; hit = false; initiateFlashing = false; goLeft = false; goRight = true; turn = false; stopALL = false; timerX = 0; ranNum = random(numX); this.onEnterFrame = function () { ++timerX; if (timerX >= ranNum) { if (stopALL == false) { if (turn == true) { if (goRight == true) { goLeft = true; turn = false; } if (goLeft == true) { goRight = true; turn = false; } } if (enemy._x <= maxRight and goRight == true) { dir = 'right'; goLeft = false; enemy.gotoAndStop('move'); enemy._xscale = 100; enemy._x += 6; if (enemy._x >= maxRight and goRight == true) { turning = true; enemy.gotoAndStop('turn'); } } if (enemy._x >= maxLeft and goLeft == true) { dir = 'left'; goRight = false; enemy.gotoAndStop('move'); enemy._xscale = -100; enemy._x -= 6; if (enemy._x <= maxLeft and goLeft == true) { turning = true; enemy.gotoAndStop('turn'); } } if (hit == true) { if (health >= 1) { s = random(4) + 1; if (s == 1) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); } if (s == 2) { sound = new Sound(); sound.attachSound('Metal_sound2'); sound.start(0, 0); } if (s == 3) { sound = new Sound(); sound.attachSound('Metal_sound3'); sound.start(0, 0); } if (s == 4) { sound = new Sound(); sound.attachSound('Metal_sound4'); sound.start(0, 0); } initiateFlashing = true; timer = 0; health -= _root.holder.world.weaponDamage; if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; enemy.gotoAndStop('move'); } if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('move'); } hit = false; } if (health <= 1) { enemy.gotoAndStop('explode'); _root.panel.score += 150; _root.comboKills += 1; _root.comboTimer = 0; _root.ComboStuff.comboNumbers.gotoAndPlay(1); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var v3 = new Color(enemy); var v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); delete this.onEnterFrame; } } ++timer; if (initiateFlashing == true) { if (timer == 2) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; v3.setTransform(v4); } if (timer == 4) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); timer = 0; initiateFlashing = false; } } } } }; } } movieClip 843 { } movieClip 844 { frame 150 { _parent.nextFrame(); } } movieClip 859 { frame 1 { stop(); } frame 3 { gotoAndStop(1); } frame 5 { gotoAndStop(1); } frame 7 { gotoAndStop(1); } frame 9 { gotoAndStop(1); } } movieClip 862 { instance of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } } movieClip 865 { instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } } movieClip 868 { instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } } movieClip 869 { frame 1 { _root.robotSide = 'right'; } frame 1 { _parent._parent.ground3.gotoAndStop(1); _root.currentSprite = 'rightone'; } instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } frame 66 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 76 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 84 { _parent._parent.ground3.gotoAndStop(2); _root.currentSprite = ''; } frame 85 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 95 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 103 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 104 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 114 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 121 { sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 122 { _parent._parent.shaker.gotoAndPlay(2); } frame 124 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 133 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 139 { sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 140 { _parent._parent.shaker.gotoAndPlay(2); } frame 143 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 152 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 159 { sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 160 { _parent._parent.shaker.gotoAndPlay(2); } frame 163 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 182 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 188 { sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 189 { _root.robotSide = 'left'; } frame 189 { _parent._parent.ground4.gotoAndStop(1); _root.currentSprite = 'leftone'; _parent._parent.shaker.gotoAndPlay(2); } instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } frame 196 { _root.currentSprite = 'lefttwo'; } frame 254 { _root.currentSprite = 'leftone'; } frame 299 { _parent._parent.ground4.gotoAndStop(2); _root.currentSprite = ''; } frame 301 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 321 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 327 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 331 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 350 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 356 { _parent._parent.ground4.gotoAndStop(1); _root.currentSprite = 'leftone'; _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } frame 363 { _root.currentSprite = 'lefttwo'; } frame 405 { _root.currentSprite = 'leftone'; } frame 412 { _parent._parent.ground4.gotoAndStop(2); _root.currentSprite = ''; } instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } instance boxx2 of movieClip 43 { } frame 415 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 425 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 430 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 434 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 444 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 449 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 454 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 463 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 469 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 473 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 482 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 488 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 493 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 502 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 507 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 512 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 521 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 526 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 531 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 541 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 545 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 550 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 560 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 564 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 565 { _parent._parent.ground4.gotoAndStop(1); _root.currentSprite = 'leftone'; } frame 572 { _root.currentSprite = 'lefttwo'; } frame 614 { _root.currentSprite = 'leftone'; } frame 625 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 635 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 644 { sound = new Sound(); sound.attachSound('BossShoot'); sound.start(0, 0); } frame 651 { _parent._parent.ground4.gotoAndStop(2); _root.currentSprite = ''; } frame 679 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } instance of movieClip 865 { } frame 708 { _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } frame 737 { _root.robotSide = 'right'; } frame 737 { _parent._parent.ground3.gotoAndStop(1); _root.currentSprite = 'rightone'; _parent._parent.shaker.gotoAndPlay(2); sound = new Sound(); sound.attachSound('BossJump'); sound.start(0, 0); } instance boxx of movieClip 43 { onClipEvent (load) { _root.hitByRobotBossOnce = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.holder.world.player.hitBox2) and _root.hitByRobotBossOnce == false) { _root.gotHitByRobotBoss = true; _root.hitByRobotBossOnce = true; } } } frame 744 { _root.currentSprite = 'righttwo'; } frame 785 { gotoAndPlay(30); } } movieClip 870 { } movieClip 871 { } movieClip 888 { frame 9 { stop(); } } movieClip 889 { frame 1 { sound = new Sound(); sound.attachSound('BossExplode'); sound.start(0, 0); } frame 65 { sound = new Sound(); sound.attachSound('BossExplode'); sound.start(0, 0); } frame 137 { stop(); _root.goGoCoinDrop = true; } } movieClip 890 { } movieClip 891 { } movieClip 892 { frame 1 { sound = new Sound(); sound.attachSound('BossExplode'); sound.start(0, 0); } frame 65 { sound = new Sound(); sound.attachSound('BossExplode'); sound.start(0, 0); } frame 137 { stop(); _root.goGoCoinDrop = true; } } movieClip 893 { frame 1 { stop(); } } movieClip 894 { frame 1 { stop(); } frame 2 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 4; } frame 3 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 1; } frame 4 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 7; } frame 5 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 4; } frame 6 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 3; } frame 7 { _root.holder.world._y = -_root.holder.world.BOX._y + 276; } frame 8 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 7; } frame 9 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 3; } frame 10 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 2; } frame 11 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 7; } frame 12 { _root.holder.world._y = -_root.holder.world.BOX._y + 276 + 3; } frame 13 { _root.holder.world._y = -_root.holder.world.BOX._y + 276; } } movieClip 895 { frame 29 { _parent._parent._parent.player.gotoAndStop('teleport'); } frame 29 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 44 { stop(); _root.holder.gameover.gotoAndStop(4); } } movieClip 896 { } movieClip 897 { } movieClip 898 { frame 1 { stop(); } frame 12 { a.door.play(); stop(); } } movieClip 904 { } movieClip 905 { } movieClip 909 { } movieClip 910 { } movieClip 915 { } movieClip 920 { frame 1 { stop(); } } movieClip 923 { frame 1 { stop(); } } movieClip 926 { frame 1 { stop(); } } movieClip 927 { frame 1 { stop(); } } movieClip 930 { frame 1 { stop(); } } movieClip 931 { frame 1 { stop(); } } movieClip 934 { } movieClip 935 { frame 1 { stop(); } } movieClip 944 { } movieClip 945 { } movieClip 950 { } movieClip 967 { instance foot1 of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.foot1) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance foot1g of movieClip 950 { onClipEvent (load) { playOnce = false; } onClipEvent (enterFrame) { if (_root.holder.world.player.hitBox2.hitTest(_parent.foot1g) and _root.holder.world.immune == false) { _root.holder.world.player.gotoAndStop('hit'); _root.holder.world.player.weaponfire._visible = false; _root.holder.world.player.weaponfirestandard._visible = false; _root.holder.world.player.weaponfirefast._visible = false; _root.holder.world.player.weaponfiremedium._visible = false; _root.holder.world.player.weaponfireslow._visible = false; _root.holder.world.player.MC._visible = false; _root.holder.world.player.MC2._visible = false; _root.holder.world.player.MCBlueFire._visible = false; _root.holder.world.gotHit = true; _root.holder.world.lockEverything = true; _root.holder.world.velF = 7; _root.holder.world.velY = -9; _root.holder.world.beingHitCode = true; _root.holder.world.jumping3 = true; _root.holder.world.immune = true; if (_root.holder.world.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _root.holder.world.hitsLeft -= 1; } if (_root.holder.world.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _root.holder.world.player.gotoAndStop('die'); _root.holder.world.completeStop = true; } } if (_root.holder.world.player.hitBox2.hitTest(_parent._parent.bigBox) and playOnce == false) { sound = new Sound(); sound.attachSound('Static_sound'); sound.start(0, 0); playOnce = true; } } } frame 22 { _parent._parent.pauseStuff = false; if (_parent._parent.directionX == 'right') { _parent.gotoAndStop('moveright'); } if (_parent._parent.directionX == 'left') { _parent.gotoAndStop('moveleft'); } } } movieClip 968 { frame 1 { stop(); } instance of movieClip 776 { onClipEvent (load) { velF = 7; velY = -10; falling = false; stopALL = false; groundNumber = _parent._parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } } } } } movieClip 970 { } movieClip 971 { frame 1 { stop(); directionX = 'right'; enemy.bigBox.gotoAndStop(2); shoot = false; pauseStuff = false; health = 600; hit = false; initiateFlashing = false; stopALL = false; this.onEnterFrame = function () { if (stopALL == false) { ++timer; if (pauseStuff == false) { if (enemy.hitBox.hitTest(left)) { enemy.gotoAndStop('moveright'); directionX = 'right'; } if (enemy.hitBox.hitTest(right)) { enemy.gotoAndStop('moveleft'); directionX = 'left'; } if (directionX == 'right') { enemy._x += 4; } if (directionX == 'left') { enemy._x -= 4; } if (timer >= 60) { f = random(2) + 1; if (f == 2) { shoot = true; } timer = 0; } } if (shoot == true) { pauseStuff = true; enemy.gotoAndStop('shoot'); shoot = false; } if (hit == true) { if (health >= 1) { s = random(4) + 1; if (s == 1) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); } if (s == 2) { sound = new Sound(); sound.attachSound('Metal_sound2'); sound.start(0, 0); } if (s == 3) { sound = new Sound(); sound.attachSound('Metal_sound3'); sound.start(0, 0); } if (s == 4) { sound = new Sound(); sound.attachSound('Metal_sound4'); sound.start(0, 0); } initiateFlashing = true; timer2 = 0; health -= _root.holder.world.weaponDamage; if (enemy.front.hitTest(_root.holder.world.player.hitBox2)) { enemy._x -= 5; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2)) { enemy._x += 5; enemy.gotoAndStop('move'); } hit = false; } if (health <= 1) { enemy.gotoAndStop('explode'); _root.panel.score += 150; _root.comboKills += 1; _root.comboTimer = 0; _root.ComboStuff.comboNumbers.gotoAndPlay(1); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var v3 = new Color(enemy); var v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); delete this.onEnterFrame; } } ++timer2; if (initiateFlashing == true) { if (timer2 == 2) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; v3.setTransform(v4); } if (timer2 == 4) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); timer2 = 0; initiateFlashing = false; } } } }; } } movieClip 981 { frame 1 { stop(); } } movieClip 986 { frame 1 { stop(); } } movieClip 991 { frame 1 { stop(); } } movieClip 996 { } movieClip 997 { frame 1 { stop(); } } movieClip 998 { } movieClip 999 { frame 1 { thisX = enemy._x; stop(); } } movieClip 1002 { } movieClip 1003 { } movieClip 1004 { } movieClip 1005 { } movieClip 1006 { frame 134 { _parent.player._visible = true; _parent.completeStop = false; } frame 168 { stop(); } } movieClip 1010 { } movieClip 1015 { frame 1 { stop(); } } movieClip 1036 { frame 1 { times = 0; } instance hitBox of movieClip 582 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(this) and _parent._parent.immune == false) { _parent._parent.player.gotoAndStop('hit'); _parent._parent.player.weaponfire._visible = false; _parent._parent.player.weaponfirestandard._visible = false; _parent._parent.player.weaponfirefast._visible = false; _parent._parent.player.weaponfiremedium._visible = false; _parent._parent.player.weaponfireslow._visible = false; _parent._parent.player.MC._visible = false; _parent._parent.player.MC2._visible = false; _parent._parent.player.MCBlueFire._visible = false; _parent._parent.gotHit = true; _parent._parent.lockEverything = true; _parent._parent.velF = 7; _parent._parent.velY = -9; _parent._parent.beingHitCode = true; _parent._parent.jumping3 = true; _parent._parent.immune = true; if (_parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent.hitsLeft -= 1; } if (_parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent.player.gotoAndStop('die'); _parent._parent.completeStop = true; } } } } instance hitBox of movieClip 582 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(this) and _parent._parent.immune == false) { _parent._parent.player.gotoAndStop('hit'); _parent._parent.player.weaponfire._visible = false; _parent._parent.player.weaponfirestandard._visible = false; _parent._parent.player.weaponfirefast._visible = false; _parent._parent.player.weaponfiremedium._visible = false; _parent._parent.player.weaponfireslow._visible = false; _parent._parent.player.MC._visible = false; _parent._parent.player.MC2._visible = false; _parent._parent.player.MCBlueFire._visible = false; _parent._parent.gotHit = true; _parent._parent.lockEverything = true; _parent._parent.velF = 7; _parent._parent.velY = -9; _parent._parent.beingHitCode = true; _parent._parent.jumping3 = true; _parent._parent.immune = true; if (_parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent.hitsLeft -= 1; } if (_parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent.player.gotoAndStop('die'); _parent._parent.completeStop = true; } } } } frame 36 { times += 1; } frame 39 { if (times >= 10) { gotoAndPlay('end'); } else { gotoAndPlay('start'); } } frame 45 { gotoAndPlay(1); } frame 46 { sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); } } movieClip 1041 { frame 1 { stop(); } } movieClip 1054 { frame 1 { times = 0; } instance hitBox of movieClip 582 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(this) and _parent._parent.immune == false) { _parent._parent.player.gotoAndStop('hit'); _parent._parent.player.weaponfire._visible = false; _parent._parent.player.weaponfirestandard._visible = false; _parent._parent.player.weaponfirefast._visible = false; _parent._parent.player.weaponfiremedium._visible = false; _parent._parent.player.weaponfireslow._visible = false; _parent._parent.player.MC._visible = false; _parent._parent.player.MC2._visible = false; _parent._parent.player.MCBlueFire._visible = false; _parent._parent.gotHit = true; _parent._parent.lockEverything = true; _parent._parent.velF = 7; _parent._parent.velY = -9; _parent._parent.beingHitCode = true; _parent._parent.jumping3 = true; _parent._parent.immune = true; if (_parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent.hitsLeft -= 1; } if (_parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent.player.gotoAndStop('die'); _parent._parent.completeStop = true; } } } } instance hitBox of movieClip 582 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(this) and _parent._parent.immune == false) { _parent._parent.player.gotoAndStop('hit'); _parent._parent.player.weaponfire._visible = false; _parent._parent.player.weaponfirestandard._visible = false; _parent._parent.player.weaponfirefast._visible = false; _parent._parent.player.weaponfiremedium._visible = false; _parent._parent.player.weaponfireslow._visible = false; _parent._parent.player.MC._visible = false; _parent._parent.player.MC2._visible = false; _parent._parent.player.MCBlueFire._visible = false; _parent._parent.gotHit = true; _parent._parent.lockEverything = true; _parent._parent.velF = 7; _parent._parent.velY = -9; _parent._parent.beingHitCode = true; _parent._parent.jumping3 = true; _parent._parent.immune = true; if (_parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent.hitsLeft -= 1; } if (_parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent.player.gotoAndStop('die'); _parent._parent.completeStop = true; } } } } frame 38 { times += 1; } frame 41 { if (times >= 10) { gotoAndPlay('end'); } else { gotoAndPlay('start'); } } frame 48 { gotoAndPlay(1); } frame 49 { sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); } } movieClip 1071 { } movieClip 1074 { } movieClip 1075 { frame 1 { stop(); } frame 2 { _parent._parent.fireDone = false; } instance foot1g of movieClip 1074 { onClipEvent (load) { playOnce = false; } onClipEvent (enterFrame) { if (_root.holder.world.player.hitBox2.hitTest(_parent.foot1g) and _root.holder.world.immune == false and _root.duckFuck == false) { _root.holder.world.player.gotoAndStop('hit'); _root.holder.world.player.weaponfire._visible = false; _root.holder.world.player.weaponfirestandard._visible = false; _root.holder.world.player.weaponfirefast._visible = false; _root.holder.world.player.weaponfiremedium._visible = false; _root.holder.world.player.weaponfireslow._visible = false; _root.holder.world.player.MC._visible = false; _root.holder.world.player.MC2._visible = false; _root.holder.world.player.MCBlueFire._visible = false; _root.holder.world.gotHit = true; _root.holder.world.lockEverything = true; _root.holder.world.velF = 7; _root.holder.world.velY = -9; _root.holder.world.beingHitCode = true; _root.holder.world.jumping3 = true; _root.holder.world.immune = true; if (_root.holder.world.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _root.holder.world.hitsLeft -= 1; } if (_root.holder.world.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _root.holder.world.player.gotoAndStop('die'); _root.holder.world.completeStop = true; } } } } frame 49 { _parent._parent.fireDone = true; stop(); } } movieClip 1076 { } movieClip 1079 { frame 15 { _parent._parent.pauseStuff = false; if (_parent._parent.directionX == 'right') { _parent.gotoAndStop('moveright'); } if (_parent._parent.directionX == 'left') { _parent.gotoAndStop('moveleft'); } } } movieClip 1080 { frame 1 { stop(); } instance of movieClip 776 { onClipEvent (load) { velF = 7; velY = -10; falling = false; stopALL = false; groundNumber = _parent._parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } } } } } movieClip 1081 { frame 1 { stop(); directionX = 'right'; enemy.bigBox.gotoAndStop(2); shoot = false; pauseStuff = false; health = 1000; hit = false; initiateFlashing = false; stopALL = false; fireDone = true; this.onEnterFrame = function () { if (stopALL == false) { ++timer; if (pauseStuff == false) { if (enemy.hitBox.hitTest(left)) { enemy.gotoAndStop('moveright'); directionX = 'right'; } if (enemy.hitBox.hitTest(right)) { enemy.gotoAndStop('moveleft'); directionX = 'left'; } if (directionX == 'right') { enemy._x += 4; } if (directionX == 'left') { enemy._x -= 4; } if (timer >= 60) { f = random(2) + 1; if (f == 2 and enemy.front2.hitTest(_root.holder.world.player.hitBox2) and fireDone == true) { shoot = true; enemy.fire.gotoAndPlay(2); } timer = 0; } } if (shoot == true) { pauseStuff = true; enemy.gotoAndStop('shoot'); shoot = false; } if (hit == true) { if (health >= 1) { s = random(4) + 1; if (s == 1) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); } if (s == 2) { sound = new Sound(); sound.attachSound('Metal_sound2'); sound.start(0, 0); } if (s == 3) { sound = new Sound(); sound.attachSound('Metal_sound3'); sound.start(0, 0); } if (s == 4) { sound = new Sound(); sound.attachSound('Metal_sound4'); sound.start(0, 0); } initiateFlashing = true; timer2 = 0; health -= _root.holder.world.weaponDamage; if (enemy.front.hitTest(_root.holder.world.player.hitBox2)) { enemy._x -= 5; enemy.gotoAndStop('move'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2)) { enemy._x += 5; enemy.gotoAndStop('move'); } hit = false; } if (health <= 1) { enemy.gotoAndStop('explode'); _root.panel.score += 150; _root.comboKills += 1; _root.comboTimer = 0; _root.ComboStuff.comboNumbers.gotoAndPlay(1); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var v3 = new Color(enemy); var v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); delete this.onEnterFrame; } } ++timer2; if (initiateFlashing == true) { if (timer2 == 2) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; v3.setTransform(v4); } if (timer2 == 4) { v3 = new Color(enemy); v4 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v3.setTransform(v4); timer2 = 0; initiateFlashing = false; } } } }; } } movieClip 1084 { frame 1 { stop(); } } movieClip 1092 { frame 1 { stop(); } } movieClip 1095 { frame 1 { stop(); } } movieClip 1112 { frame 16 { sound = new Sound(); sound.attachSound('Boss3SwingShoot'); sound.start(0, 0); } frame 19 { _parent._parent.attachMovie('Boss3FireShotMC', 'Boss3FireShotMC' + _parent._parent.fireShots, _parent._parent.fireShots); _parent._parent.fireShots += 1; trace(_parent._parent.fireShots); f2 = random(2) + 1; if (f2 == 1) { _parent.sparkles1.gotoAndPlay(1); } if (f2 == 2) { _parent.sparkles2.gotoAndPlay(1); } } frame 24 { stop(); f = random(2) + 1; if (f == 1 and _parent._parent.boss3AttackLimit >= 1) { _parent._parent.boss3AttackLimit -= 1; gotoAndPlay(1); } if (f == 1 and _parent._parent.boss3AttackLimit == 0) { if (!_parent._parent.enemy1.hitTest(_parent._parent.bossleftlimit)) { if (!_parent._parent.enemy1.hitTest(_parent._parent.bossrightlimit)) { d = random(2) + 1; if (d == 1) { _parent.gotoAndStop(2); } if (d == 2) { _parent.gotoAndStop(3); } } } if (_parent._parent.enemy1.hitTest(_parent._parent.bossleftlimit)) { _parent.gotoAndStop(2); } if (_parent._parent.enemy1.hitTest(_parent._parent.bossrightlimit)) { _parent.gotoAndStop(3); } } if (f == 2) { if (!_parent._parent.enemy1.hitTest(_parent._parent.bossleftlimit)) { if (!_parent._parent.enemy1.hitTest(_parent._parent.bossrightlimit)) { d = random(2) + 1; if (d == 1) { _parent.gotoAndStop(2); } if (d == 2) { _parent.gotoAndStop(3); } } } if (_parent._parent.enemy1.hitTest(_parent._parent.bossleftlimit)) { _parent.gotoAndStop(2); } if (_parent._parent.enemy1.hitTest(_parent._parent.bossrightlimit)) { _parent.gotoAndStop(3); } } } } movieClip 1113 { } movieClip 1114 { frame 39 { stop(); } } movieClip 1115 { } movieClip 1136 { frame 1 { _parent._parent.enemy1._x += 6; } frame 4 { _parent._parent.enemy1._x += 7; } frame 7 { _parent._parent.enemy1._x += 8; sound = new Sound(); sound.attachSound('Boss3StepB'); sound.start(0, 0); } frame 10 { _parent._parent.enemy1._x += 8; } frame 13 { _parent._parent.enemy1._x += 8; } frame 19 { _parent._parent.enemy1._x += 10; } frame 22 { _parent._parent.enemy1._x += 10; sound = new Sound(); sound.attachSound('Boss3StepA'); sound.start(0, 0); } frame 25 { _parent._parent.enemy1._x += 10; } frame 30 { _parent._parent.boss3AttackLimit = 2; if (_parent._parent.enemy1.hitTest(_parent._parent.bossrightlimit)) { _parent.gotoAndStop(1); } else { f = random(6) + 1; if (f == 1) { _parent.gotoAndStop(2); } if (f == 2) { _parent.gotoAndStop(2); } if (f == 3) { _parent.gotoAndStop(2); } if (f == 4) { _parent.gotoAndStop(2); } if (f == 5) { _parent.gotoAndStop(1); } if (f == 6) { _parent.gotoAndStop(1); } } } } movieClip 1137 { frame 4 { _parent._parent.enemy1._x -= 10; } frame 7 { _parent._parent.enemy1._x -= 10; } frame 10 { _parent._parent.enemy1._x -= 10; } frame 13 { sound = new Sound(); sound.attachSound('Boss3StepB'); sound.start(0, 0); } frame 16 { _parent._parent.enemy1._x -= 8; } frame 19 { _parent._parent.enemy1._x -= 8; } frame 22 { _parent._parent.enemy1._x -= 8; } frame 25 { _parent._parent.enemy1._x -= 7; } frame 28 { _parent._parent.enemy1._x -= 6; sound = new Sound(); sound.attachSound('Boss3StepA'); sound.start(0, 0); } frame 31 { _parent._parent.boss3AttackLimit = 2; if (_parent._parent.enemy1.hitTest(_parent._parent.bossleftlimit)) { _parent.gotoAndStop(1); } else { f = random(6) + 1; if (f == 1) { _parent.gotoAndStop(1); } if (f == 2) { _parent.gotoAndStop(1); } if (f == 3) { _parent.gotoAndStop(1); } if (f == 4) { _parent.gotoAndStop(1); } if (f == 5) { _parent.gotoAndStop(3); } if (f == 6) { _parent.gotoAndStop(3); } } } } movieClip 1141 { } movieClip 1142 { frame 83 { stop(); } } movieClip 1143 { frame 1 { stop(); } instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent._parent.player.hitBox2.hitTest(_parent.foot) and _parent._parent.immune == false) { _parent._parent.directon = 'right'; _parent._parent.player._xscale = 100; _parent._parent.player.gotoAndStop('hit'); _parent._parent.player.weaponfire._visible = false; _parent._parent.player.weaponfirestandard._visible = false; _parent._parent.player.weaponfirefast._visible = false; _parent._parent.player.weaponfiremedium._visible = false; _parent._parent.player.weaponfireslow._visible = false; _parent._parent.player.MC._visible = false; _parent._parent.player.MC2._visible = false; _parent._parent.player.MCBlueFire._visible = false; _parent._parent.gotHit = true; _parent._parent.lockEverything = true; _parent._parent.velF = 7; _parent._parent.velY = -9; _parent._parent.beingHitCode = true; _parent._parent.jumping3 = true; _parent._parent.immune = true; if (_parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent.hitsLeft -= 1; } if (_parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent.player.gotoAndStop('die'); _parent._parent.completeStop = true; } } if (_parent._parent.player.hitBox2.hitTest(_parent.foot) and _parent._parent.immune == true) { _parent._parent.player._x -= _parent._parent.runSpeedAccR + 2; } } } frame 5 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); _root.goGoCoinDrop = true; } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { f = random(15) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } instance of movieClip 1142 { onClipEvent (load) { f = random(30) + 1; gotoAndPlay(f); } } frame 11 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } frame 18 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } frame 20 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } frame 22 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } frame 32 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } frame 36 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } frame 42 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } instance of movieClip 1142 { onClipEvent (load) { gotoAndPlay(35); } } frame 53 { sound = new Sound(); sound.attachSound('Boss3BoomSound'); sound.start(0, 0); } frame 87 { stop(); } } movieClip 1152 { } movieClip 1153 { frame 1 { stop(); } } movieClip 1156 { } movieClip 1173 { } movieClip 1183 { frame 22 { _parent._parent.turn = true; _parent._parent.turning = false; } } movieClip 1196 { instance foot1g of movieClip 950 { onClipEvent (load) { playOnce = false; } onClipEvent (enterFrame) { if (_root.holder.world.player.hitBox2.hitTest(_parent.foot1g) and _root.holder.world.immune == false) { _root.holder.world.player.gotoAndStop('hit'); _root.holder.world.player.weaponfire._visible = false; _root.holder.world.player.weaponfirestandard._visible = false; _root.holder.world.player.weaponfirefast._visible = false; _root.holder.world.player.weaponfiremedium._visible = false; _root.holder.world.player.weaponfireslow._visible = false; _root.holder.world.player.MC._visible = false; _root.holder.world.player.MC2._visible = false; _root.holder.world.player.MCBlueFire._visible = false; _root.holder.world.gotHit = true; _root.holder.world.lockEverything = true; _root.holder.world.velF = 7; _root.holder.world.velY = -9; _root.holder.world.beingHitCode = true; _root.holder.world.jumping3 = true; _root.holder.world.immune = true; if (_root.holder.world.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _root.holder.world.hitsLeft -= 1; } if (_root.holder.world.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _root.holder.world.player.gotoAndStop('die'); _root.holder.world.completeStop = true; } } if (_root.holder.world.player.hitBox2.hitTest(_parent._parent.bigBox) and playOnce == false) { sound = new Sound(); sound.attachSound('Static_sound'); sound.start(0, 0); playOnce = true; } } } frame 18 { _parent._parent.stopALL = false; _parent._parent.attack = false; } } movieClip 1197 { frame 1 { stop(); } instance of movieClip 776 { onClipEvent (load) { velF = 7; velY = -10; falling = false; stopALL = false; groundNumber = _parent._parent._parent.groundNumber; } onClipEvent (enterFrame) { if (stopALL == false) { this._y += velY; velY += 1; if (velY >= 0.4) { falling = true; } if (falling == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (this.hitTest(_parent._parent._parent['ground' + groundi])) { y1 = this._y; y2 = _parent._parent._parent['ground' + groundi]._y; y1 = y2; falling3 = false; velF = 7; velY = -16; stopALL = true; this.gotoAndPlay(2); } ++groundi; } if (velY >= 13) { velY = 13; } } } if (_parent._parent._parent.player.hitBox2.hitTest(this.hitBox)) { stopALL = true; this.gotoAndStop('taken'); _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; } } } } } movieClip 1198 { frame 1 { stop(); health = 600; hit = false; initiateFlashing = false; goLeft = false; goRight = true; turn = false; stopALL = false; stopALL2 = false; attack = false; turning = false; this.onEnterFrame = function () { if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and goLeft == true and attack == false and stopALL2 == false) { stopALL = true; enemy.gotoAndStop('attack'); _parent.attack = true; } if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and goRight == true and attack == false and stopALL2 == false) { stopALL = true; enemy.gotoAndStop('attack'); attack = true; } if (stopALL == false) { if (turn == true) { if (goRight == true) { goLeft = true; turn = false; } if (goLeft == true) { goRight = true; turn = false; } } if (enemy._x <= maxRight and goRight == true) { goLeft = false; enemy.gotoAndStop('move'); enemy._xscale = 100; enemy._x += 4; dir = 'right'; if (enemy._x >= maxRight and goRight == true) { turning = true; enemy.gotoAndStop('turn'); } } if (enemy._x >= maxLeft and goLeft == true) { goRight = false; enemy.gotoAndStop('move'); enemy._xscale = -100; enemy._x -= 4; dir = 'left'; if (enemy._x <= maxLeft and goLeft == true) { turning = true; enemy.gotoAndStop('turn'); } } } if (hit == true and stopALL2 == false) { if (health >= 1) { s = random(4) + 1; if (s == 1) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); } if (s == 2) { sound = new Sound(); sound.attachSound('Metal_sound2'); sound.start(0, 0); } if (s == 3) { sound = new Sound(); sound.attachSound('Metal_sound3'); sound.start(0, 0); } if (s == 4) { sound = new Sound(); sound.attachSound('Metal_sound4'); sound.start(0, 0); } initiateFlashing = true; timer = 0; health -= _root.holder.world.weaponDamage; if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('turn'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'right' and turning == false) { enemy._x -= 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('turn'); } if (enemy.front.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('turn'); } if (enemy.back.hitTest(_root.holder.world.player.hitBox2) and dir == 'left' and turning == false) { enemy._x += 5; stopALL = false; stopALL2 = false; attack = false; enemy.gotoAndStop('turn'); } hit = false; } if (health <= 1) { enemy.gotoAndStop('explode'); _root.panel.score += 150; _root.comboKills += 1; _root.comboTimer = 0; _root.ComboStuff.comboNumbers.gotoAndPlay(1); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var v4 = new Color(enemy); var v5 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v4.setTransform(v5); delete this.onEnterFrame; } } ++timer; if (initiateFlashing == true and stopALL2 == false) { if (timer == 2) { v4 = new Color(enemy); v5 = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; v4.setTransform(v5); } if (timer == 4) { v4 = new Color(enemy); v5 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; v4.setTransform(v5); timer = 0; initiateFlashing = false; } } }; } } movieClip 1204 { frame 27 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 32 { _parent._parent._parent.player._visible = true; _parent._parent._parent.completeStop = false; } frame 45 { stop(); _parent._parent.play(); } } movieClip 1205 { } movieClip 1206 { } movieClip 1207 { frame 12 { a.door.play(); stop(); } frame 27 { stop(); _root.startBossFourTune = true; _parent.enemy1.play(); _root.panel.bosspanel.gotoAndPlay(3); } } movieClip 1210 { } movieClip 1213 { } movieClip 1221 { instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent._parent._parent._parent.player.hitBox2.hitTest(_parent.foot) and _parent._parent._parent._parent.immune == false) { _parent._parent._parent._parent.directon = 'right'; _parent._parent._parent._parent.player._xscale = 100; _parent._parent._parent._parent.player.gotoAndStop('hit'); _parent._parent._parent._parent.player.weaponfire._visible = false; _parent._parent._parent._parent.player.weaponfirestandard._visible = false; _parent._parent._parent._parent.player.weaponfirefast._visible = false; _parent._parent._parent._parent.player.weaponfiremedium._visible = false; _parent._parent._parent._parent.player.weaponfireslow._visible = false; _parent._parent._parent._parent.player.MC._visible = false; _parent._parent._parent._parent.player.MC2._visible = false; _parent._parent._parent._parent.player.MCBlueFire._visible = false; _parent._parent._parent._parent.gotHit = true; _parent._parent._parent._parent.lockEverything = true; _parent._parent._parent._parent.velF = 7; _parent._parent._parent._parent.velY = -9; _parent._parent._parent._parent.beingHitCode = true; _parent._parent._parent._parent.jumping3 = true; _parent._parent._parent._parent.immune = true; if (_parent._parent._parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent._parent._parent.hitsLeft -= 1; } if (_parent._parent._parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent._parent._parent.player.gotoAndStop('die'); _parent._parent._parent._parent.completeStop = true; } } } } } movieClip 1222 { frame 1 { f = random(200) + 1; gotoAndPlay(f); } } movieClip 1223 { frame 1 { f = random(120) + 1; gotoAndPlay(f); } } movieClip 1224 { } movieClip 1227 { } movieClip 1232 { } movieClip 1237 { } movieClip 1242 { } movieClip 1247 { } movieClip 1252 { } movieClip 1257 { } movieClip 1260 { } movieClip 1270 { frame 1 { f = random(7) + 1; gotoAndPlay(f); } frame 20 { gotoAndPlay(7); } } movieClip 1271 { frame 1 { shooting1 = false; shooting2 = false; times = 0; } frame 1 { stop(); } frame 97 { _parent.rock.k = f; _parent.rock2.k = f; _parent.rock.gotoAndStop('random'); } frame 113 { gotoAndPlay(98); } frame 114 { _parent.rock.f = k; _parent.rock2.f = k; _parent.rock.gotoAndStop(1); _parent.rock2.gotoAndStop(1); } frame 154 { stop(); } } movieClip 1272 { frame 1 { stop(); } frame 2 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 4; } frame 3 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 1; } frame 4 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 7; } frame 5 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 4; } frame 6 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 3; } frame 7 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276; } frame 8 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 7; } frame 9 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 3; } frame 10 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 2; } frame 11 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 7; } frame 12 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276 + 3; } frame 13 { _root.holder.world._y = -_root.holder.world.BOX2._y + 276; } } movieClip 1277 { instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent._parent._parent._parent.player.hitBox2.hitTest(_parent.foot) and _parent._parent._parent._parent.immune == false) { _parent._parent._parent._parent.directon = 'right'; _parent._parent._parent._parent.player._xscale = 100; _parent._parent._parent._parent.player.gotoAndStop('hit'); _parent._parent._parent._parent.player.weaponfire._visible = false; _parent._parent._parent._parent.player.weaponfirestandard._visible = false; _parent._parent._parent._parent.player.weaponfirefast._visible = false; _parent._parent._parent._parent.player.weaponfiremedium._visible = false; _parent._parent._parent._parent.player.weaponfireslow._visible = false; _parent._parent._parent._parent.player.MC._visible = false; _parent._parent._parent._parent.player.MC2._visible = false; _parent._parent._parent._parent.player.MCBlueFire._visible = false; _parent._parent._parent._parent.gotHit = true; _parent._parent._parent._parent.lockEverything = true; _parent._parent._parent._parent.velF = 7; _parent._parent._parent._parent.velY = -9; _parent._parent._parent._parent.beingHitCode = true; _parent._parent._parent._parent.jumping3 = true; _parent._parent._parent._parent.immune = true; if (_parent._parent._parent._parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent._parent._parent._parent.hitsLeft -= 1; } if (_parent._parent._parent._parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent._parent._parent._parent.player.gotoAndStop('die'); _parent._parent._parent._parent.completeStop = true; } } } } } movieClip 1280 { } movieClip 1281 { frame 27 { stop(); _parent._parent.gotoAndStop('random'); } } movieClip 1282 { frame 51 { _parent._parent.blah = true; } frame 84 { _parent._parent.shaker.play(); sound = new Sound(); sound.attachSound('SmashingRock'); sound.start(0, 0); } frame 85 { stop(); } } movieClip 1283 { frame 1 { stop(); f = random(6) + 2; gotoAndStop(k); } frame 12 { f = random(9) + 2; gotoAndStop(f); } } movieClip 1288 { frame 1 { stop(); } } movieClip 1289 { } movieClip 1298 { frame 5 { stop(); } } movieClip 1299 { frame 1 { stop(); } } movieClip 1307 { frame 1 { stop(); } } movieClip 1308 { } movieClip 1309 { frame 12 { a.door.play(); stop(); } frame 27 { stop(); _root.startBossFourTune = true; _parent.enemy1.play(); } } movieClip 1318 { } movieClip 1319 { } movieClip 1320 { frame 1 { stop(); } frame 10 { stop(); trace('1'); } frame 12 { stop(); trace('2'); } frame 20 { stop(); } } movieClip 1329 { } movieClip 1330 { frame 1 { stop(); } } movieClip 1341 { } movieClip 1347 { frame 1 { stop(); } } movieClip 1350 { frame 1 { stop(); } frame 8 { _parent.left2.gotoAndStop(2); } frame 15 { stop(); } frame 21 { _parent.left2.gotoAndStop(1); } frame 30 { stop(); } } movieClip 1353 { frame 1 { stop(); } frame 9 { _parent.left3.gotoAndStop(2); _parent.right2.gotoAndStop(2); } frame 15 { stop(); } frame 22 { _parent.left3.gotoAndStop(1); _parent.right2.gotoAndStop(1); } frame 30 { stop(); } } movieClip 1362 { } movieClip 1371 { } movieClip 1378 { frame 7 { stop(); } } movieClip 1379 { frame 1 { stop(); } } movieClip 1384 { } movieClip 1386 { } movieClip 1392 { frame 14 { stop(); } instance of movieClip 43 { onClipEvent (load) { timer = 0; ran = random(60) + 1; } onClipEvent (enterFrame) { ++timer; if (timer >= ran) { if (_root.AliensDieNow == false) { _parent._parent._parent.nextFrame(); } } } } } movieClip 1393 { frame 14 { stop(); _parent._parent.gotoAndStop(3); } } movieClip 1394 { frame 1 { stop(); } } movieClip 1395 { frame 1 { stop(); } instance enemy of movieClip 1394 { onClipEvent (load) { velY = 4; oncee = true; health = 450; hit = false; step1 = true; once = true; once2 = true; once3 = true; once4 = true; once5 = true; once6 = true; once7 = true; once8 = true; once9 = true; once10 = true; once11 = true; once12 = true; once13 = true; once14 = true; a = true; b = true; c = true; d = true; e = true; f = true; g = true; h = true; i = false; j = true; k = true; l = true; m = true; } onClipEvent (enterFrame) { if (_parent.end == false) { if (_parent.go == true) { if (step1 == true) { this.gotoAndStop('left'); this._x -= 6; } if (_parent._parent.a.hitTest(hitBox) and once == true and a == true) { step1 = false; ranNum = random(2) + 1; if (ranNum == 1) { step6 = true; once = false; } if (ranNum == 2) { step2 = true; once = false; } } if (step2 == true) { h = false; this.gotoAndStop('down'); this._y += 6; } if (_parent._parent.b.hitTest(hitBox) and once2 == true and b == true) { step2 = false; ranNum = random(2) + 1; if (ranNum == 1) { step11 = true; once2 = false; } if (ranNum == 2) { g = false; step3 = true; once2 = false; } } if (step3 == true) { this.gotoAndStop('left2'); this._x -= 6; } if (_parent._parent.c.hitTest(hitBox) and once3 == true and c == true) { step3 = false; ranNum = random(2) + 1; if (ranNum == 1) { step4 = true; once3 = false; } if (ranNum == 2) { step11 = true; once3 = false; } } if (step4 == true) { c = false; f = false; step11 = false; this.gotoAndStop('up'); this._y -= 6; } if (_parent._parent.d.hitTest(hitBox) and once4 == true and d == true) { step4 = false; ranNum = random(2) + 1; if (ranNum == 1) { step5 = true; once4 = false; } if (ranNum == 2) { step5 = true; once4 = false; } } if (step5 == true) { this.gotoAndStop('right'); this._x += 6; } if (_parent._parent.l.hitTest(hitBox) and once13 == true and l == true) { step5 = false; ranNum = random(2) + 1; if (ranNum == 1) { step5 = true; a = false; i = false; j = false; l = false; once13 = false; } if (ranNum == 2) { step14 = true; once13 = false; } } if (_parent._parent.e.hitTest(hitBox) and e == true) { _parent.nextFrame(); } if (step6 == true) { this.gotoAndStop('upsidedown'); this._x -= 6; } if (_parent._parent.j.hitTest(hitBox) and once11 == true and j == true) { step6 = false; ranNum = random(2) + 1; if (ranNum == 1) { step13 = true; once11 = false; } if (ranNum == 2) { step6 = true; d = false; l = false; once11 = false; } } if (_parent._parent.f.hitTest(hitBox) and once5 == true and f == true) { step6 = false; ranNum = random(2) + 1; if (ranNum == 1) { step7 = true; once5 = false; } if (ranNum == 2) { step7 = true; once5 = false; } } if (step7 == true) { c = false; this.gotoAndStop('down2'); this._y += 6; } if (_parent._parent.g.hitTest(hitBox) and once6 == true and g == true) { step7 = false; ranNum = random(2) + 1; if (ranNum == 1) { step12 = true; once6 = false; } if (ranNum == 2) { step8 = true; once6 = false; } } if (step8 == true) { b = false; k = false; this.gotoAndStop('right2'); this._x += 6; } if (_parent._parent.h.hitTest(hitBox) and once7 == true and h == true) { step8 = false; ranNum = random(2) + 1; if (ranNum == 1) { step9 = true; once7 = false; } if (ranNum == 2) { step9 = true; once7 = false; } } if (step9 == true) { a = false; i = true; this.gotoAndStop('up2'); this._y -= 6; } if (_parent._parent.i.hitTest(hitBox) and once8 == true and i == true) { step9 = false; ranNum = random(2) + 1; if (ranNum == 1) { step10 = true; once8 = false; } if (ranNum == 2) { step10 = true; once8 = false; } } if (step10 == true) { this.gotoAndStop('right3'); this._x += 6; } if (step11 == true) { this.gotoAndStop('bigleft'); this._x -= 6; k = false; m = false; c = true; g = false; } if (_parent._parent.c.hitTest(hitBox) and once9 == true and c == true) { step11 = false; step4 = true; once9 = false; } if (step12 == true) { b = false; k = false; m = false; this.gotoAndStop('bigright'); this._x += 6; } if (_parent._parent.h.hitTest(hitBox) and once10 == true and h == true) { step12 = false; step9 = true; once7 = false; } if (step13 == true) { this.gotoAndStop('fall-left'); this._y += velY; velY += 0.5; } if (_parent._parent.k.hitTest(hitBox) and once12 == true and k == true) { step13 = false; step3 = true; m = false; once12 = false; } if (step14 == true) { this.gotoAndStop('fall-right'); this._y += velY; velY += 0.5; m = true; } if (_parent._parent.m.hitTest(hitBox) and once14 == true and m == true) { step14 = false; step8 = true; h = true; once14 = false; } if (_parent.hit == true) { if (health >= 1) { health -= _root.holder.world.weaponDamage; _parent.hit = false; } if (health <= 1) { gotoAndStop('die'); sound = new Sound(); sound.attachSound('AlienDie'); sound.start(0, 0); _root.aliensKilled += 1; trace(_root.aliensKilled); _root.panel.bosspanel.prevFrame(); _parent.go = false; } } } } if (_root.AliensDieNow == true and oncee == true) { _parent.go = false; gotoAndStop('die2'); oncee = false; } } } frame 2 { go = true; prevFrame(); } } movieClip 1397 { } movieClip 1400 { } movieClip 1401 { frame 9 { stop(); } frame 10 { stopAllSounds(); _root.madeIt = true; _parent._parent.completeStop = true; _parent._parent.player.gotoAndStop('teleport'); } frame 10 { sound = new Sound(); sound.attachSound('Teleporter_Sound'); sound.start(0, 1); } frame 25 { stop(); _root.gameCompleted = true; _root.holder.gameover.gotoAndStop(4); } } movieClip 1402 { frame 1 { stop(); } frame 1 { exitsign.gotoAndPlay(2); } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { _parent.gotoAndStop(2); } } frame 2 { } instance hitBox of movieClip 43 { onClipEvent (enterFrame) { if (_parent._parent.player.ladderDownBox.hitTest(_parent.doorBox)) { _parent.door.gotoAndPlay('teleport'); } } } } movieClip 1420 { } movieClip 1427 { } movieClip 1436 { } movieClip 1441 { } movieClip 1442 { frame 1 { stop(); } frame 1411 { stop(); } } movieClip 1444 { } movieClip 1455 { frame 1 { _root.keyholeoneused = false; _root.keyholetwoused = false; _root.pinkDone = false; _root.specialHeartTaken = false; currentScore = 0; _root.comboScore = 0; _root.bestCombo = 0; _root.comboTimer = 0; _root.comboKills = 0; hitsLeft = 5; enemiesNumberi = 0; _root.panel.score = 1000000; _root.panel.heartpanel.gotoAndStop(5); _root.panel._visible = false; _root.gotHitByRobotBoss = false; _root.scrolling2OK = true; _root.coinsNumber = 0; _root.redNumber = 0; _root.greenNumber = 0; _root.blueNumber = 0; _root.bonusNumber = 0; _root.panel.redkeysmall = 0; _root.panel.bluekeysmall = 0; _root.panel.pinkkeysmall = 0; _root.panel.coins = ['0' + _root.coinsNumber]; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.gameOver = false; if (_root.usedPassword == true) { if (_root.LVLONE == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLONE'); } if (_root.LVLTWO == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLTWO'); } if (_root.LVLTHREE == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLTHREE'); } if (_root.LVLFOUR == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLFOUR'); } if (_root.LVLFIVE == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLFIVE'); } if (_root.LVLSIX == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLSIX'); } if (_root.LVLSEVEN == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLSEVEN'); } if (_root.LVLEIGHT == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLEIGHT'); } if (_root.LVLNINE == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLNINE'); } if (_root.LVLTEN == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLTEN'); } if (_root.LVLELEVEN == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLELEVEN'); } if (_root.LVLTWELVE == true) { _root.fader.gotoAndPlay('nospecialfadeout'); _root.timeToTele = false; gotoAndStop('LVLTWELVE'); } } } frame 1 { this.onEnterFrame = function () { if (_root.timeToTele == true) { if (_root.LVLONE == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLONE'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLTWO == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLTWO'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLTHREE == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLTHREE'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLFOUR == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLFOUR'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLFIVE == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLFIVE'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLSIX == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLSIX'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLSEVEN == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLSEVEN'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLEIGHT == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLEIGHT'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLNINE == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLNINE'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLTEN == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLTEN'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLELEVEN == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLELEVEN'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } if (_root.LVLTWELVE == true) { _root.readytext.gotoAndStop(72); _root.LVL = 'LVLTWELVE'; _root.fader.gotoAndPlay('levelfadeout'); _root.timeToTele = false; } } if (completeStop == false) { ++timer; ++smokeTimer; enemyi = 0; while (enemyi < enemiesNumberi) { if (player.hitBox2.hitTest(this['enemy' + enemyi].enemy.hitBox) and immune == false) { player.gotoAndStop('hit'); player.weaponfire._visible = false; player.weaponfirestandard._visible = false; player.weaponfirefast._visible = false; player.weaponfiremedium._visible = false; player.weaponfireslow._visible = false; player.MC._visible = false; player.MC2._visible = false; player.MCBlueFire._visible = false; gotHit = true; lockEverything = true; velF = 7; velY = -9; beingHitCode = true; jumping3 = true; immune = true; if (hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); hitsLeft -= 1; } if (hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; player.gotoAndStop('die'); completeStop = true; } } ++enemyi; } if (_root.gotHitByRobotBoss == true and immune == false) { player.gotoAndStop('hit'); player.weaponfire._visible = false; player.weaponfirestandard._visible = false; player.weaponfirefast._visible = false; player.weaponfiremedium._visible = false; player.weaponfireslow._visible = false; player.MC._visible = false; player.MC2._visible = false; player.MCBlueFire._visible = false; gotHit = true; lockEverything = true; velF = 7; velY = -9; beingHitCode = true; jumping3 = true; immune = true; if (hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); hitsLeft -= 1; } if (hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; player.gotoAndStop('die'); completeStop = true; } } if (beingHitCode == true) { ++immuneTimer; ++flickerTimer; if (immune2 == true) { if (immuneTimer >= 120) { player._alpha = 100; immune = false; _root.gotHitByRobotBoss = false; _root.hitByRobotBossOnce = false; immune2 = false; beingHitCode = false; } if (flickerTimer == 1) { player._alpha = 50; } if (flickerTimer == 2) { player._alpha = 100; flickerTimer = 0; } } if (jumping3 == true) { if (directon == 'right') { player._x -= playerHitMoveSpeed; } if (directon == 'left') { player._x += playerHitMoveSpeed; } player._y += velY; velY += 1; if (velY >= 0.4) { falling3 = true; } } if (falling3 == true) { player._y += velF; velF += 0.4; groundi = 0; while (groundi < groundNumber) { if (player.hitBox.hitTest(this['ground' + groundi])) { lastGround = this['ground' + groundi]; player._y = this['ground' + groundi]._y - 48; runSpeedAccR = 0; falling3 = false; jumping3 = false; velF = 7; velY = -16; fireWhenFalling = false; inAir = false; immune2 = true; flickerTimer = 0; immuneTimer = 0; lockEverything = false; falling = false; jumping = false; fireWhenFalling = false; inAir = false; gotHit = false; goGo = true; } ++groundi; } if (velY >= 5) { velY = 5; } } } if (lockEverything == false) { if (lockALL == false) { if (jumping == true and Key.isDown(_root.rightKey)) { attachSmoke = false; } if (Key.isDown(_root.rightKey) and !Key.isDown(_root.leftKey) and !Key.isDown(_root.downKey) and shootUpward == false and ranLeft == false) { stopGlideFrame = false; ranRight = true; runSpeedAccR += 0.8; if (runSpeedAccR >= 11) { runSpeedAccR = 11; } player._x += runSpeedAccR; } else { if (runSpeedAccR >= 0 and ranRight == true) { runSpeedAccR -= 0.8; if (runSpeedAccR <= 1) { runSpeedAccR = 0; lockDirection = false; goGlideRight = false; gliding = false; ranRight = false; attachSmoke = false; } if (runSpeedAccR >= 6) { goGlideRight = true; gliding = true; } if (goGlideRight == true) { lockDirection = true; attachSmoke = true; if (Key.isDown(_root.leftKey) and runSpeedAccR >= 9 and !Key.isDown(_root.upKey) and inAir == false and springJumping == false) { stopGlideFrame = true; player.gotoAndStop('glideturn'); } if (jumping == true and stopGlideFrame == false and springJumping == false) { player.gotoAndStop('jumping'); attachSmoke = false; } if (jumping == false and stopGlideFrame == false and springJumping == false) { player.gotoAndStop('glide'); } } } player._x += runSpeedAccR; } if (Key.isDown(_root.leftKey) and !Key.isDown(_root.rightKey) and !Key.isDown(_root.downKey) and shootUpward == false and ranRight == false) { stopGlideFrame = false; ranLeft = true; runSpeedAccL -= 0.8; if (runSpeedAccL <= -11) { runSpeedAccL = -11; } player._x += runSpeedAccL; } else { if (runSpeedAccL <= 0 and ranLeft == true) { runSpeedAccL += 0.8; lockDirection = true; if (runSpeedAccL >= -1) { runSpeedAccL = 0; lockDirection = false; goGlideLeft = false; gliding = false; ranLeft = false; attachSmoke = false; } if (runSpeedAccL <= -6) { goGlideLeft = true; gliding = true; } if (goGlideLeft == true) { lockDirection = true; attachSmoke = true; if (Key.isDown(_root.rightKey) and runSpeedAccL <= -9 and !Key.isDown(_root.upKey) and inAir == false and springJumping == false) { stopGlideFrame = true; player.gotoAndStop('glideturn'); } if (jumping == true and stopGlideFrame == false and springJumping == false) { player.gotoAndStop('jumping'); attachSmoke = false; } if (jumping == false and stopGlideFrame == false and springJumping == false) { player.gotoAndStop('glide'); } } } player._x += runSpeedAccL; } if (attachSmoke == true and smokeTimer >= 5 and jumping == false and falling == false) { this.attachMovie('smoke', 'smoke' + smokeCount, smokeCount); lastSmoke = this['smoke' + smokeCount]; smokeCount += 1; smokeTimer = 0; if (goGlideRight == true) { lastSmoke._x = _root.holder.world.player._x - 39; lastSmoke._y = _root.holder.world.player._y + 18; } else { lastSmoke._x = _root.holder.world.player._x + 11; lastSmoke._y = _root.holder.world.player._y + 18; } } if (lockDirection == false) { if (Key.isDown(_root.rightKey) and !Key.isDown(_root.leftKey) and jumping == false and !Key.isDown(_root.downKey)) { directon = 'right'; player._xscale = 100; player.gotoAndStop('running'); } if (Key.isDown(_root.leftKey) and !Key.isDown(_root.rightKey) and jumping == false and !Key.isDown(_root.downKey)) { directon = 'left'; player._xscale = -100; player.gotoAndStop('running'); } if (!Key.isDown(_root.leftKey) and !Key.isDown(_root.rightKey) and jumping == false and !Key.isDown(_root.downKey) and !Key.isDown(_root.fireKey)) { if (ranRight == false) { justShot = false; shootingLow = false; player.gotoAndStop('standing'); } if (ranLeft == false) { justShot = false; shootingLow = false; } if (ranRight == true) { justShot = false; shootingLow = false; } if (ranLeft == true) { justShot = false; shootingLow = false; } } if (Key.isDown(_root.leftKey) and Key.isDown(_root.rightKey) and jumping == false and Key.isDown(_root.downKey) and Key.isDown(_root.fireKey) and springJumping == false) { justShot = false; shootingLow = false; player.gotoAndStop('standing'); } if (Key.isDown(_root.leftKey) and Key.isDown(_root.rightKey) and springJumping == false) { stopAll = true; player.gotoAndStop('standing'); } else { stopAll = false; } if (Key.isDown(_root.leftKey) and Key.isDown(_root.rightKey) and Key.isDown(_root.downKey) and Key.isDown(_root.fireKey)) { stopAll = true; player.gotoAndStop('standing'); } else { stopAll = false; } if (Key.isDown(_root.fireKey) and !Key.isDown(_root.downKey) and jumping == false and !Key.isDown(_root.leftKey) and stopAll == false and springJumping == false) { if (Key.isDown(_root.rightKey)) { shootingDirection = 'runshootright'; directon = 'right'; player._xscale = 100; player.gotoAndStop('running'); if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } else { if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } } if (Key.isDown(_root.fireKey) and !Key.isDown(_root.downKey) and !Key.isDown(_root.upKey) and jumping == false and !Key.isDown(_root.rightKey) and stopAll == false and springJumping == false) { if (Key.isDown(_root.leftKey)) { shootingDirection = 'runshootleft'; directon = 'left'; player._xscale = -100; player.gotoAndStop('running'); if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } else { if (currentWeapon == 'bullet') { player.gotoAndStop('standshoot'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('standshootfast'); } if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } } if (Key.isDown(_root.downKey) and jumping == false and shooting == false) { if (justShot == false) { player.gotoAndStop('ducking'); } else { player.gotoAndStop('ducking2'); } } if (Key.isDown(_root.downKey) and Key.isDown(_root.fireKey) and jumping == false and shootingdownright == false and shootingdownleft == false and falling == false) { if (currentWeapon == 'bullet') { player.gotoAndStop('shootlow'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootlowfast'); } shootingDirection = 'shootlow' + directon; justShot = true; } if (Key.isDown(_root.downKey) and Key.isDown(_root.fireKey) and Key.isDown(_root.rightKey) and jumping == false and falling == false) { shootingdownright = true; directon = 'right'; shootingDirection = 'shootdownforwardright'; if (currentWeapon == 'bullet') { player.gotoAndStop('shootdownforward'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootdownforwardfast'); } player._xscale = 100; } else { shootingdownright = false; } if (Key.isDown(_root.downKey) and Key.isDown(_root.fireKey) and Key.isDown(_root.leftKey) and jumping == false and falling == false) { shootingdownleft = true; directon = 'left'; shootingDirection = 'shootdownforwardleft'; if (currentWeapon == 'bullet') { player.gotoAndStop('shootdownforward'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootdownforwardfast'); } player._xscale = -100; } else { shootingdownleft = false; } if (!Key.isDown(_root.downKey) and !Key.isDown(_root.upKey) and !Key.isDown(_root.rightKey) and !Key.isDown(_root.leftKey)) { shootingDirection = 'standshoot' + directon; } } if (!Key.isDown(_root.downKey) and Key.isDown(_root.rightKey) and shootUpward == false) { lockDirection = false; shootDownward = false; } if (!Key.isDown(_root.downKey) and Key.isDown(_root.leftKey) and shootUpward == false) { lockDirection = false; shootDownward = false; } if (Key.isDown(_root.fireKey) and Key.isDown(_root.upKey) and Key.isDown(_root.rightKey) and jumping == false and shootDownward == false and falling == false) { lockDirection = true; shootUpward = true; shootingDirection = 'shootupforwardright'; if (currentWeapon == 'bullet') { player.gotoAndStop('shootupforward'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootupforwardfast'); } directon = 'right'; player._xscale = 100; if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } if (!Key.isDown(_root.upKey) and Key.isDown(_root.rightKey) and shootDownward == false) { lockDirection = false; shootUpward = false; } if (!Key.isDown(_root.upKey) and Key.isDown(_root.leftKey) and shootDownward == false) { lockDirection = false; shootUpward = false; } if (Key.isDown(_root.fireKey) and Key.isDown(_root.upKey) and Key.isDown(_root.leftKey) and jumping == false and shootDownward == false and falling == false) { lockDirection = true; shootUpward = true; shootingDirection = 'shootupforwardleft'; if (currentWeapon == 'bullet') { player.gotoAndStop('shootupforward'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootupforwardfast'); } directon = 'left'; player._xscale = -100; if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } if (!Key.isDown(_root.fireKey) and Key.isDown(_root.upKey) and Key.isDown(_root.leftKey)) { shootUpward = false; } if (!Key.isDown(_root.fireKey) and Key.isDown(_root.upKey) and Key.isDown(_root.rightKey)) { shootUpward = false; } if (timer >= fireSpeed and Key.isDown(_root.downKey) and Key.isDown(_root.fireKey) and jumping == false) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } if (timer >= fireSpeed and Key.isDown(_root.fireKey) and jumping == true and springJumping == false) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } if (Key.isDown(_root.fireKey) and springJumping == false) { shooting = true; if (currentWeapon == 'flamethrower') { doneShooting = true; } } else { shooting = false; if (doneShooting == true and currentWeapon == 'flamethrower' and gliding == false) { sound = new Sound(); sound.attachSound('Flamethrowerb'); sound.start(0, 0); doneShooting = false; } } ++soundTimer; if (shooting == true and soundTimer >= 5 and currentWeapon == 'flamethrower' and gliding == false) { sound = new Sound(); sound.attachSound('Flamethrowerc'); sound.start(0, 0); soundTimer = 0; } if (Key.isDown(_root.fireKey) and fireWhenFalling == true and springJumping == false) { player.MC._visible = true; player.MC2._visible = true; player.MCBlueFire._visible = false; } if (Key.isDown(_root.fireKey) and fireWhenFalling == false and springJumping == false) { player.MC._visible = false; player.MC2._visible = false; player.MCBlueFire._visible = false; } if (Key.isDown(_root.fireKey) and Key.isDown(_root.upKey) and jumping == false and !Key.isDown(_root.rightKey) and !Key.isDown(_root.leftKey) and falling == false) { lockDirection = true; shootingDirection = 'shootup' + directon; if (currentWeapon == 'bullet') { player.gotoAndStop('shootup'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('shootupfast'); } if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } if (!Key.isDown(_root.upKey)) { lockDirection = false; } if (Key.isDown(_root.rightKey) and !Key.isDown(_root.leftKey) and jumping == true and falling == false) { shootingDirection = 'standshootright'; directon = 'right'; player._xscale = 100; } if (Key.isDown(_root.leftKey) and !Key.isDown(_root.rightKey) and jumping == true and falling == false) { shootingDirection = 'standshootleft'; directon = 'left'; player._xscale = -100; } if (Key.isDown(_root.fireKey) and jumping == true and springJumping == false) { if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } } if (!Key.isDown(_root.fireKey)) { lockDirection = false; player.weaponfire._visible = false; player.weaponfirestandard._visible = false; player.weaponfirefast._visible = false; player.weaponfiremedium._visible = false; player.weaponfireslow._visible = false; player.MC._visible = false; player.MC2._visible = false; player.MCBlueFire._visible = false; } if (Key.isDown(_root.upKey) and falling == false and jumping == false and placeReleasedSpace == true and lockDirection == false and shootUpward == false and !player.ladderBox.hitTest(ladderX)) { player.gotoAndStop('jumping'); attachSmoke = false; jumping = true; inAir = true; placeReleasedSpace = false; } if (Key.isDown(_root.downKey) and falling == false and jumping == false and placeReleasedSpace == true and lockDirection == false and shootUpward == false and !player.ladderBox.hitTest(ladderX)) { if (player.ladderDownBox.hitTest(ladderX)) { player._y += 10; lockALL = true; falling = false; velY = -16; } } if (!Key.isDown(_root.upKey) and lockDirection == false) { placeReleasedSpace = true; } if (falling == true) { springJumping = false; player.gotoAndStop('falling'); player._y += velF; velF += 0.6; groundi = 0; while (groundi < groundNumber) { if (player.hitBox.hitTest(this['ground' + groundi])) { lastGround = this['ground' + groundi]; velY = -16; velF = 5; player._y = this['ground' + groundi]._y - 48; falling = false; jumping = false; fireWhenFalling = false; inAir = false; } ++groundi; } if (velY >= 5) { velY = 5; } if (velF >= 22.6) { velF = 22; 6; } } if (!player.hitBox.hitTest(lastGround) and jumping == false and falling == false) { falling = true; velF = 10; fireWhenFalling = true; } if (jumping == true) { if (springJumping == true) { player._y += velY; velY += 1; } else { player._y += velY; velY += 1; } } if (velY >= 0.4) { falling = true; } } if (player.ladderBox.hitTest(ladderX) and Key.isDown(_root.upKey) and !Key.isDown(_root.fireKey) and !Key.isDown(_root.leftKey) and !Key.isDown(_root.rightKey) and jumping2 == false) { lockALL = true; falling = false; velY = -16; } if (lockALL == true) { if (!player.ladderBox.hitTest(ladderX)) { if (jumping2 == false) { climbFalling = true; velF = 13; } if (jumping2 == true) { } } if (player.ladderBox.hitTest(ladderX) and Key.isDown(_root.upKey) and jumping2 == false) { lockALL = true; climbFalling = false; } if (Key.isDown(_root.upKey) and falling == false and jumping2 == false) { player._y -= 4; player._xscale = 100; player.gotoAndStop('climbingup'); climbShooting = false; player.MC._visible = false; } if (Key.isDown(_root.downKey) and falling == false and jumping2 == false) { player._y += 4; player._xscale = 100; player.gotoAndStop('climbingdown'); climbShooting = false; player.MC._visible = false; } if (!Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and climbShooting == false and directon == 'right' and falling == false and jumping2 == false) { shootingDirection = 'climbright'; directon = 'right'; player._xscale = 100; player.gotoAndStop('hangaim'); player.MC._visible = false; } if (!Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and climbShooting == false and directon == 'left' and falling == false and jumping2 == false) { shootingDirection = 'climbleft'; directon = 'left'; player._xscale = -100; player.gotoAndStop('hangaim'); player.MC._visible = false; } if (!Key.isDown(_root.fireKey) and falling == false and jumping2 == false) { climbShooting = false; if (doneShooting2 == false and currentWeapon == 'flamethrower') { sound = new Sound(); sound.attachSound('Flamethrowerb'); sound.start(0, 0); doneShooting2 = true; } } ++soundTimer; if (Key.isDown(_root.fireKey) and directon == 'right' and falling == false and !Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and jumping2 == false) { shootingDirection = 'climbright'; directon = 'right'; if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } if (climbShooting == false and jumping2 == false) { if (currentWeapon == 'bullet') { player.gotoAndStop('hangshoot'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('hangshootfast'); } climbShooting = true; } if (soundTimer >= 5 and currentWeapon == 'flamethrower') { sound.stop(0, 0); sound = new Sound(); sound.attachSound('Flamethrowerc'); sound.start(0, 0); soundTimer = 0; doneShooting2 = false; } } if (Key.isDown(_root.fireKey) and directon == 'left' and falling == false and !Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and jumping2 == false) { shootingDirection = 'climbleft'; directon = 'left'; if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } if (climbShooting == false and jumping2 == false) { if (currentWeapon == 'bullet') { player.gotoAndStop('hangshoot'); } if (currentWeapon == 'flamethrower') { player.gotoAndStop('hangshootfast'); } climbShooting = true; } if (soundTimer >= 5 and currentWeapon == 'flamethrower') { sound.stop(0, 0); sound = new Sound(); sound.attachSound('Flamethrowerc'); sound.start(0, 0); soundTimer = 0; doneShooting2 = false; } } if (Key.isDown(_root.rightKey) and falling == false and jumping2 == false) { directon = 'right'; shootingDirection = 'climbright'; player._x += 2; if (!Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and jumping2 == false) { player._xscale = 100; } } if (Key.isDown(_root.leftKey) and falling == false and jumping2 == false) { directon = 'left'; shootingDirection = 'climbleft'; player._x -= 2; if (!Key.isDown(_root.upKey) and !Key.isDown(_root.downKey) and jumping2 == false) { player._xscale = -100; } } if (Key.isDown(_root.rightKey) and falling == true and jumping2 == false) { directon = 'right'; player._x += 9; player._xscale = 100; } if (Key.isDown(_root.leftKey) and falling == true and jumping2 == false) { directon = 'left'; player._x -= 9; player._xscale = -100; } if (Key.isDown(_root.upKey) and Key.isDown(_root.rightKey) and falling == false and jumping2 == false) { directon = 'right'; player.gotoAndStop('jumping'); jumping2 = true; player._xscale = 100; } if (Key.isDown(_root.upKey) and Key.isDown(_root.leftKey) and falling == false and jumping2 == false) { directon = 'left'; player.gotoAndStop('jumping'); jumping2 = true; player._xscale = -100; } if (climbFalling == true) { if (directon == 'right') { player.gotoAndStop('falling'); player._xscale = 100; if (Key.isDown(_root.fireKey) and springJumping == false) { if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } } } if (directon == 'left') { player.gotoAndStop('falling'); player._xscale = -100; if (Key.isDown(_root.fireKey) and springJumping == false) { if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } } } player._y += velF; velF += 0.9; groundi = 0; while (groundi < groundNumber) { if (player.hitBox.hitTest(this['ground' + groundi])) { lastGround = this['ground' + groundi]; player._y = this['ground' + groundi]._y - 48; velY = -16; velF = 5; climbFalling = false; jumping = false; jumping2 = false; runSpeedAccR = 0; runSpeedAccL = 0; lockALL = false; placeReleasedSpace = false; goGo = true; } ++groundi; } if (velY >= 5) { velY = 5; } } if (jumping2 == true) { if (Key.isDown(_root.fireKey) and springJumping == false) { if (currentWeapon == 'bullet') { player.weaponfirestandard._visible = true; } if (currentWeapon == 'flamethrower') { player.weaponfirefast._visible = true; } if (timer >= fireSpeed) { this.attachMovie(currentWeapon, currentWeapon + shots, shots); shots += 1; timer = 0; } } if (directon == 'right') { player._x += 4; } if (directon == 'left') { player._x -= 4; } player._y += velY; velY += 1; if (velY >= 0.4) { climbFalling = true; } } } } lefti = 0; while (lefti < leftNumber) { if (player.hitBox2.hitTest(this['left' + lefti])) { player._x -= runSpeedAccL; if (gotHit == true) { player._x += playerHitMoveSpeed; } } ++lefti; } righti = 0; while (righti < rightNumber) { if (player.hitBox2.hitTest(this['right' + righti])) { player._x -= runSpeedAccR; if (gotHit == true) { player._x -= playerHitMoveSpeed; } } ++righti; } topi = 0; while (topi < topNumber) { if (player.hitBox2.hitTest(this['top' + topi]) and falling == false) { velY = 0; } ++topi; } ladderi = 0; while (ladderi < ladderNumber) { if (player.hitBoxNEW.hitTest(this['ladderX' + ladderi])) { ladderX = this['ladderX' + ladderi]; } ++ladderi; } flamethroweri = 0; while (flamethroweri < flamethroweritemNumber) { if (player.hitBox2.hitTest(this['flamethroweritem' + flamethroweri].hitBox)) { currentWeapon = 'flamethrower'; weaponDamage = flamethrowerdmg; fireSpeed = flamethrowerFireSpeed; _root.panel.weaponpanel.gotoAndStop('flamethrower'); sound = new Sound(); sound.attachSound('WeaponSound'); sound.start(0, 0); this['flamethroweritem' + flamethroweri].gotoAndStop(2); _root.panel.ammopanel.gotoAndStop(1); weaponTimer = true; } ++flamethroweri; } bonusi = 0; while (bonusi < bonusitemNumber) { if (player.hitBox2.hitTest(this['bonusitems' + bonusi].hitBox)) { _root.bonusNumber += 1; _root.panel.score += 100; sound = new Sound(); sound.attachSound('BonusItemSound'); sound.start(0, 0); this['bonusitems' + bonusi].gotoAndStop('remove'); } ++bonusi; } redkeyi = 0; while (redkeyi < redkeyNumber) { if (player.hitBox2.hitTest(this['redkey' + redkeyi].hitBox)) { _root.panel.redkeysmall += 1; sound = new Sound(); sound.attachSound('BonusItemSound'); sound.start(0, 0); this['redkey' + redkeyi].gotoAndStop('remove'); } ++redkeyi; } bluekeyi = 0; while (bluekeyi < bluekeyNumber) { if (player.hitBox2.hitTest(this['bluekey' + bluekeyi].hitBox)) { _root.panel.bluekeysmall += 1; sound = new Sound(); sound.attachSound('BonusItemSound'); sound.start(0, 0); this['bluekey' + bluekeyi].gotoAndStop('remove'); } ++bluekeyi; } pinkkeyi = 0; while (pinkkeyi < pinkkeyNumber) { if (player.hitBox2.hitTest(this['pinkkey' + pinkkeyi].hitBox)) { _root.panel.pinkkeysmall += 1; sound = new Sound(); sound.attachSound('BonusItemSound'); sound.start(0, 0); this['pinkkey' + pinkkeyi].gotoAndStop('remove'); } ++pinkkeyi; } coini = 0; while (coini < coinitemNumber) { if (player.hitBox2.hitTest(this['coinitem' + coini].hitBox)) { _root.coinsNumber += 1; _root.panel.score += 250; if (_root.coinsNumber <= 9) { _root.panel.coins = ['0' + _root.coinsNumber]; sound = new Sound(); sound.attachSound('CoinSound'); sound.start(0, 0); this['coinitem' + coini].gotoAndStop('remove'); } if (_root.coinsNumber > 9) { _root.panel.coins = [_root.coinsNumber]; sound = new Sound(); sound.attachSound('CoinSound'); sound.start(0, 0); this['coinitem' + coini].gotoAndStop('remove'); } } if (_root.coinsNumber >= 100) { if (hitsLeft < 5) { _root.panel.heartpanel.nextFrame(); hitsLeft += 1; } _root.panel.coins = ['00']; _root.coinsNumber = 0; } ++coini; } redmarblei = 0; while (redmarblei < redmarbleNumber) { if (player.hitBox2.hitTest(this['redmarble' + redmarblei].hitBox)) { _root.redNumber -= 1; if (_root.redNumber <= 9) { _root.panel.red = ['0' + _root.redNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['redmarble' + redmarblei].gotoAndStop('remove'); } if (_root.redNumber > 9) { _root.panel.red = [_root.redNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['redmarble' + redmarblei].gotoAndStop('remove'); } } ++redmarblei; } greenmarblei = 0; while (greenmarblei < greenmarbleNumber) { if (player.hitBox2.hitTest(this['greenmarble' + greenmarblei].hitBox)) { _root.greenNumber -= 1; if (_root.greenNumber <= 9) { _root.panel.green = ['0' + _root.greenNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['greenmarble' + greenmarblei].gotoAndStop('remove'); } if (_root.greenNumber > 9) { _root.panel.green = [_root.greenNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['greenmarble' + greenmarblei].gotoAndStop('remove'); } } ++greenmarblei; } bluemarblei = 0; while (bluemarblei < bluemarbleNumber) { if (player.hitBox2.hitTest(this['bluemarble' + bluemarblei].hitBox)) { _root.blueNumber -= 1; if (_root.blueNumber <= 9) { _root.panel.blue = ['0' + _root.blueNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['bluemarble' + bluemarblei].gotoAndStop('remove'); } if (_root.blueNumber > 9) { _root.panel.blue = [_root.blueNumber]; sound = new Sound(); sound.attachSound('MarbleSound'); sound.start(0, 0); this['bluemarble' + bluemarblei].gotoAndStop('remove'); } } ++bluemarblei; } ++weaponTimer2; if (weaponTimer == true) { _root.fullPower = true; if (weaponTimer2 >= 15) { _root.panel.ammopanel.nextFrame(); weaponTimer2 = 0; } } springi = 0; while (springi < springNumber) { if (player.hitBox2.hitTest(this['spring' + springi].hitBox) and falling == true) { this['spring' + springi].play(); player.gotoAndStop('springjump'); player.MC._visible = false; springTimer = 0; hello = true; falling = false; fireWhenFalling = false; inAir = false; jumping = false; springJumping = false; jumping = true; springJumping = true; } ++springi; } if (springJumping == true and hello == true) { ++springTimer; if (springTimer < 20) { sound = new Sound(); sound.attachSound('boing1'); sound.start(0, 0); if (Key.isDown(_root.upKey)) { velY = -25; velF = 5; hello = false; } else { velY = -16.5; velF = 5; hello = false; } } } } if (_root.gameOver == true) { _parent.gameover.gotoAndStop(2); if (Key.isDown(82) and _root.clickedOnce == false) { _root.fader.gotoAndPlay('reset'); _root.clickedOnce = true; } if (Key.isDown(83) and _root.clickedOnce == false) { _root.holder.gameover.hs.gotoAndStop(2); _root.clickedOnce = true; } if (Key.isDown(77) and _root.clickedOnce == false) { _root.fader.gotoAndPlay('backtomenu'); _root.clickedOnce = true; } } if (Key.isDown(_root.suicideKey) and _root.clickedOnce == false) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; player.gotoAndStop('die'); completeStop = true; } if (_root.comboKills >= 1) { ++_root.comboTimer; if (_root.comboKills == 1) { _root.ComboStuff2.gotoAndPlay('one'); } if (_root.comboKills == 2) { _root.ComboStuff2.gotoAndPlay('two'); } if (_root.comboKills >= 3) { _root.ComboStuff.gotoAndStop(2); _root.ComboStuff2.gotoAndStop(1); _root.ComboStuff2.gotoAndStop(1); } if (_root.comboTimer >= 60) { if (_root.comboKills >= 3) { currentScore = _root.panel.score; _root.panel.score += _root.comboKills * 100 * _root.comboKills; _root.comboScore = _root.panel.score - currentScore; _root.comboKillsManaged = _root.comboKills; _root.comboKills = 0; _root.comboTimer = 0; currentScore = 0; _root.ComboStuff.gotoAndStop(3); } if (_root.comboKills == 2) { currentScore = _root.panel.score; _root.panel.score += _root.comboKills * 100 * _root.comboKills; _root.comboScore = _root.panel.score - currentScore; _root.comboKillsManaged = _root.comboKills; _root.comboKills = 0; _root.comboTimer = 0; currentScore = 0; _root.ComboStuff2.gotoAndStop(1); _root.ComboStuff2.gotoAndStop(1); _root.ComboStuff.gotoAndStop(3); } if (_root.comboKills == 1) { _root.comboKills = 0; _root.comboTimer = 0; currentScore = 0; _root.ComboStuff2.gotoAndStop(1); _root.ComboStuff2.gotoAndStop(1); _root.ComboStuff.gotoAndStop(1); } } } }; } frame 2 { stop(); _root.panel.bosspanel.gotoAndStop(1); doorstagetune._visible = false; velF = 7; velY = -16; springJumping = false; _root.panel._visible = true; _root.fader.gotoAndPlay(1); _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; topNumber = 9; groundNumber = 41; soundTimer = 0; leftNumber = 29; rightNumber = 8; ladderNumber = 3; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 0; redmarbleNumber = 0; greenmarbleNumber = 0; bluemarbleNumber = 0; coinitemNumber = 0; bonusitemNumber = 16; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } LVL1.thisNumber = '1'; LVL2.thisNumber = '2'; LVL3.thisNumber = '3'; LVL4.thisNumber = '4'; LVL5.thisNumber = '5'; LVL6.thisNumber = '6'; LVL7.thisNumber = '7'; LVL8.thisNumber = '8'; LVL9.thisNumber = '9'; LVL10.thisNumber = '10'; LVL11.thisNumber = '11'; LVL12.thisNumber = '12'; if (_root.LVLONE == true) { LVL1.gotoAndStop('activated'); } if (_root.LVLTWO == true) { LVL2.gotoAndStop('activated'); completeStop = true; player._visible = false; LVL1.gotoAndStop(5); _root.holder.world._x = -548.3; _root.holder.world._y = -165.5; _root.holder.world.player._x = 948.3; _root.holder.world.player._y = 380.5; } if (_root.LVLTHREE == true) { _root.ballcolor1 = 'green'; _root.ballcolor2 = 'red'; _root.ballcolor3 = 'green'; _root.ballcolor4 = 'green'; _root.ballcolor5 = 'blue'; _root.readytext.gotoAndStop('passframe'); LVL3.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(5); completeStop = true; player._visible = false; hitsLeft = 5; _root.panel.heartpanel.gotoAndStop(5); _root.holder.world._x = -999.9; _root.holder.world._y = 88.55; _root.holder.world.player._x = 1399.9; _root.holder.world.player._y = 126.45; } if (_root.LVLFOUR == true) { LVL4.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(5); completeStop = true; player._visible = false; _root.holder.world._x = -1428.25; _root.holder.world._y = 57.5; _root.holder.world.player._x = 2099.4; _root.holder.world.player._y = 157.45; } if (_root.LVLFIVE == true) { _root.ballcolor1 = 'blue'; _root.ballcolor2 = 'red'; _root.ballcolor3 = 'green'; _root.ballcolor4 = 'red'; _root.ballcolor5 = 'red'; _root.readytext.gotoAndStop('passframe'); LVL5.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(5); completeStop = true; player._visible = false; hitsLeft = 5; _root.panel.heartpanel.gotoAndStop(5); _root.holder.world._x = -1437.2; _root.holder.world._y = 568.5; _root.holder.world.player._x = 1962.8; _root.holder.world.player._y = -353.5; } if (_root.LVLSIX == true) { LVL6.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(5); completeStop = true; player._visible = false; _root.holder.world._x = -1089.8; _root.holder.world._y = 824.5; _root.holder.world.player._x = 1489.8; _root.holder.world.player._y = -609.5; } if (_root.LVLSEVEN == true) { _root.ballcolor1 = 'blue'; _root.ballcolor2 = 'blue'; _root.ballcolor3 = 'blue'; _root.ballcolor4 = 'red'; _root.ballcolor5 = 'green'; _root.readytext.gotoAndStop('passframe'); LVL7.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(5); completeStop = true; player._visible = false; hitsLeft = 5; _root.panel.heartpanel.gotoAndStop(5); _root.holder.world._x = -749.2000000000001; _root.holder.world._y = 600.7000000000001; _root.holder.world.player._x = 1149.2; _root.holder.world.player._y = -385.7; } if (_root.LVLEIGHT == true) { LVL8.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(6); LVL7.gotoAndStop(5); completeStop = true; player._visible = false; _root.holder.world._x = -210.75; _root.holder.world._y = 824.5; _root.holder.world.player._x = 610.75; _root.holder.world.player._y = -609.5; } if (_root.LVLNINE == true) { _root.ballcolor1 = 'red'; _root.ballcolor2 = 'blue'; _root.ballcolor3 = 'red'; _root.ballcolor4 = 'green'; _root.ballcolor5 = 'green'; _root.readytext.gotoAndStop('passframe'); LVL9.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(6); LVL7.gotoAndStop(6); LVL8.gotoAndStop(5); completeStop = true; player._visible = false; hitsLeft = 5; _root.panel.heartpanel.gotoAndStop(5); _root.holder.world._x = 3.05; _root.holder.world._y = 1016.5; _root.holder.world.player._x = 353.1; _root.holder.world.player._y = -801.5; } if (_root.LVLTEN == true) { LVL10.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(6); LVL7.gotoAndStop(6); LVL8.gotoAndStop(6); LVL9.gotoAndStop(5); completeStop = true; player._visible = false; redlaserblocker.gotoAndStop(2); left25.gotoAndStop(2); _root.holder.world._x = 0.05; _root.holder.world._y = 472.5; _root.holder.world.player._x = 83.7; _root.holder.world.player._y = -257.5; } if (_root.LVLELEVEN == true) { _root.ballcolor1 = 'blue'; _root.ballcolor2 = 'blue'; _root.ballcolor3 = 'red'; _root.ballcolor4 = 'green'; _root.ballcolor5 = 'blue'; _root.readytext.gotoAndStop('passframe'); LVL11.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(6); LVL7.gotoAndStop(6); LVL8.gotoAndStop(6); LVL9.gotoAndStop(6); LVL10.gotoAndStop(5); completeStop = true; player._visible = false; redlaserblocker.gotoAndStop(2); left25.gotoAndStop(2); hitsLeft = 5; _root.panel.heartpanel.gotoAndStop(5); _root.holder.world._x = -791.8; _root.holder.world._y = -551.4; _root.holder.world.player._x = 1191.8; _root.holder.world.player._y = 766.4; } if (_root.LVLTWELVE == true) { LVL12.gotoAndStop('activated'); LVL1.gotoAndStop(6); LVL2.gotoAndStop(6); LVL3.gotoAndStop(6); LVL4.gotoAndStop(6); LVL5.gotoAndStop(6); LVL6.gotoAndStop(6); LVL7.gotoAndStop(6); LVL8.gotoAndStop(6); LVL9.gotoAndStop(6); LVL10.gotoAndStop(6); LVL11.gotoAndStop(5); completeStop = true; player._visible = false; redlaserblocker.gotoAndStop(2); left25.gotoAndStop(2); _root.holder.world._x = -1056.1; _root.holder.world._y = -935.4; _root.holder.world.player._x = 1456.1; _root.holder.world.player._y = 1150.4; } immune = true; immune2 = true; beingHitCode = true; } instance keyholeone of movieClip 375 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and _root.pinkDone == false and _root.keyholeoneused == false) { if (_root.panel.pinkkeysmall >= 1) { gotoAndStop(2); _parent.left26.gotoAndStop(2); _parent.pinkoneblocker.gotoAndStop(2); _root.panel.pinkkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); _root.keyholeoneused = true; } } } } instance doorstagetune of movieClip 43 { onClipEvent (load) { _root.startDoorStageTune = true; soundTimer = 0; soundVolume = 100; volumeChange = 20; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startDoorStageTune == true and once == true) { sound = new Sound(this); sound.attachSound('DoorStageTune'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } instance of movieClip 528 { onClipEvent (load) { f = random(8) + 1; gotoAndStop(f); } } instance keyholetwo of movieClip 375 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and _root.pinkDone == false and _root.keyholetwoused == false) { if (_root.panel.pinkkeysmall >= 1) { gotoAndStop(2); _parent.left27.gotoAndStop(2); _parent.pinktwoblocker.gotoAndStop(2); _root.panel.pinkkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); _root.keyholetwoused = true; } } } } instance of movieClip 375 { onClipEvent (load) { if (_root.pinkDone == true) { gotoAndStop(2); _parent.left26.gotoAndStop(2); _parent.left27.gotoAndStop(2); _parent.left28.gotoAndStop(2); _parent.keyholeone.gotoAndStop(2); _parent.keyholetwo.gotoAndStop(2); _parent.pinkoneblocker.gotoAndStop(2); _parent.pinktwoblocker.gotoAndStop(2); _parent.pinkthreeblocker.gotoAndStop(2); _parent.bonusitems1.gotoAndStop(2); _parent.bonusitems2.gotoAndStop(2); _parent.bonusitems3.gotoAndStop(2); _parent.bonusitems4.gotoAndStop(2); _parent.bonusitems5.gotoAndStop(2); _parent.bonusitems6.gotoAndStop(2); _parent.bonusitems7.gotoAndStop(2); _parent.bonusitems8.gotoAndStop(2); _parent.bonusitems9.gotoAndStop(2); _parent.bonusitems10.gotoAndStop(2); _parent.bonusitems11.gotoAndStop(2); _parent.bonusitems12.gotoAndStop(2); _parent.bonusitems13.gotoAndStop(2); _parent.bonusitems14.gotoAndStop(2); _parent.bonusitems15.gotoAndStop(2); } if (_root.specialHeartTaken == true) { _parent.heartMC._visible = false; } if (_root.keyholeoneused == true) { _parent.keyholeone.gotoAndStop(2); _parent.pinkoneblocker.gotoAndStop(2); _parent.left26.gotoAndStop(2); } if (_root.keyholetwoused == true) { _parent.keyholetwo.gotoAndStop(2); _parent.pinktwoblocker.gotoAndStop(2); _parent.left27.gotoAndStop(2); } } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and _root.pinkDone == false) { if (_root.panel.pinkkeysmall >= 1) { gotoAndStop(2); _parent.left28.gotoAndStop(2); _parent.pinkthreeblocker.gotoAndStop(2); _root.panel.pinkkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); _root.pinkDone = true; } } } } instance heartMC of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true and _root.specialHeartTaken == false) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; _root.specialHeartTaken = true; } if (_parent.hitsLeft == 5 and _root.specialHeartTaken == false) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; _root.specialHeartTaken = true; } } } } frame 3 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 4 { _root.LVLONE = false; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); springNumber = 2; _root.LVLONE = false; _root.LVLTWO = true; enemiesNumberi = 13; velF = 7; velY = -16; _root.redNumber = 3; _root.greenNumber = 3; _root.blueNumber = 3; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 8; groundNumber = 22; leftNumber = 8; rightNumber = 8; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 2; laseritemNumber = 0; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 9; bonusitemNumber = 17; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance levelonetune of movieClip 43 { onClipEvent (load) { _root.startBossOneTune = true; soundTimer = 0; soundVolume = 150; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound2 = new Sound(this); sound2.setVolume(soundVolume); sound2.attachSound('Level1a'); sound2.start(0, 0); sound2.onSoundComplete = function () { meh = true; }; soundVolume = 150; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { sound = new Sound(this); sound.setVolume(soundVolume); sound.attachSound('Level1b'); sound.start(0, 99); soundVolume = 150; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 150) { soundVolume = 150; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance enemy1 of movieClip 797 { onClipEvent (load) { changer = 45; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 0; } } instance enemy2 of movieClip 797 { onClipEvent (load) { changer = 60; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 30; } } instance enemy11 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy12 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy3 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy4 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy5 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy6 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy8 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy7 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy9 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy10 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } frame 5 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 6 { _root.LVLTWO = false; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); springNumber = 2; _root.scrolling2OK = false; _root.xFactorForFallingCoins = 705; _root.yFactorForFallingCoins = -317; _root.randomFactorForFallingCoins = 350; _root.holder.world._y = -_root.holder.world.player._y + 150; left2.gotoAndStop(2); ground3.gotoAndStop(2); ground4.gotoAndStop(2); _root.bossHitSound = 'BossBeingHitSound'; velF = 7; velY = -16; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 8; groundNumber = 21; leftNumber = 7; rightNumber = 8; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 0; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance hello of movieClip 43 { onClipEvent (load) { once = false; coinss = 300; timer = 0; _root.goGoCoinDrop = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.scrollLimitRight) and once == false) { _root.scrollingOK = false; _parent.boss.gotoAndStop(2); _root.startBossOneTune = true; _parent.left2.gotoAndStop(1); _root.panel.bosspanel.gotoAndPlay(3); once = true; } if (Key.isDown(85)) { _parent.shaker.gotoAndPlay(2); _root.goGoCoinDrop = true; } if (_root.goGoCoinDrop == true and coinss <= 320) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; } if (coinss >= 319 and _root.goGoCoinDrop == true) { ++timer; if (timer >= 220) { if (_parent.jumping == false and _parent.falling == false) { _parent.bossonetune.volumeChange = 5; _parent.bossonetune.soundFadeAway = true; _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = true; _root.goGoCoinDrop = false; } } } } } instance bossonetune of movieClip 43 { onClipEvent (load) { _root.startBossOneTune = false; soundTimer = 0; soundVolume = 100; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound = new Sound(this); sound.attachSound('BossOneTune'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 7 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 8 { _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); springNumber = 2; bluekeyNumber = 2; redkeyNumber = 2; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = true; enemiesNumberi = 30; velF = 7; velY = -16; _root.redNumber = 10; _root.greenNumber = 10; _root.blueNumber = 10; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 16; groundNumber = 42; leftNumber = 15; rightNumber = 14; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 2; laseritemNumber = 0; redmarbleNumber = 11; greenmarbleNumber = 11; bluemarbleNumber = 11; coinitemNumber = 10; bonusitemNumber = 25; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance of movieClip 915 { onClipEvent (load) { f = random(8) + 1; gotoAndStop(f); } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker2.gotoAndStop(2); _parent.right12.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker1.gotoAndStop(2); _parent.left10.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance ground39 of movieClip 934 { onClipEvent (load) { startPos = this._y; goingUp = true; goingDown = false; speed = 3; distanceValue = 200; } onClipEvent (enterFrame) { _parent.ground39._visible = true; if (_root.gameOver == true) { speed = 0; } if (this._y >= startPos + distanceValue) { goingUp = false; goingDown = true; } if (this._y <= startPos - distanceValue) { goingDown = false; goingUp = true; } if (goingDown == true) { this._y -= speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y -= speed; } } if (goingUp == true) { this._y += speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y += speed; } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance enemy14 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy16 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy17 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy15 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy13 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 60; } } instance enemy12 of movieClip 827 { onClipEvent (load) { changer = 20; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy4 of movieClip 827 { onClipEvent (load) { changer = 15; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy3 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy1 of movieClip 827 { onClipEvent (load) { changer = 20; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy10 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy7 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy6 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy8 of movieClip 797 { onClipEvent (load) { changer = 110; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy9 of movieClip 797 { onClipEvent (load) { changer = 110; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy2 of movieClip 797 { onClipEvent (load) { changer = 60; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy11 of movieClip 971 { onClipEvent (load) { xValue = 60; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy5 of movieClip 971 { onClipEvent (load) { xValue = 25; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy21 of movieClip 827 { onClipEvent (load) { changer = -300; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy20 of movieClip 827 { onClipEvent (load) { changer = -300; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy22 of movieClip 827 { onClipEvent (load) { changer = -200; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy19 of movieClip 827 { onClipEvent (load) { changer = -200; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance leveltwotune of movieClip 43 { onClipEvent (load) { _root.startBossOneTune = true; soundTimer = 0; soundVolume = 150; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound2 = new Sound(this); sound2.setVolume(soundVolume); sound2.attachSound('Level1a'); sound2.start(0, 0); sound2.onSoundComplete = function () { meh = true; }; soundVolume = 150; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { sound = new Sound(this); sound.setVolume(soundVolume); sound.attachSound('Level1b'); sound.start(0, 99); soundVolume = 150; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 150) { soundVolume = 150; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 9 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 10 { _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = true; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); _root.scrolling2OK = false; _root.scrollingOK = false; _root.xFactorForFallingCoins = 100; _root.yFactorForFallingCoins = -77; _root.randomFactorForFallingCoins = 230; _root.holder.world._y = -_root.holder.world.player._y + 336; _root.holder.world._x = -_root.holder.world.player._x + 265; completeStop = true; player._visible = false; _root.currentSprite = 2; _root.bossHitSound = 'ClubbingSound'; TinysaurSound = 'TinysaurSound'; _root.panel.bosspanel.gotoAndPlay(3); enemiesNumberi = 15; velF = 7; velY = -16; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 8; groundNumber = 21; leftNumber = 7; rightNumber = 8; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 0; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.foot) and _parent.immune == false and _root.dinoDefeated == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance enemy6 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy7 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy8 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy9 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy10 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy11 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy12 of movieClip 999 { onClipEvent (load) { directionRight = 12; directionLeft = -12; dinoType = 'left'; } } instance enemy1 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy2 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy3 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy4 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy5 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy13 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance enemy14 of movieClip 999 { onClipEvent (load) { directionRight = -12; directionLeft = 12; dinoType = 'right'; } } instance bosstwotune of movieClip 43 { onClipEvent (load) { _root.startBossTwoTune = true; soundTimer = 0; soundVolume = 100; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossTwoTune == true and once == true) { sound2 = new Sound(ground1); sound2.attachSound('BossTwoTuneA'); sound2.start(0, 0); sound2.onSoundComplete = function () { meh = true; }; soundVolume = 0; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { sound = new Sound(this); sound.attachSound('BossTwoTuneB'); sound.start(0, 99); soundVolume = 100; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } instance hello of movieClip 43 { onClipEvent (load) { timer = 0; timer2 = 0; timer3 = 0; _root.timer4 = 0; coinss = 300; _root.goGoCoinDrop = false; _root.dinoDefeated = false; } onClipEvent (enterFrame) { ++timer; ++timer2; ++_root.timer3; ++timer4; if (timer >= 5 and timer <= 5) { blink = random(150); blinking = true; timer2 = 0; } if (blinking == true and timer2 >= blink) { _parent.boss.boss.eyes.play(); timer = 0; blinking = false; } if (_root.goGoCoinDrop == true and coinss <= 320) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; } if (coinss >= 319 and _root.goGoCoinDrop == true) { ++_root.timer4; if (_root.timer4 >= 220) { if (_parent.jumping == false and _parent.falling == false) { _parent.bosstwotune.volumeChange = 5; _parent.bosstwotune.soundFadeAway = true; _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = true; _root.goGoCoinDrop = false; } } } } } frame 11 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 12 { _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); springNumber = 5; bluekeyNumber = 2; redkeyNumber = 2; pinkkeyNumber = 2; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = true; enemiesNumberi = 27; velF = 7; velY = -16; _root.redNumber = 8; _root.greenNumber = 8; _root.blueNumber = 8; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 4; soundTimer = 0; topNumber = 24; groundNumber = 41; leftNumber = 22; rightNumber = 32; ladderNumber = 4; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 3; laseritemNumber = 0; redmarbleNumber = 9; greenmarbleNumber = 9; bluemarbleNumber = 9; coinitemNumber = 50; bonusitemNumber = 69; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance of movieClip 915 { onClipEvent (load) { f = random(8) + 1; gotoAndStop(f); } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker1.gotoAndStop(2); _parent.left14.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker2.gotoAndStop(2); _parent.left15.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 1041 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and _parent.falling == true) { gotoAndStop(2); _parent.charger1.gotoAndStop('explode'); } } } instance of movieClip 1041 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and _parent.falling == true) { gotoAndStop(2); _parent.charger2.gotoAndStop('explode'); } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance enemy2 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 30; } } instance enemy1 of movieClip 797 { onClipEvent (load) { changer = 80; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 0; } } instance enemy16 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 30; } } instance enemy17 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy18 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy15 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy14 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy12 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy13 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy22 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy10 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy21 of movieClip 971 { onClipEvent (load) { xValue = 60; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy26 of movieClip 971 { onClipEvent (load) { xValue = 45; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy9 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy19 of movieClip 827 { onClipEvent (load) { changer = -50; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy24 of movieClip 1081 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy6 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy7 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy5 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy8 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy4 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy11 of movieClip 827 { onClipEvent (load) { changer = -25; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy20 of movieClip 827 { onClipEvent (load) { changer = -75; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy23 of movieClip 797 { onClipEvent (load) { changer = -200; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance levelthreetune of movieClip 43 { onClipEvent (load) { _root.startBossFourTune = true; soundTimer = 0; soundVolume = 0; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossFourTune == true and once == true) { sound = new Sound(this); sound.attachSound('LevelOneTune'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 13 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 14 { enemy1.gotoAndStop(4); fireShots = 999; boss3AttackLimit = 2; enemiesNumberi = 2; pinkkeyNumber = 2; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = true; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); laddersideblocker1._visible = false; laddersideblocker2._visible = false; left4.gotoAndStop(2); _root.scrolling2OK = false; _root.xFactorForFallingCoins = 870; _root.yFactorForFallingCoins = -317; _root.randomFactorForFallingCoins = 350; _root.holder.world._y = -_root.holder.world.player._y + 320; _root.holder.world._x = -_root.holder.world.player._x + 120; _root.bossHitSound = 'BossBeingHitSound'; velF = 7; velY = -16; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 6; groundNumber = 3; leftNumber = 5; rightNumber = 7; ladderNumber = 2; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 0; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance laddersideblocker1 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker2 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance closedoor of movieClip 370 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { sound = new Sound(); sound.attachSound('DoorCloses'); sound.start(0, 0); _parent.door.gotoAndStop(1); _parent.right6.gotoAndStop(1); _parent.left4.gotoAndStop(1); _root.panel.bosspanel.gotoAndPlay(3); once = true; } } } instance of movieClip 370 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { _parent.enemy1.gotoAndStop(3); _parent.bossthreetune.sound.stop(); _parent.bossthreetune.hello = 100; _root.startBossThreeTune = true; once = true; } } } instance lever of movieClip 1095 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { sound = new Sound(); sound.attachSound('DoorSound'); sound.start(0, 0); gotoAndStop(2); _parent.door.gotoAndStop(2); _parent.right6.gotoAndStop(2); once = true; } } } instance enemy1 of movieClip 1143 { onClipEvent (load) { hit = false; initiateFlashing = false; _root.dinoDefeated = false; } onClipEvent (enterFrame) { if (hit == true) { sound = new Sound(); sound.attachSound('MetalHit'); sound.start(0, 0); initiateFlashing = true; timer = 0; _root.panel.bosspanel.prevFrame(); hit = false; } if (_root.dinoDefeated == true) { gotoAndStop('defeated'); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); var my_color = new Color(_parent.enemy1); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); _parent.stopALL = true; _root.dinoDefeated = false; } ++timer; if (initiateFlashing == true) { if (timer == 2) { var my_color = new Color(_parent.enemy1); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer == 4) { var my_color = new Color(_parent.enemy1); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); timer = 0; initiateFlashing = false; } } } } instance hello of movieClip 43 { onClipEvent (load) { timer = 0; timer2 = 0; timer3 = 0; _root.timer4 = 0; coinss = 300; _root.goGoCoinDrop = false; } onClipEvent (enterFrame) { ++timer; ++timer2; ++_root.timer3; ++timer4; if (_root.goGoCoinDrop == true and coinss <= 320) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; } if (coinss >= 319 and _root.goGoCoinDrop == true) { ++_root.timer4; if (_root.timer4 >= 220) { if (_parent.jumping == false and _parent.falling == false) { _parent.bossthreetune.volumeChange = 5; _parent.bossthreetune.soundFadeAway = true; _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = true; _root.goGoCoinDrop = false; } } } } } instance bossthreetune of movieClip 43 { onClipEvent (load) { sound = new Sound(this); sound.attachSound('GodsBossTuneA'); sound.start(0, 99); _root.startBossThreeTune = false; soundTimer = 0; soundVolume = 100; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; hello = 0; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossThreeTune == true and once == true) { sound = new Sound(this); sound.attachSound('GodsBossTuneB'); sound.start(0, 99); soundVolume = hello; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 15 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 16 { _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); laddersideblocker1._visible = false; laddersideblocker2._visible = false; springNumber = 5; bluekeyNumber = 4; redkeyNumber = 2; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = true; enemiesNumberi = 33; velF = 7; velY = -16; _root.redNumber = 20; _root.greenNumber = 20; _root.blueNumber = 20; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 4; soundTimer = 0; topNumber = 15; groundNumber = 51; leftNumber = 21; rightNumber = 27; ladderNumber = 4; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 4; laseritemNumber = 0; redmarbleNumber = 21; greenmarbleNumber = 21; bluemarbleNumber = 21; coinitemNumber = 29; bonusitemNumber = 59; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance laddersideblocker1 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker2 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance of movieClip 915 { onClipEvent (load) { f = random(8) + 1; gotoAndStop(f); } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker1.gotoAndStop(2); _parent.right23.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker3.gotoAndStop(2); _parent.right25.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker4.gotoAndStop(2); _parent.right26.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker2.gotoAndStop(2); _parent.right24.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance a of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.a) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance b of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.b) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance c of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.c) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance d of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.d) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance e of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.e) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance f of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.f) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance g of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.g) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance enemy24 of movieClip 1081 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy9 of movieClip 1081 { onClipEvent (load) { xValue = 50; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy11 of movieClip 827 { onClipEvent (load) { changer = -75; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy10 of movieClip 827 { onClipEvent (load) { changer = -75; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy19 of movieClip 827 { onClipEvent (load) { changer = -75; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 30; } } instance enemy20 of movieClip 827 { onClipEvent (load) { changer = -75; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy17 of movieClip 827 { onClipEvent (load) { changer = -150; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy16 of movieClip 827 { onClipEvent (load) { changer = -150; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy15 of movieClip 827 { onClipEvent (load) { changer = -150; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy13 of movieClip 827 { onClipEvent (load) { changer = -150; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy14 of movieClip 827 { onClipEvent (load) { changer = -150; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy32 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy28 of movieClip 827 { onClipEvent (load) { changer = -100; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy29 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy31 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy30 of movieClip 797 { onClipEvent (load) { changer = 0; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy25 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy26 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy27 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy1 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy3 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy4 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy2 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy6 of movieClip 1081 { onClipEvent (load) { xValue = 70; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy7 of movieClip 971 { onClipEvent (load) { xValue = 60; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy8 of movieClip 971 { onClipEvent (load) { xValue = 60; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy12 of movieClip 971 { onClipEvent (load) { xValue = 60; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy18 of movieClip 1081 { onClipEvent (load) { xValue = 200; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy23 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy22 of movieClip 827 { onClipEvent (load) { changer = -30; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy21 of movieClip 1198 { onClipEvent (load) { maxRight = 235; maxLeft = -60; } } instance enemy5 of movieClip 1198 { onClipEvent (load) { maxRight = 135; maxLeft = -60; } } instance levelfourtune of movieClip 43 { onClipEvent (load) { _root.startBossFourTune = true; soundTimer = 0; soundVolume = 0; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossFourTune == true and once == true) { sound = new Sound(this); sound.attachSound('LevelOneTune'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 17 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 18 { _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = true; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); _root.scrolling2OK = false; _root.scrollingOK = false; _root.xFactorForFallingCoins = 135; _root.yFactorForFallingCoins = -77; _root.randomFactorForFallingCoins = 500; _root.holder.world._y = -_root.holder.world.player._y + 250; _root.holder.world._x = -_root.holder.world.player._x + 120; completeStop = true; player._visible = false; _root.currentSprite = 2; _root.bossHitSound = 'ClubbingSound'; TinysaurSound = 'TinysaurSound'; enemiesNumberi = 15; velF = 7; velY = -16; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 8; groundNumber = 21; leftNumber = 7; rightNumber = 8; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 2; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.foot) and _parent.immune == false and _root.dinoDefeated == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance bossfourtune of movieClip 43 { onClipEvent (load) { _root.startBossFourTune = false; soundTimer = 0; soundVolume = 100; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossFourTune == true and once == true) { sound = new Sound(this); sound.attachSound('BossFourTune'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } instance enemy1 of movieClip 1271 { onClipEvent (load) { hit = false; initiateFlashing = false; _root.dinoDefeated = false; } onClipEvent (enterFrame) { if (hit == true) { sound = new Sound(); sound.attachSound('Boss3StepB'); sound.start(0, 0); initiateFlashing = true; timer = 0; _root.panel.bosspanel.prevFrame(); hit = false; } if (_root.dinoDefeated == true) { gotoAndPlay('defeated'); sound = new Sound(); sound.attachSound('Explosion'); sound.start(0, 0); _parent.right1._x += 170; var my_color = new Color(a); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); _parent.stopALL = true; _root.dinoDefeated = false; } ++timer; if (initiateFlashing == true) { if (timer == 2) { var my_color = new Color(a); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer == 4) { var my_color = new Color(a); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); timer = 0; initiateFlashing = false; } } } } instance hello of movieClip 43 { onClipEvent (load) { timer = 0; timer2 = 0; timer3 = 0; _root.timer4 = 0; coinss = 300; _root.goGoCoinDrop = false; } onClipEvent (enterFrame) { ++timer; ++timer2; ++_root.timer3; ++timer4; if (_root.goGoCoinDrop == true and coinss <= 320) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; trace(coinss); } if (coinss >= 319 and _root.goGoCoinDrop == true) { ++_root.timer4; if (_root.timer4 >= 220) { if (_parent.jumping == false and _parent.falling == false) { _parent.bossfourtune.volumeChange = 5; _parent.bossfourtune.soundFadeAway = true; _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.goGoCoinDrop = false; } } } } } instance rock2 of movieClip 1283 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.blah == true and once == false) { _parent.rock2.gotoAndStop('random'); once = true; _parent.blah = false; } } } frame 19 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 20 { _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); laddersideblocker1._visible = false; laddersideblocker2._visible = false; springNumber = 4; bluekeyNumber = 3; redkeyNumber = 3; pinkkeyNumber = 2; enemiesNumberi = 31; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = true; velF = 7; velY = -16; _root.redNumber = 15; _root.greenNumber = 15; _root.blueNumber = 15; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 2; soundTimer = 0; topNumber = 64; groundNumber = 53; leftNumber = 58; rightNumber = 54; ladderNumber = 2; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 4; laseritemNumber = 2; redmarbleNumber = 16; greenmarbleNumber = 16; bluemarbleNumber = 16; coinitemNumber = 26; bonusitemNumber = 46; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance laddersideblocker1 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker1.gotoAndStop(2); _parent.left54.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker2.gotoAndStop(2); _parent.right52.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker3.gotoAndStop(2); _parent.ground48.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker4.gotoAndStop(2); _parent.left55.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance enemy2 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy5 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy3 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy4 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy6 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy8 of movieClip 797 { onClipEvent (load) { changer = 120; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy7 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy12 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy14 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy13 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy11 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy9 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy10 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy15 of movieClip 1198 { onClipEvent (load) { maxRight = 100; maxLeft = -25; } } instance enemy16 of movieClip 971 { onClipEvent (load) { xValue = -40; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy17 of movieClip 971 { onClipEvent (load) { xValue = -55; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy18 of movieClip 971 { onClipEvent (load) { xValue = -55; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy20 of movieClip 971 { onClipEvent (load) { xValue = 20; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy21 of movieClip 971 { onClipEvent (load) { xValue = 20; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy22 of movieClip 971 { onClipEvent (load) { xValue = 20; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy19 of movieClip 797 { onClipEvent (load) { changer = 30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance levelfivetune of movieClip 43 { onClipEvent (load) { _root.startBossOneTune = true; soundTimer = 0; soundVolume = 150; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound2 = new Sound(this); sound2.setVolume(soundVolume); sound2.attachSound('Level2a'); sound2.start(0, 0); sound2.onSoundComplete = function () { meh = true; }; soundVolume = 150; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { sound = new Sound(this); sound.setVolume(soundVolume); sound.attachSound('Level2b'); sound.start(0, 99); soundVolume = 150; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 150) { soundVolume = 150; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } instance enemy24 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy25 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy12 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy29 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy30 of movieClip 797 { onClipEvent (load) { changer = 90; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy28 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy27 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy26 of movieClip 797 { onClipEvent (load) { changer = -30; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy1 of movieClip 797 { onClipEvent (load) { changer = 120; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } frame 21 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 22 { _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = true; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); _root.scrolling2OK = false; _root.scrollingOK = false; _root.xFactorForFallingCoins = 135; _root.yFactorForFallingCoins = -77; _root.randomFactorForFallingCoins = 500; _root.holder.world._y = -_root.holder.world.player._y + 314; _root.holder.world._x = -_root.holder.world.player._x + 120; completeStop = true; player._visible = false; _root.currentSprite = 2; _root.panel.bosspanel.gotoAndPlay(3); _root.bossHitSound = 'ClubbingSound'; TinysaurSound = 'TinysaurSound'; enemiesNumberi = 15; velF = 7; velY = -16; _root.panel.red = ['0' + _root.redNumber]; _root.panel.green = ['0' + _root.greenNumber]; _root.panel.blue = ['0' + _root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 8; groundNumber = 21; leftNumber = 7; rightNumber = 8; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 2; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance enemy1 of movieClip 1320 { onClipEvent (load) { xCoords = _parent.player._x; yCoords = _parent.player._y; xCoordsReached = false; yCoordsReached = false; timer = 0; go = false; reset = false; timer2 = 0; shots = 999; stop1 = false; stop2 = false; stop3 = false; hit = false; initiateFlashing = false; _root.dinoDefeated = false; _parent.enemy1._visible = false; _parent.whiteback._visible = false; timer4 = 0; startTime = 50; stopAll = false; started = false; enemy.hitBox.gotoAndStop(2); blinkAway = false; timer5 = 0; _root.bossIzDead = false; } onClipEvent (enterFrame) { ++timer4; if (stopAll == false) { if (timer4 >= 60) { enemy.hitBox.gotoAndStop(1); _parent.enemy1._visible = true; } if (timer4 >= 61) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 62) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 63) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 64) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 65) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 66) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 67) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 68) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 69) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 70) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 71) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 72) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 73) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 74) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 75) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 76) { _parent.whiteback._visible = false; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 77) { _parent.whiteback._visible = true; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer4 >= 78) { _parent.whiteback._visible = false; started = true; } ++timer; ++timer2; if (timer >= 150) { reset = true; } if (timer2 >= 60 + startTime and stop1 == false) { startTime = 0; _parent.attachMovie('Boss5Shot4', 'Boss5Shot4' + shots, shots); shots += 1; stop1 = true; } if (timer2 >= 70 and stop2 == false) { _parent.attachMovie('Boss5Shot4', 'Boss5Shot4' + shots, shots); shots += 1; stop2 = true; } if (timer2 >= 80 and stop3 == false) { _parent.attachMovie('Boss5Shot4', 'Boss5Shot4' + shots, shots); shots += 1; stop3 = true; } if (timer2 >= 90) { _parent.attachMovie('Boss5Shot4', 'Boss5Shot4' + shots, shots); shots += 1; stop1 = false; stop2 = false; stop3 = false; timer2 = 0; } if (go == true) { if (xCoordsReached == false) { if (xCoords < _parent.enemy1._x) { _parent.enemy1._xscale = -100; _parent.enemy1._x -= 2; } if (xCoords > _parent.enemy1._x) { _parent.enemy1._xscale = 100; _parent.enemy1._x += 2; } } if (yCoordsReached == false) { if (yCoords < _parent.enemy1._y) { _parent.enemy1._y -= 2; } if (yCoords > _parent.enemy1._y) { _parent.enemy1._y += 2; } } } if (reset == true) { xCoords = _parent.player._x; yCoords = _parent.player._y; xCoordsReached = false; yCoordsReached = false; timer = 0; go = true; reset = false; } } if (hit == true and started == true) { sound = new Sound(); sound.attachSound('Thud'); sound.start(0, 0); initiateFlashing = true; timer3 = 0; _root.panel.bosspanel.prevFrame(); hit = false; } if (_root.dinoDefeated == true) { blinkAway = true; sound = new Sound(); sound.attachSound('GirlBossDefeated'); sound.start(0, 0); _parent.backmc.gotoAndStop(2); _parent.ground2.gotoAndStop(2); _parent.ground20.gotoAndStop(2); _parent.ground18.gotoAndStop(2); _parent.ground19.gotoAndStop(2); _parent.groundNumber = 2; var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); _parent.stopALL = true; stopAll = true; _root.dinoDefeated = false; _root.bossIzDead = true; } ++timer3; if (initiateFlashing == true) { if (timer3 == 2) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer3 == 4) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); timer3 = 0; initiateFlashing = false; } } if (blinkAway == true) { ++timer5; mc.mc.stop(); if (timer5 >= 1) { enemy.hitBox.gotoAndStop(1); } if (timer5 >= 2) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 4) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 6) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 8) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 10) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 12) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 14) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 16) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 18) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 20) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 22) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 24) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 26) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 28) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 30) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 32) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 100, 'ga': 100, 'gb': 100, 'ba': 100, 'bb': 100, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 34) { var my_color = new Color(this); var myColorTransform = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; my_color.setTransform(myColorTransform); } if (timer5 >= 36) { gotoAndStop(20); } } } } instance hello of movieClip 43 { onClipEvent (load) { timer = 0; timer2 = 0; timer3 = 0; _root.timer4 = 0; coinss = 300; _root.goGoCoinDrop = false; } onClipEvent (enterFrame) { ++timer; ++timer2; ++_root.timer3; ++timer4; if (_root.goGoCoinDrop == true and coinss <= 320) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; trace(coinss); } if (coinss >= 319 and _root.goGoCoinDrop == true) { ++_root.timer4; if (_root.timer4 >= 220) { if (_parent.jumping == false and _parent.falling == false) { _parent.bossfourtune.volumeChange = 5; _parent.bossfourtune.soundFadeAway = true; _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.goGoCoinDrop = false; } } } } } instance bossfourtune of movieClip 43 { onClipEvent (load) { _root.startBossFourTune = false; soundTimer = 0; soundVolume = 40; volumeChange = 1; soundFadeAway = false; soundFadeIn = false; once = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossFourTune == true and once == true) { sound = new Sound(this); sound.attachSound('Parasol6'); sound.start(0, 99); soundVolume = 0; soundFadeIn = true; once = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 40) { soundVolume = 40; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 23 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 24 { _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._visible = false; arrivalportal.gotoAndStop(2); laddersideblocker1._visible = false; laddersideblocker2._visible = false; springNumber = 4; bluekeyNumber = 5; redkeyNumber = 5; pinkkeyNumber = 2; enemiesNumberi = 31; _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = true; velF = 7; velY = -16; _root.redNumber = 20; _root.greenNumber = 20; _root.blueNumber = 20; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 2; soundTimer = 0; topNumber = 27; groundNumber = 62; leftNumber = 31; rightNumber = 38; ladderNumber = 2; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 3; laseritemNumber = 2; redmarbleNumber = 21; greenmarbleNumber = 21; bluemarbleNumber = 22; coinitemNumber = 23; bonusitemNumber = 38; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'right'; shootingDirection = 'standshootright'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; completeStop = true; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } ground53._visible = true; ground54._visible = true; ground55._visible = true; ground56._visible = true; immune = true; immune2 = true; beingHitCode = true; } instance laddersideblocker1 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance ground53 of movieClip 1329 { onClipEvent (load) { startPos = this._y; goingUp = true; goingDown = false; speed = 3; distanceValue = 100; } onClipEvent (enterFrame) { if (_root.gameOver == true) { speed = 0; } if (this._y >= startPos + distanceValue) { goingUp = false; goingDown = true; } if (this._y <= startPos - distanceValue) { goingDown = false; goingUp = true; } if (goingDown == true) { this._y -= speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y -= speed; } } if (goingUp == true) { this._y += speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y += speed; } } } } instance ground54 of movieClip 1329 { onClipEvent (load) { startPos = this._y; goingUp = true; goingDown = false; speed = 3; distanceValue = 130; } onClipEvent (enterFrame) { if (_root.gameOver == true) { speed = 0; } if (this._y >= startPos + distanceValue) { goingUp = false; goingDown = true; } if (this._y <= startPos - distanceValue) { goingDown = false; goingUp = true; } if (goingDown == true) { this._y -= speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y -= speed; } } if (goingUp == true) { this._y += speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y += speed; } } } } instance ground55 of movieClip 1329 { onClipEvent (load) { startPos = this._y; goingUp = true; goingDown = false; speed = 3; distanceValue = 150; } onClipEvent (enterFrame) { if (_root.gameOver == true) { speed = 0; } if (this._y >= startPos + distanceValue) { goingUp = false; goingDown = true; } if (this._y <= startPos - distanceValue) { goingDown = false; goingUp = true; } if (goingDown == true) { this._y -= speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y -= speed; } } if (goingUp == true) { this._y += speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y += speed; } } } } instance ground56 of movieClip 1329 { onClipEvent (load) { startPos = this._y; goingUp = true; goingDown = false; speed = 3; distanceValue = 50; } onClipEvent (enterFrame) { if (_root.gameOver == true) { speed = 0; } if (this._y >= startPos + distanceValue) { goingUp = false; goingDown = true; } if (this._y <= startPos - distanceValue) { goingDown = false; goingUp = true; } if (goingDown == true) { this._y -= speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y -= speed; } } if (goingUp == true) { this._y += speed; if (this.hitTest(_parent.player.hitBox) and _parent.falling == false and _parent.jumping == false) { _parent.player._y += speed; } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker1.gotoAndStop(2); _parent.right31.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker2.gotoAndStop(2); _parent.right32.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker3.gotoAndStop(2); _parent.right33.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 920 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.bluekeysmall >= 1) { gotoAndStop(2); _parent.laserblocker4.gotoAndStop(2); _parent.right34.gotoAndStop(2); _root.panel.bluekeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker6.gotoAndStop(2); _parent.left29.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker5.gotoAndStop(2); _parent.right35.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker7.gotoAndStop(2); _parent.left30.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance of movieClip 930 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox)) { if (_root.panel.redkeysmall >= 1) { gotoAndStop(2); _parent.laserblocker8.gotoAndStop(2); _parent.ground61.gotoAndStop(2); _root.panel.redkeysmall -= 1; sound = new Sound(); sound.attachSound('RemoveLaser'); sound.start(0, 0); } } } } instance foot1 of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.foot1) and _parent.immune == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance foot of movieClip 950 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.foot) and _parent.immune == false and _root.dinoDefeated == false) { _parent.player.gotoAndStop('hit'); _parent.player.weaponfire._visible = false; _parent.player.weaponfirestandard._visible = false; _parent.player.weaponfirefast._visible = false; _parent.player.weaponfiremedium._visible = false; _parent.player.weaponfireslow._visible = false; _parent.player.MC._visible = false; _parent.player.MC2._visible = false; _parent.player.MCBlueFire._visible = false; _parent.gotHit = true; _parent.lockEverything = true; _parent.velF = 7; _parent.velY = -9; _parent.beingHitCode = true; _parent.jumping3 = true; _parent.immune = true; if (_parent.hitsLeft >= 0) { _root.panel.heartpanel.prevFrame(); _parent.hitsLeft -= 1; } if (_parent.hitsLeft == 0) { _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } } } instance of movieClip 574 { onClipEvent (load) { once = true; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(hitBox) and once == true) { if (_parent.hitsLeft < 5) { _parent.hitsLeft += 1; _root.panel.heartpanel.nextFrame(); sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } if (_parent.hitsLeft == 5) { sound = new Sound(); sound.attachSound('HeartCollect'); sound.start(0, 0); hitBox.gotoAndStop(2); this._visible = false; once = false; } } } } instance enemy17 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy15 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy13 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy14 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy16 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy12 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy4 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 60; } } instance enemy5 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy7 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy6 of movieClip 797 { onClipEvent (load) { changer = -100; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy20 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy11 of movieClip 797 { onClipEvent (load) { changer = 65; maxRight = 70 - changer; maxLeft = -200 + changer; numX = 90; } } instance enemy30 of movieClip 971 { onClipEvent (load) { xValue = 40; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy24 of movieClip 971 { onClipEvent (load) { xValue = 40; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy28 of movieClip 971 { onClipEvent (load) { xValue = -30; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy26 of movieClip 971 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy3 of movieClip 971 { onClipEvent (load) { xValue = 0; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy8 of movieClip 1081 { onClipEvent (load) { xValue = 170; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy25 of movieClip 1081 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy29 of movieClip 1081 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy21 of movieClip 1081 { onClipEvent (load) { xValue = 100; left._x -= xValue; right._x += xValue; left._visible = false; right._visible = false; } } instance enemy19 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy18 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 60; } } instance enemy22 of movieClip 827 { onClipEvent (load) { changer = -200; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 0; } } instance enemy23 of movieClip 827 { onClipEvent (load) { changer = -200; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy2 of movieClip 1198 { onClipEvent (load) { maxRight = 135; maxLeft = -60; } } instance enemy1 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy9 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy10 of movieClip 827 { onClipEvent (load) { changer = 0; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance enemy27 of movieClip 827 { onClipEvent (load) { changer = -40; maxRight = 20 - changer; maxLeft = -140 + changer; numX = 90; } } instance levelsixtune of movieClip 43 { onClipEvent (load) { _root.startBossOneTune = true; soundTimer = 0; soundVolume = 150; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound2 = new Sound(this); sound2.setVolume(soundVolume); sound2.attachSound('Level2a'); sound2.start(0, 0); sound2.onSoundComplete = function () { meh = true; }; soundVolume = 150; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { sound = new Sound(this); sound.setVolume(soundVolume); sound.attachSound('Level2b'); sound.start(0, 99); soundVolume = 150; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 150) { soundVolume = 150; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } } } frame 25 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.panel._visible = false; } instance of movieClip 43 { onClipEvent (load) { waitTimer = 0; goGo = true; goGo2 = true; } onClipEvent (enterFrame) { ++waitTimer; if (waitTimer >= 5 and goGo2 == true) { sound = new Sound(this); sound.attachSound('InBetweenLevelsTune'); sound.start(0, 0); goGo2 = false; } if (waitTimer >= 100 and goGo == true) { _root.fader.gotoAndPlay('levelfadein'); goGo = false; } } } frame 26 { _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = true; _root.panel._visible = true; _root.readytext.gotoAndPlay(2); player._xscale = -100; player._visible = false; arrivalportal.gotoAndStop(2); laddersideblocker1._visible = false; laddersideblocker2._visible = false; left4.gotoAndStop(2); _root.scrolling2OK = false; _root.xFactorForFallingCoins = -70; _root.yFactorForFallingCoins = -317; _root.randomFactorForFallingCoins = 350; _root.holder.world._y = -_root.holder.world.player._y + 301.5; _root.holder.world._x = -_root.holder.world.player._x + 0; _root.bossHitSound = 'BossBeingHitSound'; enemiesNumberi = 15; velF = 7; velY = -16; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 0; soundTimer = 0; topNumber = 3; groundNumber = 2; leftNumber = 5; rightNumber = 4; ladderNumber = 0; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 2; laseritemNumber = 2; redmarbleNumber = 4; greenmarbleNumber = 4; bluemarbleNumber = 4; coinitemNumber = 5; bonusitemNumber = 7; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'left'; shootingDirection = 'standshootleft'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } immune = true; immune2 = true; beingHitCode = true; } instance of movieClip 370 { onClipEvent (load) { once = false; timmmer = 0; _parent.door1.gotoAndStop(15); _parent.right2.gotoAndStop(2); } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { _parent.currentWeapon = 'flamethrower'; _parent.weaponDamage = _parent.flamethrowerdmg; _parent.fireSpeed = _parent.flamethrowerFireSpeed; _root.panel.weaponpanel.gotoAndStop('flamethrowerspecial'); _root.panel.ammopanel2.gotoAndStop(2); sound = new Sound(); sound.attachSound('WeaponSound'); sound.start(0, 0); _root.scrollingOK = false; _root.panel.bosspanel.gotoAndPlay(3); _root.holder.world._x = 299; _parent.door1.play(); _parent.door2.play(); sound = new Sound(); sound.attachSound('CloseDoor'); sound.start(0, 0); _parent.spawnAliens = true; ost = true; timmmer = 0; once = true; } ++timmmer; if (ost == true and timmmer >= 60) { _root.startBossOneTune = true; ost = false; } } } instance of movieClip 370 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { _parent.door1.gotoAndPlay(16); _parent.completeStop = true; _parent.player.gotoAndStop('teleport'); _root.fader.gotoAndPlay('lastbossfadeout'); once = true; } } } instance i of movieClip 370 { onClipEvent (load) { timer = 0; _parent.num = 1; _root.aliensKilled = 0; _root.AliensDieNow = false; once = true; _parent.enemy1.end = false; _parent.enemy2.end = false; _parent.enemy3.end = false; _parent.enemy4.end = false; _parent.enemy5.end = false; _parent.enemy6.end = false; _parent.enemy7.end = false; _parent.enemy8.end = false; _parent.enemy9.end = false; _parent.enemy10.end = false; _parent.enemy11.end = false; _parent.enemy12.end = false; _parent.enemy13.end = false; _parent.enemy14.end = false; _parent.enemy15.end = false; _parent.enemy16.end = false; _parent.enemy17.end = false; _parent.enemy18.end = false; _parent.enemy19.end = false; _parent.enemy20.end = false; } onClipEvent (enterFrame) { if (_parent.spawnAliens == true) { ++timer; if (timer >= 60) { _parent['enemy' + _parent.num].go = true; _parent.num += 1; timer = 0; } } if (_root.AliensDieNow == true and once == true) { _parent.spawnAliens = false; _root.goGoCoinDrop = true; sound = new Sound(); sound.attachSound('AlienDie'); sound.start(0, 0); _parent.enemy1.end = true; _parent.enemy2.end = true; _parent.enemy3.end = true; _parent.enemy4.end = true; _parent.enemy5.end = true; _parent.enemy6.end = true; _parent.enemy7.end = true; _parent.enemy8.end = true; _parent.enemy9.end = true; _parent.enemy10.end = true; _parent.enemy11.end = true; _parent.enemy12.end = true; _parent.enemy13.end = true; _parent.enemy14.end = true; _parent.enemy15.end = true; _parent.enemy16.end = true; _parent.enemy17.end = true; _parent.enemy18.end = true; _parent.enemy19.end = true; _parent.enemy20.end = true; _parent.enemy1.enemy.gotoAndStop('die2'); _parent.enemy2.enemy.gotoAndStop('die2'); _parent.enemy3.enemy.gotoAndStop('die2'); _parent.enemy4.enemy.gotoAndStop('die2'); _parent.enemy5.enemy.gotoAndStop('die2'); _parent.enemy6.enemy.gotoAndStop('die2'); _parent.enemy7.enemy.gotoAndStop('die2'); _parent.enemy8.enemy.gotoAndStop('die2'); _parent.enemy9.enemy.gotoAndStop('die2'); _parent.enemy10.enemy.gotoAndStop('die2'); _parent.enemy11.enemy.gotoAndStop('die2'); _parent.enemy12.enemy.gotoAndStop('die2'); _parent.enemy13.enemy.gotoAndStop('die2'); _parent.enemy14.enemy.gotoAndStop('die2'); _parent.enemy15.enemy.gotoAndStop('die2'); _parent.enemy16.enemy.gotoAndStop('die2'); _parent.enemy17.enemy.gotoAndStop('die2'); _parent.enemy18.enemy.gotoAndStop('die2'); _parent.enemy19.enemy.gotoAndStop('die2'); _parent.enemy20.enemy.gotoAndStop('die2'); trace('DIE!'); once = false; } } } instance hello of movieClip 43 { onClipEvent (load) { timer = 0; timer2 = 0; timer3 = 0; _root.timer4 = 0; coinss = 900; _root.goGoCoinDrop = false; timer55 = 0; changeTune = false; _root.startBossOneTune = false; _root.scrollingOK = true; } onClipEvent (enterFrame) { ++timer; ++timer2; ++_root.timer3; ++timer4; if (_root.goGoCoinDrop == true and coinss <= 920) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coinss, coinss); coinss += 1; } if (coinss >= 919 and _root.goGoCoinDrop == true) { ++_root.timer4; if (_root.timer4 >= 220) { _parent.bossonetune.volumeChange = 5; _parent.bossonetune.soundFadeAway = true; changeTune = true; _root.goGoCoinDrop = false; } } if (changeTune == true) { ++timer55; if (timer55 >= 60) { _parent.bossonetune.times = 1; _parent.bossonetune.soundTimer = 0; _parent.bossonetune.soundVolume = 100; _parent.bossonetune.volumeChange = 5; _parent.bossonetune.soundFadeAway = false; _parent.bossonetune.soundFadeIn = false; _parent.bossonetune.once = true; _parent.bossonetune.once2 = true; _parent.bossonetune.meh = false; _parent.bossonetune.tuneA = 'GETOUT1'; _parent.bossonetune.tuneB = 'GETOUT2'; _parent.bossonetune.meh2 = _parent.left2; _root.tt.gotoAndStop(2); _root.startBossOneTune = true; _parent.door1.gotoAndPlay(2); sound = new Sound(); sound.attachSound('OpenDoor'); sound.start(0, 0); changeTune = false; } } } } instance door2 of movieClip 1353 { onClipEvent (load) { once = false; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and once == false) { play(); sound = new Sound(); sound.attachSound('OpenDoor'); sound.start(0, 0); once = true; } } } instance bossonetune of movieClip 43 { onClipEvent (load) { hello = 0; soundTimer = 0; soundVolume = 100; volumeChange = 5; soundFadeAway = false; soundFadeIn = false; once = true; once2 = true; tuneA = 'Lastboss1'; tuneB = 'Lastboss2'; times = 99; meh2 = _parent.left4; _root.madeIt = false; boom = false; } onClipEvent (enterFrame) { ++soundTimer; if (_root.startBossOneTune == true and once == true) { sound2 = new Sound(_parent.ground1); sound2.attachSound(tuneA); sound2.start(0, 0); sound2.onSoundComplete = function () { if (_root.madeIt == true) { } if (_root.madeIt == false) { meh = true; hello += 1; if (hello == 2) { boom = true; _root.panel.heartpanel.gotoAndStop(6); _root.scrollingOK = false; _parent.player.gotoAndStop('die'); _parent.completeStop = true; } } }; soundVolume = 0; soundFadeIn = false; once = false; } if (meh == true and once2 == true) { trace('done'); sound = new Sound(meh2); sound.attachSound(tuneB); sound.start(0, times); soundVolume = 100; volumeChange = 0; soundFadeIn = false; once2 = false; } if (soundFadeIn == true) { soundVolume += volumeChange; sound.setVolume(soundVolume); if (soundVolume >= 100) { soundVolume = 100; volumeChange = 0; soundFadeIn = false; } } if (soundFadeAway == true) { soundVolume -= volumeChange; sound.setVolume(soundVolume); if (soundVolume <= 0) { soundVolume = 0; volumeChange = 0; sound.stop(); soundFadeAway = false; } } if (_root.newText >= 10000) { _root.tt.newText = sound2.position / 10000 - sound2.duration / 10000; } if (_root.newText <= 10000 and boom == false) { _root.tt.newText = ['0' + sound2.position / 10000 - sound2.duration / 10000]; } if (boom == true) { _root.tt.gotoAndStop(3); boom = false; } } } frame 27 { nextFrame(); } frame 28 { player.gotoAndStop('standing'); completeStop = false; _root.madeIt = false; bossonetune._visible = false; laddersideblockerNumber = 21; _root.panel._visible = true; _root.scrollingOK = true; _root.scrolling2OK = true; player._visible = true; springNumber = 0; enemiesNumberi = 0; player._xscale = -100; fade._visible = false; _root.panel.ammopanel2.gotoAndStop(1); velF = 7; velY = -16; _root.redNumber = 0; _root.greenNumber = 0; _root.blueNumber = 0; _root.panel.red = [_root.redNumber]; _root.panel.green = [_root.greenNumber]; _root.panel.blue = [_root.blueNumber]; _root.clickedOnce = false; _root.panel.ammopanel.gotoAndStop(1); _root.panel.weaponpanel.gotoAndStop('bullet'); _root.scrollingOK = true; _root.resetGame = false; _root.gameOver = false; weaponTimer = false; weaponTimer2 = 0; ladderX = 20; soundTimer = 0; topNumber = 38; groundNumber = 24; leftNumber = 27; rightNumber = 27; ladderNumber = 20; bulletitemNumber = 0; rocketitemNumber = 0; flamethroweritemNumber = 0; laseritemNumber = 0; redmarbleNumber = 0; greenmarbleNumber = 0; bluemarbleNumber = 0; coinitemNumber = 0; bonusitemNumber = 4; bulletFireSpeed = 6; flamethrowerFireSpeed = 2; laserFireSpeed = 7.5; rocketFireSpeed = 20; bulletdmg = 100; flamethrowerdmg = 50; laserdmg = 100; rocketdmg = 400; currentWeapon = 'bullet'; weaponDamage = bulletdmg; fireSpeed = bulletFireSpeed; playerHitMoveSpeed = 5; fallingShootAngleLock = false; timer = 0; _root.ok = false; lockALL = false; jumping2 = false; shots = 0; smokeCount = 0; shooting = false; shootingDownwards2 = false; directon = 'left'; shootingDirection = 'standshootleft'; shootUpward = false; shootDownward = false; lockDirection = false; runAndShoot = false; landed = false; stopAll = false; falling = true; climbFalling = false; justShot = false; ducking = false; jumping = false; lastGround = blah; shootingLow = false; runSpeedAccR = 0; runSpeedAccL = 0; ranRight = false; ranLeft = false; downWhileGliding = false; placeReleasedSpace = true; attachSmoke = false; stopGlideFrame = false; inAir = false; jumping3 = false; lockEverything = false; falling3 = false; immuneTimer = 0; flickerTimer = 0; gotHit = false; groundi = 0; while (groundi < groundNumber) { this['ground' + groundi]._visible = false; ++groundi; } lefti = 0; while (lefti < leftNumber) { this['left' + lefti]._visible = false; ++lefti; } righti = 0; while (righti < rightNumber) { this['right' + righti]._visible = false; ++righti; } topi = 0; while (topi < topNumber) { this['top' + topi]._visible = false; ++topi; } ladderi = 0; while (ladderi < ladderNumber) { this['ladderX' + ladderi]._visible = false; ++ladderi; } laddersideblockeri = 0; while (laddersideblockeri < laddersideblockerNumber) { this['laddersideblocker' + laddersideblockeri]._visible = false; ++laddersideblockeri; } immune = true; immune2 = true; beingHitCode = true; } instance laddersideblocker1 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x -= 4; } } } instance laddersideblocker2 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x -= 4; } } } instance laddersideblocker3 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x -= 4; } } } instance laddersideblocker4 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x -= 4; } } } instance laddersideblocker5 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x -= 4; } } } instance laddersideblocker6 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance laddersideblocker7 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance laddersideblocker8 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance laddersideblocker9 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance laddersideblocker10 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x -= 4; } } } instance laddersideblocker11 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x += 4; } } } instance laddersideblocker12 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x += 4; } } } instance laddersideblocker13 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x += 4; } } } instance laddersideblocker14 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x += 4; } } } instance laddersideblocker15 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker16 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker17 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker18 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance laddersideblocker19 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _parent.player._x += 4; } } } instance laddersideblocker20 of movieClip 370 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this) and _parent.jumping2 == true) { _parent.player._x += 4; } } } instance of movieClip 43 { onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(this)) { _root.scrolling2OK = false; } if (!_parent.player.hitBox2.hitTest(this)) { _root.scrolling2OK = true; } } } instance bonusitems1 of movieClip 753 { onClipEvent (load) { this.items.gotoAndStop(2); } } instance bonusitems2 of movieClip 753 { onClipEvent (load) { ranNumber = bleeeeh; } } instance bonusitems3 of movieClip 753 { onClipEvent (load) { ranNumber = bleeeeh; } } frame 29 { stop(); _root.holder.world._x = 0; _root.holder.world._y = 0; _root.tt.gotoAndStop(1); finalScore = _root.panel.score - 1000000; var s = new Sound(); s.setVolume(100); } instance of movieClip 1444 { onClipEvent (load) { ost = 'reset'; pauseScroller = false; once = false; } onClipEvent (enterFrame) { if (_parent.cred._y >= -1695 and pauseScroller == false) { _parent.cred._y -= 1; } if (Key.isDown(82)) { _root.fader.gotoAndPlay(ost); ost = 'bleeeeh'; } if (Key.isDown(83)) { _root.holder.gameover.gotoAndStop('new'); _root.holder.gameover.hs2.gotoAndStop(2); } if (Key.isDown(32) and once == false) { pauseScroller = true; once = true; } if (!Key.isDown(32) and once == true) { pauseScroller = false; once = false; } } } } movieClip 1458 { frame 1 { stop(); } frame 2 { function LeaderBoardClosed() { _root.fader.gotoAndPlay('backtomenu'); } stop(); playerscore = _root.panel.score - 1000000; var o = {'n': [13, 15, 13, 14, 6, 15, 4, 1, 0, 13, 5, 7, 7, 7, 3, 8], 'f': function (i, s) { if (s.length == 16) { return s; } return this.f(i + 1, s + this.n[i].toString(16)); }}; var boardID = o.f(0, ''); mochi.as2.MochiScores.showLeaderboard({'boardID': boardID, 'score': playerscore, 'name': playername, 'onClose': LeaderBoardClosed}); } } movieClip 1461 { } movieClip 1463 { } movieClip 1464 { frame 12 { sound = new Sound(); sound.attachSound('LevelComplete'); sound.start(0, 0); } frame 55 { stop(); _root.holder.world.levelonetune.volumeChange = 5; _root.holder.world.levelonetune.soundFadeAway = true; _root.holder.world.leveltwotune.volumeChange = 5; _root.holder.world.leveltwotune.soundFadeAway = true; _root.holder.world.levelthreetune.volumeChange = 5; _root.holder.world.levelthreetune.soundFadeAway = true; _root.holder.world.levelfourtune.volumeChange = 5; _root.holder.world.levelfourtune.soundFadeAway = true; _root.holder.world.levelfivetune.volumeChange = 5; _root.holder.world.levelfivetune.soundFadeAway = true; _root.holder.world.levelsixtune.volumeChange = 5; _root.holder.world.levelsixtune.soundFadeAway = true; _root.fader.gotoAndPlay('fadeouttoportalroom'); } } movieClip 1477 { } movieClip 1486 { } movieClip 1487 { instance hello of movieClip 43 { onClipEvent (load) { once = false; coins = 0; _root.goGoCoinDrop = false; timer = 0; } onClipEvent (enterFrame) { if (_parent.player.hitBox2.hitTest(_parent.scrollLimitRight) and once == false) { _root.scrollingOK = false; _parent.boss.gotoAndStop(2); sound = new Sound(); sound.attachSound('BossOneTune'); sound.start(0, 99); _parent.left2.gotoAndStop(1); _root.panel.bosspanel.gotoAndPlay(3); once = true; } if (Key.isDown(85)) { _parent.shaker.gotoAndPlay(2); _root.goGoCoinDrop = true; } if (_root.goGoCoinDrop == true and coins <= 20) { _parent.attachMovie('CoinDrop', 'CoinDrop' + coins, coins); coins += 1; } if (coins >= 19 and _root.goGoCoinDrop == true) { ++timer; if (timer >= 250) { if (_parent.jumping == false and _parent.falling == false) { trace('ok'); _parent.bossexit._x = _parent.player._x - 78; _parent.bossexit.play(); _parent.bossexit.visible = true; _parent.completeStop = true; _parent.player.gotoAndStop('standing'); _root.LVLONE = false; _root.LVLTWO = false; _root.LVLTHREE = true; _root.goGoCoinDrop = false; } } } } } frame 46 { numbers.gotoAndStop(_root.heartsLeft); } frame 86 { numbers2.gotoAndStop(_root.heartsLeft); _root.panel.score += _root.heartsLeft * 500; } frame 120 { stop(); if (_root.gameCompleted == true) { _root.fader.gotoAndPlay('credits'); } else { _root.fader.gotoAndPlay('fadeouttoportalroom'); } } } movieClip 1488 { frame 1 { stop(); _root.clickedOnce = false; } frame 2 { mochi.as2.MochiServices.connect('67f39a0ec7ac61ec'); } frame 4 { trace('no'); } frame 5 { mochi.as2.MochiServices.connect('67f39a0ec7ac61ec'); trace('yes'); } } movieClip 1490 { frame 1 { stop(); } frame 2 { _root.timeToTele = false; _root.LVLONE = true; _root.LVLTWO = false; _root.LVLTHREE = false; _root.LVLFOUR = false; _root.LVLFIVE = false; _root.LVLSIX = false; _root.LVLSEVEN = false; _root.LVLEIGHT = false; _root.LVLNINE = false; _root.LVLTEN = false; _root.LVLELEVEN = false; _root.LVLTWELVE = false; _root.usedPassword = false; stopAllSounds(); gotoAndStop(1); } } movieClip 1500 { frame 1 { _root.heartsLeft = 1; } frame 1 { stop(); } frame 2 { _root.heartsLeft = 2; } frame 3 { _root.heartsLeft = 3; } frame 4 { _root.heartsLeft = 4; } frame 5 { _root.heartsLeft = 5; } frame 6 { _root.heartsLeft = 0; } } movieClip 1503 { } movieClip 1533 { frame 1 { stop(); } frame 25 { stop(); _root.holder.world.weaponTimer = false; _root.holder.world.currentWeapon = 'bullet'; _root.holder.world.weaponDamage = _root.holder.world.bulletdmg; _root.holder.world.fireSpeed = _root.holder.world.bulletFireSpeed; _root.panel.weaponpanel.gotoAndStop('bullet'); gotoAndStop(1); } } movieClip 1536 { frame 1 { stop(); } frame 2 { if (_root.robotSide == 'right') { _root.holder.world.boss.gotoAndStop(5); } if (_root.robotSide == 'left') { _root.holder.world.boss.gotoAndStop(4); } _root.holder.world.ground3.gotoAndStop(2); _root.holder.world.ground4.gotoAndStop(2); _root.holder.world.boss.boss.gotoAndStop('defeated'); _root.goGoCoinDrop = true; _root.dinoDefeated = true; _root.AliensDieNow = true; _root.holder.world.enemy1.gotoAndStop(2); _root.holder.world.enemy2.gotoAndStop(2); _root.holder.world.enemy3.gotoAndStop(2); _root.holder.world.enemy4.gotoAndStop(2); _root.holder.world.enemy5.gotoAndStop(2); _root.holder.world.enemy6.gotoAndStop(2); _root.holder.world.enemy7.gotoAndStop(2); _root.holder.world.enemy8.gotoAndStop(2); _root.holder.world.enemy9.gotoAndStop(2); _root.holder.world.enemy10.gotoAndStop(2); _root.holder.world.enemy11.gotoAndStop(2); _root.holder.world.enemy12.gotoAndStop(2); _root.holder.world.enemy13.gotoAndStop(2); _root.holder.world.enemy14.gotoAndStop(2); } frame 49 { stop(); } } movieClip 1547 { } movieClip 1548 { frame 10 { stop(); } } movieClip 1549 { frame 1 { stop(); } } movieClip 1552 { frame 1 { stop(); } } movieClip 1573 { frame 1 { } instance fps of movieClip 97 { onClipEvent (load) { checkRate = 10; checkCounter = checkRate; startTime = getTimer(); FPS = 0; _root.maxFPS = 0; _root.lowestFPS = 30; timer = 0; } onClipEvent (enterFrame) { ++timer; if (timer >= 40) { if (FPS >= _root.maxFPS) { _root.maxFPS = FPS; } if (FPS <= _root.lowestFPS) { _root.lowestFPS = FPS; } } } onClipEvent (enterFrame) { --checkCounter; if (checkCounter == 0) { FPS = Math.floor(checkRate / ((getTimer() - startTime) / 1000)); _parent.FPSDisplay = Math.floor(checkRate / ((getTimer() - startTime) / 1000)); _parent.FPSDisplay2 = Math.floor(checkRate / ((getTimer() - startTime) / 1000)); startTime = getTimer(); checkCounter = checkRate; } if (FPS >= 30) { _parent.FPSDisplay = '30'; } } } } movieClip 1576 { } movieClip 1581 { } movieClip 1590 { frame 1 { stop(); } } movieClip 1591 { instance of movieClip 1576 { onClipEvent (enterFrame) { _parent.one.gotoAndStop(_root.ballcolor1); _parent.two.gotoAndStop(_root.ballcolor2); _parent.three.gotoAndStop(_root.ballcolor3); _parent.four.gotoAndStop(_root.ballcolor4); _parent.five.gotoAndStop(_root.ballcolor5); } } instance of movieClip 1590 { onClipEvent (enterFrame) { if (_root.LVLTHREE == true) { this.gotoAndStop('Two'); } if (_root.LVLFIVE == true) { this.gotoAndStop('Three'); } if (_root.LVLSEVEN == true) { this.gotoAndStop('Four'); } if (_root.LVLNINE == true) { this.gotoAndStop('Five'); } if (_root.LVLELEVEN == true) { this.gotoAndStop('Six'); } } } frame 44 { stop(); } } movieClip 1592 { frame 1 { stop(); } frame 72 { stop(); } } movieClip 1598 { frame 1 { stop(); } } movieClip 1636 { frame 1 { stop(); } } movieClip 1637 { instance of movieClip 1636 { onClipEvent (enterFrame) { gotoAndStop(_root.comboKills - 1); } } frame 6 { stop(); } } movieClip 1640 { } movieClip 1641 { frame 11 { stop(); _parent.xMC.gotoAndPlay(2); } } movieClip 1644 { frame 1 { stop(); } frame 7 { stop(); } } movieClip 1657 { frame 16 { stop(); _parent.gotoAndStop(4); } } movieClip 1664 { frame 45 { _parent._parent.gotoAndPlay(5); } } movieClip 1668 { frame 54 { _parent._parent.gotoAndPlay(5); } } movieClip 1672 { frame 48 { _parent._parent.gotoAndPlay(5); } } movieClip 1676 { frame 50 { _parent._parent.gotoAndPlay(5); } } movieClip 1680 { frame 58 { _parent._parent.gotoAndPlay(5); } } movieClip 1684 { frame 67 { _parent._parent.gotoAndPlay(5); } } movieClip 1688 { frame 71 { _parent._parent.gotoAndPlay(5); } } movieClip 1692 { frame 74 { _parent._parent.gotoAndPlay(5); } } movieClip 1696 { frame 55 { _parent._parent.gotoAndPlay(5); } } movieClip 1700 { frame 82 { _parent._parent.gotoAndPlay(5); } } movieClip 1704 { frame 86 { _parent._parent.gotoAndPlay(5); } } movieClip 1706 { frame 1 { stop(); } } movieClip 1719 { frame 1 { stop(); } frame 4 { comboResults = _root.comboKillsManaged + ' KILLS'; if (_root.comboKillsManaged == 2) { gotoAndPlay(61); } if (_root.comboKillsManaged >= 3 and _root.comboKillsManaged <= 3) { combo.gotoAndStop('triple'); } if (_root.comboKillsManaged >= 4 and _root.comboKillsManaged <= 4) { combo.gotoAndStop('super'); } if (_root.comboKillsManaged >= 5 and _root.comboKillsManaged <= 5) { combo.gotoAndStop('hyper'); } if (_root.comboKillsManaged >= 6 and _root.comboKillsManaged <= 6) { combo.gotoAndStop('brutal'); } if (_root.comboKillsManaged >= 7 and _root.comboKillsManaged <= 7) { combo.gotoAndStop('master'); } if (_root.comboKillsManaged >= 8 and _root.comboKillsManaged <= 8) { combo.gotoAndStop('awesome'); } if (_root.comboKillsManaged >= 9 and _root.comboKillsManaged <= 9) { combo.gotoAndStop('blaster'); } if (_root.comboKillsManaged >= 10 and _root.comboKillsManaged <= 10) { combo.gotoAndStop('monster'); } if (_root.comboKillsManaged >= 11 and _root.comboKillsManaged <= 11) { combo.gotoAndStop('king'); } if (_root.comboKillsManaged >= 12 and _root.comboKillsManaged <= 19) { combo.gotoAndStop('killer'); } if (_root.comboKillsManaged >= 20) { combo.gotoAndStop('ultra'); } } frame 5 { comboResults = _root.comboScore + ''; } frame 60 { gotoAndStop(1); } frame 61 { comboResults = _root.comboScore + ''; } frame 109 { gotoAndStop(1); } frame 110 { comboResults = '...X1...'; } frame 170 { gotoAndStop(1); } frame 171 { comboResults = '...X2...'; } } movieClip 1728 { frame 1 { stop(); } frame 2 { comboResults = ' X1 '; } frame 62 { gotoAndStop(1); } frame 63 { comboResults = ' X2 '; } } movieClip 1733 { frame 1 { stop(); } } movieClip 1734 { } movieClip 1735 { frame 15 { stop(); } frame 30 { _root.tt.gotoAndStop(1); _quality = 'HIGH'; } frame 46 { _parent.holder.gotoAndStop(2); } frame 61 { stop(); _root.clickedOnce = false; } frame 89 { _root.holder.world.gotoAndStop(_root.LVL); } frame 104 { stop(); } frame 132 { _root.holder.world.nextFrame(); } frame 147 { stop(); } frame 166 { _quality = 'HIGH'; _root.nextFrame(); stop(); } frame 185 { _root.panel.redkeysmall = 0; _root.panel.bluekeysmall = 0; } frame 201 { stop(); _root.scrollingOK = true; _root.scrolling2OK = true; _root.holder.world.completeStop = false; _root.holder.world.player.gotoAndStop('teleport'); _root.holder.world.gotoAndStop(2); _root.holder.gameover.gotoAndStop(1); } frame 237 { _root.holder.world._x = 0; _root.holder.world._y = 0; _root.holder.world.gotoAndStop('FINAL'); } frame 256 { stop(); } frame 291 { _root.holder.world.gotoAndStop('credits'); _root.panel._visible = false; _root.holder.gameover.gotoAndStop(1); } frame 306 { stop(); } } frame 52 { stopAllSounds(); gotoAndStop(3); }




http://swfchan.com/28/137869/info.shtml
Created: 8/2 -2019 17:49:01 Last modified: 8/2 -2019 17:49:01 Server time: 22/12 -2024 20:57:37