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

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

Keep on Rollin.swf

This is the info page for
Flash #62748

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


Text
space

space

Arrow Keys Guide the ball

Space bar is used fo fire your missles in the helicopter stage and to jump with the spring.

GOAL: Guide the ball through 20 stages in the quickest time possible. After you finish make sure you submit your score to compete for the over all best times!

KEEP ON
ROLLIN!

KEEP ON
ROLLIN!

Time:

Time:

INSERT NAME HERE

Leap of Faith!

Time:

Time:

INSERT NAME HERE

Enter Your Name

Submit your score and compete for the fastest times!

Programming: Chris Wingard
Design : Chris Wingard

Programming: Chris Wingard
Design : Chris Wingard

ActionScript [AS1/AS2]

Frame 1
Stage.showMenu = false; _root.splatoffset = 0.11;
Instance of Symbol 10 MovieClip "middleground" in Frame 1
onClipEvent (enterFrame) { if (this.fall) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + 15; if (this._y >= 350) { if (!_root.stickguy1.dead) { _root.stickguy1.gotoAndPlay(60); _root.stickguy1.dead = true; } this._rotation = this._rotation - 10; } } else if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.fall = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 1
onClipEvent (enterFrame) { if (replay) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); reloadstage = false; replay = false; stageframe = 1; }
Instance of Symbol 33 MovieClip in Frame 1
/* no clip actions */
Instance of Symbol 68 MovieClip in Frame 1
onClipEvent (enterFrame) { if (_root.ball.dead && (_root.playsound)) { if ((_root._currentframe == 60) || (_root._currentframe == 65)) { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("explosion"); _root.splat.start(); } else { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); } } } onClipEvent (load) { _root.playsound = true; }
Frame 2
gamefinished = false; firsttime = true; gotoAndStop (2); _root.stageframe = 2;
Instance of Symbol 70 MovieClip "tilty1" in Frame 2
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 20; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 1; _root.ball.sidecollision = true; this._rotation = this._rotation + 5; } } } }
Instance of Symbol 72 MovieClip in Frame 2
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 10; _root.gotoAndStop(10); } } }
Instance of Symbol 75 MovieClip "ground2" in Frame 2
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 75 MovieClip "ground1" in Frame 2
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 75 MovieClip "ground3" in Frame 2
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 80 MovieClip in Frame 2
onClipEvent (enterFrame) { if (!_root.gamefinished) { _root.curTime = (getTimer() - _root.startTime) / 1000; } if (_root._currentframe == 110) { _root.nametxt._y = 250; } }
Instance of Symbol 16 MovieClip "blood" in Frame 2
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 3; } onClipEvent (load) { xvel = random(50) - 25; yvel = random(50) - 25; _xscale = random(80); _yscale = random(80); }
Instance of Symbol 16 MovieClip "spark2" in Frame 2
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 1; } onClipEvent (load) { xvel = random(5) - 2.5; yvel = random(6) * -1; _xscale = random(40); _yscale = random(40); }
Instance of Symbol 84 MovieClip in Frame 3
onClipEvent (enterFrame) { _root.startTime = getTimer(); _root.gotoAndStop(2); }
Instance of Symbol 84 MovieClip in Frame 4
onClipEvent (enterFrame) { _root.playsound = true; _root.gotoAndStop(_root.stageframe); }
Instance of Symbol 84 MovieClip in Frame 5
onClipEvent (enterFrame) { }
Frame 10
gotoAndStop (10);
Instance of Symbol 86 MovieClip in Frame 10
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 1; _root.ball.sidecollision = true; } } } }
Instance of Symbol 94 MovieClip in Frame 10
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 70) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 166 MovieClip "stickguy1" in Frame 10
onClipEvent (enterFrame) { if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; }
Instance of Symbol 168 MovieClip "switchhandle1" in Frame 10
onClipEvent (enterFrame) { if (_root.stickguy1.pullswitch) { if (this._rotation < 100) { this._rotation = this._rotation + 15; } else { _root.middleground.fall = true; } } }
Instance of Symbol 72 MovieClip in Frame 10
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 15; _root.gotoAndStop(15); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 10
onClipEvent (enterFrame) { if (replay) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 10
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 75 MovieClip "ground1" in Frame 10
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 10 MovieClip "middleground" in Frame 10
onClipEvent (enterFrame) { if (this.fall) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + 15; if (this._y >= 350) { if (!_root.stickguy1.dead) { _root.stickguy1.gotoAndPlay(60); _root.stickguy1.dead = true; } this._rotation = this._rotation - 10; } } else if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.fall = false; }
Instance of Symbol 174 MovieClip in Frame 10
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Frame 15
gotoAndStop (15);
Instance of Symbol 208 MovieClip in Frame 15
onClipEvent (enterFrame) { if (!this.stopthis) { if (this.hitTest(_root.ball) && (this.hitTest(_root.rope2))) { _root.rope2.grab = true; _root.ball.noupdate = true; _root.invisiblethingy.stopthis = true; } } } onClipEvent (load) { this._visible = false; this.stopthis = false; }
Instance of Symbol 210 MovieClip "rope2" in Frame 15
onClipEvent (enterFrame) { if (!rotateleft) { this._rotation = this._rotation + 4.5; } else { this._rotation = this._rotation - 4.5; } if (this._rotation > 60) { rotateleft = true; } if (this._rotation < -60) { if (grab) { _root.ball.noupdate = false; _root.ball.ball_velocityX = 100; _root.ball.ball_velocityY = -20; grab = false; } rotateleft = false; } if (grab) { somex = this._x - (this._rotation * 1.4); somey = (this._y + this._height) - 20; _root.ball._x = somex; _root.ball._y = somey; _root.ball.noupdate = true; _root.invisiblethingy.stopthis = true; } } onClipEvent (load) { rotateleft = true; this._visible = false; grab = false; }
Instance of Symbol 166 MovieClip "stickguy3" in Frame 15
onClipEvent (enterFrame) { if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 0) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 42) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 40) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 166 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 100) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 3; } else { this._x = this._x + 3; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { gotoAndPlay (60); _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); this.dead = true; } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; }
Instance of Symbol 72 MovieClip in Frame 15
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 20; _root.gotoAndStop(20); } } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 15
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; }
Instance of Symbol 214 MovieClip "fallingobj1" in Frame 15
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 8; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 216 MovieClip in Frame 15
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip in Frame 15
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 216 MovieClip in Frame 15
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) - 7; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 218 MovieClip "invisthingy" in Frame 15
onClipEvent (enterFrame) { if (!this.stopthis) { if (this.hitTest(_root.ball)) { this._x = this._x + 8; this._y = this._y + 3.2; somex = this._x; somey = this._y - 7; _root.ball._x = somex; _root.ball._y = somey; _root.ball.noupdate = true; } } } onClipEvent (load) { this._visible = false; this.stopthis = false; }
Instance of Symbol 218 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.noupdate = false; _root.ball.ball_velocityY = 0; _root.ball.ball_velocityX = 0; _root.invisthingy.stopthis = true; } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 220 MovieClip in Frame 15
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; _root.ball._y = this._y - this._height; } } onClipEvent (load) { this._visible = false; }
Frame 20
gotoAndStop (20); _root.killball = false;
Instance of Symbol 208 MovieClip in Frame 20
onClipEvent (enterFrame) { if (!this.stopthis) { if (this.hitTest(_root.ball) && (this.hitTest(_root.rope2))) { _root.rope2.grab = true; _root.ball.noupdate = true; _root.invisiblethingy.stopthis = true; } } } onClipEvent (load) { this._visible = false; this.stopthis = false; }
Instance of Symbol 94 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 94 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 94 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = false; totalmovement = 50; }
Instance of Symbol 94 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 55; }
Instance of Symbol 94 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 222 MovieClip in Frame 20
onClipEvent (enterFrame) { if (movedown) { this._x = this._x + 25; totalmovement = totalmovement + 25; } else { this._x = this._x - 25; totalmovement = totalmovement - 25; } if (totalmovement >= 475) { movedown = false; } if (totalmovement < 0) { movedown = true; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 225 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.boss)) { _root.boss.jumpright1 = true; _root.boss.gotoAndStop(35); _root.boss.moveright1 = false; } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 225 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && (_root.boss.jumpright1)) { _root.boss.jumpright1 = false; _root.boss.gotoAndPlay(36); } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 225 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.boss) && (_root.boss.jumpleft1)) { _root.boss.jumpleft1 = false; _root.boss.fallleft1 = true; _root.boss.gotoAndPlay(41); } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 225 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.boss)) { _root.boss.fallleft2 = true; _root.boss.moveleft1 = false; _root.boss.gotoAndStop(41); } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 225 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.boss)) { if (_root.boss.attackleft || (_root.boss.attackright)) { return(undefined); } _root.boss.fallleft2 = false; _root.boss.moveright2 = true; _root.boss._y = _root.boss._y - 0; _root.boss.gotoAndPlay(15); } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 72 MovieClip in Frame 20
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 25; _root.gotoAndStop(25); } } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 20
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; }
Instance of Symbol 233 MovieClip "box1" in Frame 20
onClipEvent (enterFrame) { if (this.dead) { return(undefined); } if (this.hitTest(_root.groundstage4_1)) { this._y = _root.groundstage4_1._y - 16; } else { if (this.hitTest(_root.groundstage4_2)) { this._y = _root.groundstage4_2._y - 25; this.dead = true; _root.boss.startaction = true; this.gotoAndPlay(2); return(undefined); } this._y = this._y + 15; } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 20; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 20; _root.ball.sidecollision = true; this._x = this._x + 5; } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 235 MovieClip in Frame 20
onClipEvent (enterFrame) { if (this.hitTest(_root.box1) && (!dontdoagain)) { _root.slantedramp.fall = true; _root.splat = new Sound(); _root.splat.attachSound("punch"); _root.splat.start(); dontdoagain = true; } } onClipEvent (load) { this._visible = false; dontdoagain = false; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 20
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 216 MovieClip "groundstage4_1" in Frame 20
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) - 5; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "groundstage4_2" in Frame 20
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = this._y - this._height; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 238 MovieClip "slantedramp" in Frame 20
onClipEvent (enterFrame) { if (this.fall && (this._y < 160)) { this._rotation = this._rotation - 35; this._y = this._y + 15; this._x = this._x + 15; } if ((_root.ball.replay == false) && (this._y > 150)) { if (this.hitTest(_root.ball)) { _root.ball._x = (this._x - _root.ball._width) - 45; _root.ball.sidecollision = true; } } } onClipEvent (load) { this.fall = false; }
Instance of Symbol 166 MovieClip "boss" in Frame 20
onClipEvent (enterFrame) { if (this.attackleft || (this.attackright)) { this._rotation = 0; if ((this._currentframe == 77) || (this._currentframe == 87)) { _root.ball.dead = true; } return(undefined); } if (this.shootup) { if (_root.killball) { _root.ball.dead = true; } return(undefined); } if (this.fallleft2) { this._y = this._y + 8; this._x = this._x - 2.3; } if (this.moveleft1) { this._x = this._x - 3; } if (this.moveright2) { this._x = this._x + 3; } if (this.startaction) { this.gotoAndPlay(15); this.startaction = false; this.moveright1 = true; } if (this.moveright1) { this._x = this._x + 4; } if (this.jumpright1) { this._x = this._x + 5; this._y = this._y - 6; } if (this.jumpleft1) { this._x = this._x - 9; this._y = this._y - 6; this._rotation = this._rotation - 20; } if (this.fallleft1) { if (!this.hitTest(_root.groundstage4_2)) { this._x = this._x - 5; this._y = this._y + 9; this._rotation = this._rotation - 25; } else { this._rotation = 0; this._y = this._y - 5; if (_root.ball._y < 150) { this.shootup = true; this.gotoAndPlay(90); return(undefined); } this.moveleft1 = true; this.fallleft1 = false; this.gotoAndPlay(5); } } if (this.hitTest(_root.ball)) { if (_root.ball._x >= this._x) { this.attackright = true; this.gotoAndPlay(70); } else { this.attackleft = true; this.gotoAndPlay(80); } this._rotation = 0; } } onClipEvent (load) { this.dead = false; this.running = false; this.startaction = false; this.moveright1 = false; this.jumpright1 = false; this.fallleft1 = false; this.attackleft = false; this.attackright = false; this.shootup = false; this.moveleft1 = false; this.fallleft2 = false; this.moveright2 = false; }
Instance of Symbol 216 MovieClip "groundstage4_3" in Frame 20
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 70) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - (this._height / 2)) - 10; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 222 MovieClip in Frame 25
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 10; totalmovement = totalmovement + 10; } else { this._y = this._y - 10; totalmovement = totalmovement - 10; } if (totalmovement >= 200) { movedown = false; } if (totalmovement < 0) { movedown = true; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 70 MovieClip "tilty1" in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 12; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 1; _root.ball.sidecollision = true; this._rotation = this._rotation + 1; } } } }
Instance of Symbol 216 MovieClip "groundstage5_2" in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "groundstage5_4" in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 0) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 12; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 72 MovieClip in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 30; _root.gotoAndStop(30); } } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 25
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; }
Instance of Symbol 242 MovieClip in Frame 25
onClipEvent (enterFrame) { if ((this.hitTest(_root.ball) && (!_root.boss.moveright2)) && (!_root.boss.startstage6)) { _root.boss.startstage6 = true; } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 242 MovieClip in Frame 25
onClipEvent (enterFrame) { if (this.hitTest(_root.ball) && (!this.stopit)) { _root.pulley.fall = true; this.stopit = true; } } onClipEvent (load) { this._visible = false; this.stopit = false; }
Instance of Symbol 216 MovieClip "groundstage5_1" in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 166 MovieClip "boss" in Frame 25
onClipEvent (enterFrame) { if (this.attackleft || (this.attackright)) { this._rotation = 0; if ((this._currentframe == 77) || (this._currentframe == 87)) { _root.ball.dead = true; } return(undefined); } if (this.dead) { return(undefined); } if ((this.hitTest(_root.ball) && (!this.attackleft)) && (!this.attackright)) { if (_root.ball._x >= this._x) { this.attackright = true; this.moveright2 = false; this.gotoAndPlay(70); } else { this.attackleft = true; this.moveright2 = false; this.gotoAndPlay(80); } this._rotation = 0; return(undefined); } if (this.startstage6) { this._y = this._y + 8; if (this._y > 130) { this.startstage6 = false; this.moveright2 = true; this.gotoAndPlay(15); } } if (this.shootup) { if (_root.killball) { _root.ball.dead = true; } return(undefined); } if (this.fallleft2) { this._y = this._y + 8; this._x = this._x - 2.3; } if (this.moveleft1) { this._x = this._x - 3; } if (this.moveright2) { this._x = this._x + 5; } if (this.startaction) { this.gotoAndPlay(15); this.startaction = false; this.moveright1 = true; } if (this.moveright1) { this._x = this._x + 4; } if (this.jumpright1) { this._x = this._x + 5; this._y = this._y - 6; } if (this.jumpleft1) { this._x = this._x - 9; this._y = this._y - 6; this._rotation = this._rotation - 20; } if (this.fallleft1) { if (!this.hitTest(_root.groundstage4_2)) { this._x = this._x - 5; this._y = this._y + 9; this._rotation = this._rotation - 25; } else { this._rotation = 0; this._y = this._y + 5; if (_root.ball._y < 150) { this.shootup = true; this.gotoAndPlay(90); return(undefined); } this.moveleft1 = true; this.fallleft1 = false; this.gotoAndPlay(5); } } } onClipEvent (load) { this.dead = false; this.running = false; this.startaction = false; this.moveright1 = false; this.jumpright1 = false; this.fallleft1 = false; this.attackleft = false; this.attackright = false; this.shootup = false; this.moveleft1 = false; this.fallleft2 = false; this.moveright2 = false; this.startstage6 = false; }
Instance of Symbol 273 MovieClip "pulley" in Frame 25
onClipEvent (enterFrame) { if (this.fall) { gotoAndPlay (2); this.fall = false; } } onClipEvent (load) { this.fall = false; }
Instance of Symbol 289 MovieClip in Frame 25
onClipEvent (enterFrame) { if (this.hitTest(_root.ball) && (!this.bounce)) { this.gotoAndPlay(5); this.bounce = true; _root.ball.noupdate = true; } } onClipEvent (load) { this.bounce = false; }
Instance of Symbol 216 MovieClip "groundstage5_3" in Frame 25
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 289 MovieClip in Frame 25
onClipEvent (enterFrame) { if (this.hitTest(_root.ball) && (!this.bounce)) { this.gotoAndPlay(5); this.bounce = true; _root.ball.noupdate = true; } } onClipEvent (load) { this.bounce = false; }
Instance of Symbol 291 MovieClip in Frame 30
onClipEvent (enterFrame) { if (_root.tunnel.begin) { this._visible = false; } }
Instance of Symbol 72 MovieClip in Frame 30
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.tunnel)) { _root.stageframe = 35; _root.gotoAndStop(35); } } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 30
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; }
Instance of Symbol 216 MovieClip "groundstage5_1" in Frame 30
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 301 MovieClip "tunnel" in Frame 30
onClipEvent (enterFrame) { if ((!this.begin) && (_root.newguy._currentframe == 77)) { this.gotoAndPlay(11); this.begin = true; } } onClipEvent (load) { this.begin = false; }
Instance of Symbol 303 MovieClip in Frame 30
onClipEvent (enterFrame) { if ((!this.begin) && (this.hitTest(_root.ball))) { this.begin = true; _root.tunnel.gotoAndPlay(2); _root.ball._visible = false; _root.ball.noupdate = true; _root.newguy.startaction = true; } } onClipEvent (load) { this._visible = false; this.begin = false; }
Instance of Symbol 166 MovieClip "newguy" in Frame 30
onClipEvent (enterFrame) { if (this.attackleft || (this.attackright)) { this._rotation = 0; if ((this._currentframe == 77) || (this._currentframe == 87)) { _root.ball.dead = true; } return(undefined); } if (this.dead) { return(undefined); } if (this.moveright1) { this._x = this._x + 3; } if (this.startaction) { this.gotoAndPlay(15); this.startaction = false; this.moveright1 = true; } } onClipEvent (load) { this.dead = false; this.running = false; this.startaction = false; this.moveright1 = false; this.jumpright1 = false; this.fallleft1 = false; this.attackleft = false; this.attackright = false; this.shootup = false; this.moveleft1 = false; this.fallleft2 = false; this.moveright2 = false; this.startstage6 = false; }
Instance of Symbol 303 MovieClip in Frame 30
onClipEvent (enterFrame) { if ((!this.begin) && (this.hitTest(_root.newguy))) { _root.punch = new Sound(); _root.punch.attachSound("punch"); _root.punch.start(); this.begin = true; _root.newguy.moveright1 = false; _root.newguy.gotoAndPlay(70); } } onClipEvent (load) { this._visible = false; this.begin = false; }
Instance of Symbol 72 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 40; _root.gotoAndStop(40); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 35
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + ball_velocityX; if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { ball_velocityY = ball_velocityY + 5; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; this._visible = false; }
Instance of Symbol 216 MovieClip "groundstage5_1" in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 319 MovieClip in Frame 35
onClipEvent (enterFrame) { if (this._currentframe == 1) { this._y = this._y + 45; if (this._y >= 450) { _root.ball._visible = true; _root.ball.ball_velocityY = 35; this.gotoAndPlay(2); } } }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (this.changeY > 300) { this.moveup = true; } if (this.changeY < 0) { this.moveup = false; } if (this.moveup) { this._y = this._y - 3; this.changeY = this.changeY - 3; } else { this._y = this._y + 3; this.changeY = this.changeY + 3; } } onClipEvent (load) { this.moveup = false; this.changeY = 0; }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 5; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (this.changeY > 300) { this.moveup = true; } if (this.changeY < 0) { this.moveup = false; } if (this.moveup) { this._y = this._y - 3; this.changeY = this.changeY - 3; } else { this._y = this._y + 3; this.changeY = this.changeY + 3; } } onClipEvent (load) { this.moveup = true; this.changeY = 300; }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (this.changeY > 300) { this.moveup = true; } if (this.changeY < 0) { this.moveup = false; } if (this.moveup) { this._y = this._y - 3; this.changeY = this.changeY - 3; } else { this._y = this._y + 3; this.changeY = this.changeY + 3; } } onClipEvent (load) { this.moveup = false; this.changeY = 0; }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 5; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (this.changeY > 300) { this.moveup = true; } if (this.changeY < 0) { this.moveup = false; } if (this.moveup) { this._y = this._y - 3; this.changeY = this.changeY - 3; } else { this._y = this._y + 3; this.changeY = this.changeY + 3; } } onClipEvent (load) { this.moveup = true; this.changeY = 300; }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (this.changeY > 300) { this.moveup = true; } if (this.changeY < 0) { this.moveup = false; } if (this.moveup) { this._y = this._y - 3; this.changeY = this.changeY - 3; } else { this._y = this._y + 3; this.changeY = this.changeY + 3; } } onClipEvent (load) { this.moveup = false; this.changeY = 0; }
Instance of Symbol 216 MovieClip in Frame 35
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = (this._y - this._height) + 3; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Frame 40
frame40fall = false; rockfall = false; rockfallspeed = 15; moverock = false; stageshift = false; shiftspeed = 3; totalshift = 400;
Instance of Symbol 321 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer >= 21) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + _root.collisionbox._width) + 8; _root.ball.sidecollision = true; } } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 321 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 8) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + _root.collisionbox._width) + 8; _root.ball.sidecollision = true; } } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 321 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 8) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + _root.collisionbox._width) + 8; _root.ball.sidecollision = true; } } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip "ground3" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (_root.frame40fall && (this._y < 330)) { this._y = this._y + 8; } if (this.hitTest(_root.collisionbox) && (!_root.frame40fall)) { if ((_root.collisionbox._x + _root.collisionbox._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.collisionbox._width / 2)) - 5; _root.ball.sidecollision = true; } } } }
Instance of Symbol 329 MovieClip in Frame 40
onClipEvent (enterFrame) { if ((_root.ball.replay == false) && (!shatter)) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 35) { gotoAndPlay (2); shatter = true; } if (_root.ball.ball_velocityY > 100) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { shatter = false; }
Instance of Symbol 321 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 15; this._yscale = this._yscale - 22; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 12) { this.caught = true; _root.frame40fall = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 5); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 5); return(undefined); } if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + _root.collisionbox._width) + 8; _root.ball.sidecollision = true; } } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 94 MovieClip "jabber1" in Frame 40
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 3; totalmovement = totalmovement + 3; } else { this._y = this._y - 3; totalmovement = totalmovement - 3; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 94 MovieClip "jabber2" in Frame 40
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 3; totalmovement = totalmovement + 3; } else { this._y = this._y - 3; totalmovement = totalmovement - 3; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } } onClipEvent (load) { movedown = true; totalmovement = 0; }
Instance of Symbol 334 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 336 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 338 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 340 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 342 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 344 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 346 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 348 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 350 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 334 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 336 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 338 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 340 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.moverock = true; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 342 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 344 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 346 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 348 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 350 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 334 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 336 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 338 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 340 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 342 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 344 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 348 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 350 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 334 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 336 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 338 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 340 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 342 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 344 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 346 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 348 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 350 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 334 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 336 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 338 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 340 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 342 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 344 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 346 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 348 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 350 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.rockfall) { if (this._y < 480) { this._y = this._y + _root.rockfallspeed; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 352 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.dead) { return(undefined); } if (this.hitTest(_root.groundstage4_1)) { this._y = _root.groundstage4_1._y - (this._height / 2); } else { this._y = this._y + 15; } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 20; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - (this._width / 2); _root.ball.sidecollision = true; if (_root.moverock) { this._x = this._x + 10; } } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 352 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.dead) { return(undefined); } if (this.hitTest(_root.groundstage7_1)) { this._y = _root.groundstage7_1._y - (this._height / 2); } else { this._y = this._y + 15; } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 20; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - (this._width / 2); _root.ball.sidecollision = true; if (_root.moverock) { this._x = this._x + 10; } } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 45; _root.gotoAndStop(45); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 40
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } if (lastbuffer != this.buffer) { _root.popnoise = new Sound(); _root.popnoise.attachSound("pop"); _root.popnoise.start(); } lastbuffer = this.buffer; this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 1; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 40
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 354 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 25; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; return(undefined); } } } onClipEvent (load) { buffer = 0; caught = false; }
Instance of Symbol 216 MovieClip "ground1" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "groundstage7_1" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (_root.frame40fall && (this._y < 300)) { this._y = this._y + 8; } if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 166 MovieClip in Frame 40
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip "ground4" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (_root.frame40fall) { if (this._y < 360) { this._y = this._y + 8; } else { _root.rockfall = true; } } if (this.hitTest(_root.collisionbox)) { if (_root.frame40fall) { _root.ball.dead = true; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "ground6" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 357 MovieClip "ground2" in Frame 40
onClipEvent (enterFrame) { if (_root.frame40fall && (this._y < 330)) { this._y = this._y + 8; } }
Instance of Symbol 359 MovieClip "ground5" in Frame 40
onClipEvent (enterFrame) { if (_root.frame40fall && (this._y < 360)) { this._y = this._y + 8; } }
Instance of Symbol 216 MovieClip "groundstage4_1" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "ground7" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 361 MovieClip in Frame 40
onClipEvent (enterFrame) { if (_root.ball._y <= 0) { _root.ball.dead = true; } if (_root.ball._y > 500) { _root.stageshift = true; _root.frame40fall = false; } if (_root.stageshift) { _root.ball._y = _root.ball._y - _root.shiftspeed; _root.ground1._y = _root.ground1._y - _root.shiftspeed; _root.ground2._y = _root.ground2._y - _root.shiftspeed; _root.ground3._y = _root.ground3._y - _root.shiftspeed; _root.ground4._y = _root.ground4._y - _root.shiftspeed; _root.ground5._y = _root.ground5._y - _root.shiftspeed; _root.ground6._y = _root.ground6._y - _root.shiftspeed; _root.ground7._y = _root.ground7._y - _root.shiftspeed; _root.ground8._y = _root.ground8._y - _root.shiftspeed; _root.ground9._y = _root.ground9._y - _root.shiftspeed; _root.ground10._y = _root.ground10._y - _root.shiftspeed; _root.ground11._y = _root.ground11._y - _root.shiftspeed; _root.ground12._y = _root.ground12._y - _root.shiftspeed; _root.spikes._y = _root.spikes._y - _root.shiftspeed; _root.spikedeath._y = _root.spikedeath._y - _root.shiftspeed; _root.stageend._y = _root.stageend._y - _root.shiftspeed; _root.fallingobj1._y = _root.fallingobj1._y - _root.shiftspeed; _root.fallingobj2._y = _root.fallingobj2._y - _root.shiftspeed; _root.fallingobj3._y = _root.fallingobj3._y - _root.shiftspeed; _root.fallingobj4._y = _root.fallingobj4._y - _root.shiftspeed; _root.fallingobj5._y = _root.fallingobj5._y - _root.shiftspeed; _root.fallingobj6._y = _root.fallingobj6._y - _root.shiftspeed; _root.fallingobj7._y = _root.fallingobj7._y - _root.shiftspeed; _root.fallingobj8._y = _root.fallingobj8._y - _root.shiftspeed; _root.jabber1._y = _root.jabber1._y - _root.shiftspeed; _root.jabber2._y = _root.jabber2._y - _root.shiftspeed; _root.pipe1._y = _root.pipe1._y - _root.shiftspeed; _root.pipe2._y = _root.pipe2._y - _root.shiftspeed; _root.endpipe1._y = _root.endpipe1._y - _root.shiftspeed; _root.endpipe2._y = _root.endpipe2._y - _root.shiftspeed; _root.groundstage7_1._y = _root.groundstage7_1._y - _root.shiftspeed; _root.groundstage4_1._y = _root.groundstage4_1._y - _root.shiftspeed; _root.totalshift = _root.totalshift - _root.shiftspeed; } if (_root.totalshift <= 0) { _root.ball.noupdate = false; } }
Instance of Symbol 216 MovieClip "ground8" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "ground9" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 216 MovieClip "ground10" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 214 MovieClip "fallingobj1" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj2" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj3" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj4" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj5" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj6" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 214 MovieClip "fallingobj7" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 40) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } this._y = this._y + 6; _root.ball._y = (this._y - this._height) - 8; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } }
Instance of Symbol 216 MovieClip "ground11" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 220 MovieClip "spikedeath" in Frame 40
onClipEvent (enterFrame) { if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.ball._y = this._y - this._height; } } onClipEvent (load) { this._visible = false; }
Instance of Symbol 216 MovieClip "ground12" in Frame 40
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 86 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); _root.ground2.fall = true; return(undefined); } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if ((_root.collisionbox._x + _root.collisionbox._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.collisionbox._width / 2)) - 11; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if ((_root.collisionbox._x - _root.collisionbox._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + (_root.collisionbox._width / 2)) + 11; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 62) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (this.dead) { return(undefined); } if (this.hitTest(_root.ground1)) { this._y = (_root.ground1._y - this._height) + 23; } else { this._y = this._y + 15; } if (this.hitTest(_root.collisionbox)) { if ((_root.collisionbox._x + _root.collisionbox._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.collisionbox._width / 2)) - 11; _root.ball.sidecollision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if ((_root.collisionbox._x - _root.collisionbox._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + (_root.collisionbox._width / 2)) + 11; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 399 MovieClip in Frame 45
onClipEvent (enterFrame) { if (_root.ground2.fall && (!caughtball)) { if (this._y < 165) { this._y = this._y + 3; this._x = this._x + 2; } } if (caughtball) { _root.ball._x = this._x; _root.ball._y = this._y + 140; this._x = this._x + 4; this._y = this._y - 2; } if ((!caught) && (this.hitTest(_root.ball))) { _root.ball.noupdate = true; this.caughtball = true; } } onClipEvent (load) { caughtball = false; }
Instance of Symbol 352 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 8) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (this.dead) { return(undefined); } if (this.hitTest(_root.ground1)) { this._y = (_root.ground1._y - this._height) + 6; } else { this._y = this._y + 15; } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._rotation == 90) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = (this._y - this._height) - 20; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - (this._width / 2); _root.ball.sidecollision = true; if (_root.moverock) { this._x = this._x + 10; } } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 45
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 50; _root.gotoAndStop(50); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 45
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } if (lastbuffer != this.buffer) { _root.popnoise = new Sound(); _root.popnoise.attachSound("pop"); _root.popnoise.start(); } lastbuffer = this.buffer; this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 1; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 45
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 216 MovieClip "ground1" in Frame 45
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.ball._y < this._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } }
Instance of Symbol 361 MovieClip in Frame 45
onClipEvent (enterFrame) { } onClipEvent (load) { _root.ball.ball_velocityX = 63; }
Instance of Symbol 402 MovieClip in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 404 MovieClip "spring" in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; } } if (this.jump) { this.jump = false; _root.ball.ball_velocityY = _root.ball.ball_velocityY - this.jumpamount; this.jumpamount = 0; } if ((Key.isDown(32) && (_root.ball.ball_velocityY > -0.1)) && (_root.ball.ball_velocityY < 0.1)) { if (this._yscale > 10) { this._yscale = this._yscale - 2; if (this.jumpamount > -65) { this.jumpamount = this.jumpamount - 5; } } } else if (this.jumpamount != 0) { this.jump = true; } else { this._yscale = this.theyscale; this.jump = false; this.jumpamount = 0; } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = 0; this._x = _root.ball._x; this._y = _root.ball._y + 20; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = 0; this.rot0 = 0; _root.ball.buffer = 60; gotoAndStop (1); } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; this.theyscale = this._yscale; this.jump = false; this.jumpamount = 0; }
Instance of Symbol 216 MovieClip "ground2" in Frame 45
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Frame 50
numberblocks = 0;
Instance of Symbol 399 MovieClip "helicopter" in Frame 50
onClipEvent (enterFrame) { if (this.dead || (dead2)) { if (this._currentframe == 1) { if (dead) { this._y = this._y + 1; gotoAndPlay (2); } if (dead2) { gotoAndPlay (15); } } _root.ball.dead = true; _root.ball.noupdate = false; } if (_root.ball.buffer > 36) { this._y = this._y + ((_root.ball.buffer - 36) * 0.1); } if (caughtball) { if (this._x < 0) { this._x = 1; } if (this._x > 500) { this._x = 499; } if (this._y < 0) { this._y = 1; } _root.ball._x = this._x + balloffshift; _root.ball._y = this._y + 50; if (this.dead || (this.dead2)) { return(undefined); } if (Key.isDown(39)) { this._x = this._x + 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(32)) { if (!_root.bullet1.fired) { _root.fire = new Sound(); _root.fire.attachSound("fire"); _root.fire.start(0.1); _root.bullet1.fired = true; _root.bullet1._x = this._x + 30; _root.bullet1.startingx = _root.bullet1._x; _root.bullet1._y = this._y + 7; } } } if ((!caught) && (this.hitTest(_root.ball))) { _root.ball.noupdate = true; this.caughtball = true; } } onClipEvent (load) { caughtball = false; balloffshift = 0; }
Instance of Symbol 408 MovieClip "bullet1" in Frame 50
onClipEvent (enterFrame) { if (fired) { this._x = this._x + speed; this.totaldistance = this.totaldistance + speed; if ((this.totaldistance - this.startingx) > 300) { fired = false; totaldistance = 0; this._x = -300; } } } onClipEvent (load) { speed = 30; totaldistance = 0; startingx = 0; fired = false; }
Instance of Symbol 70 MovieClip "tilty1" in Frame 50
onClipEvent (enterFrame) { if (collision) { this._rotation = this._rotation + speed; speed = speed + 1; if (fall) { this._y = this._y + speed; } if (this._rotation > 90) { fall = true; } } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 33) { this.collision = true; } else { _root.helicopter._x = (this._x - _root.helicopter._width) - 1; } } } } onClipEvent (load) { collision = false; speed = 0; fall = false; }
Instance of Symbol 216 MovieClip "thrown" in Frame 50
onClipEvent (enterFrame) { if ((!this.caught) && (this.hitTest(_root.helicopter.helibox))) { _root.helicopter.dead = true; } if (_root.ball.dead) { this._x = -500; this.caught = false; } if (this._x < -50) { return(undefined); } if (this.caught) { if ((this._currentframe != 50) || (this._currentframe != 55)) { this._visible = false; } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = random(360); this.rot0 = random(360); _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } this._x = this._x - 15; this._y = this._y + drag; drag = drag + 0.5; this._rotation = this._rotation - 25; if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; drag = 0; }
Instance of Symbol 72 MovieClip "stageend" in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 55; _root.gotoAndStop(55); } } this._visible = false; }
Instance of Symbol 25 MovieClip "ball" in Frame 50
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 50
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 86 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } if (this.hitTest(_root.bullet1)) { _root.bullet1.totaldistance = 3000; this._xscale = this._xscale - 2; if (this._xscale < 12) { this._y = -300; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 415 MovieClip in Frame 50
onClipEvent (enterFrame) { this.gotoAndStop(1); if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip "ground1" in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.helicopter.dead2 = true; _root.helicopter._y = (((this._y - this._height) - _root.collisionbox._height) - (_root.helicopter._height / 2)) - 2; } else if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = 265; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = 128; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = 45; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = 345; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.helicopter.dead2 = true; _root.helicopter._y = (((this._y - this._height) - _root.collisionbox._height) - (_root.helicopter._height / 2)) - 2; } else if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } }
Instance of Symbol 216 MovieClip in Frame 50
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.helicopter.dead2 = true; _root.helicopter._y = (((this._y - this._height) - _root.collisionbox._height) - (_root.helicopter._height / 2)) - 2; } else if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } }
Instance of Symbol 419 MovieClip "cata" in Frame 50
onClipEvent (enterFrame) { if (this._x < 300) { moveleft = false; } if (this._x > 400) { moveleft = true; } if (moveleft) { this._x = this._x - 1.5; } else { this._x = this._x + 1.5; } } onClipEvent (load) { this.moveleft = true; }
Instance of Symbol 399 MovieClip "helicopter" in Frame 55
onClipEvent (enterFrame) { if (noupdate) { if (this.hitTest(_root.bullet2)) { _root.ball.noupdate = false; } return(undefined); } if (this.dead || (dead2)) { if (this._currentframe == 1) { if (dead) { this._y = this._y + 1; gotoAndPlay (2); } if (dead2) { gotoAndPlay (15); } } _root.ball.dead = true; _root.ball.noupdate = false; } if (_root.ball.buffer > 36) { this._y = this._y + ((_root.ball.buffer - 36) * 0.1); } if (caughtball) { if (this._x < 0) { this._x = 1; } if (this._x > 500) { this._x = 499; } if (this._y < 0) { this._y = 1; } _root.ball._x = this._x + balloffshift; _root.ball._y = this._y + 50; if (this.dead || (this.dead2)) { return(undefined); } if (Key.isDown(39)) { this._x = this._x + 4; } if (Key.isDown(37)) { this._x = this._x - 4; } if (Key.isDown(38)) { this._y = this._y - 4; } if (Key.isDown(40)) { this._y = this._y + 4; } if (Key.isDown(32)) { if (!_root.bullet1.fired) { _root.bullet1.fired = true; _root.bullet1._x = this._x + 30; _root.bullet1.startingx = _root.bullet1._x; _root.bullet1._y = this._y + 7; } } } if ((!caught) && (this.hitTest(_root.ball))) { _root.ball.noupdate = true; this.caughtball = true; } } onClipEvent (load) { caughtball = false; balloffshift = 0; noupdate = false; }
Instance of Symbol 408 MovieClip "bullet1" in Frame 55
onClipEvent (enterFrame) { if (fired) { this._x = this._x + speed; this.totaldistance = this.totaldistance + speed; if ((this.totaldistance - this.startingx) > 250) { fired = false; totaldistance = 0; this._x = -300; } } } onClipEvent (load) { speed = 30; totaldistance = 0; startingx = 0; fired = false; }
Instance of Symbol 408 MovieClip "bullet2" in Frame 55
onClipEvent (enterFrame) { if (fired) { this._x = this._x - speed; } } onClipEvent (load) { speed = 30; totaldistance = 0; startingx = 0; fired = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 55
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 60; _root.gotoAndStop(60); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 55
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 55
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 86 MovieClip in Frame 55
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 86 MovieClip in Frame 55
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; }
Instance of Symbol 216 MovieClip "ground1" in Frame 55
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.helicopter.dead2 = true; _root.helicopter._y = (((this._y - this._height) - _root.collisionbox._height) - (_root.helicopter._height / 2)) - 2; } else if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } }
Instance of Symbol 216 MovieClip "thrown" in Frame 55
onClipEvent (enterFrame) { if ((!this.caught) && (this.hitTest(_root.helicopter.helibox))) { _root.helicopter.dead = true; } if (_root.ball.dead) { this._x = -500; this.caught = false; } if (this._x < -50) { return(undefined); } if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; return(undefined); } if (this.hitTest(_root.collisionbox)) { this.caught = true; this.buffer = _root.ball.buffer; this._rotation = random(360); _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } this._x = this._x - 15; this._y = this._y + drag; drag = drag + 0.5; this._rotation = this._rotation - 25; if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; drag = 0; }
Instance of Symbol 421 MovieClip in Frame 55
onClipEvent (enterFrame) { this.gotoAndStop(1); if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip "ground1" in Frame 55
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.helicopter.dead2 = true; _root.helicopter._y = (((this._y - this._height) - _root.collisionbox._height) - (_root.helicopter._height / 2)) - 2; } else if (this.hitTest(_root.helicopter)) { _root.helicopter.dead = true; } } }
Instance of Symbol 423 MovieClip in Frame 55
onClipEvent (enterFrame) { if (this.hitTest(_root.helicopter)) { _root.helicopter.noupdate = true; _root.bullet2.fired = true; _root.bullet2._y = _root.helicopter._y + 20; } }
Frame 60
fallspeed = 25; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false;
Instance of Symbol 72 MovieClip "stageend" in Frame 60
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 65; _root.gotoAndStop(65); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 60
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { _root.stagestart = getTimer(); gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 60
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; if ((getTimer() - _root.stagestart) > 20000) { _root.ball._y = _root.ball._y + 30; } } onClipEvent (load) { _root.stagestart = getTimer(); this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 421 MovieClip "garbage" in Frame 60
onClipEvent (enterFrame) { this.gotoAndStop(1); if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { _root.stagestart = getTimer(); this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning10._visible = false; _root.warning20._visible = false; } else if (!warningnomore) { _root.warning10._visible = true; _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 429 MovieClip "warning10" in Frame 60
onClipEvent (load) { _visible = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 4) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning30._visible = false; _root.warning40._visible = false; } else if (!warningnomore) { _root.warning30._visible = true; _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 5300) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { _root.warning20._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 7000) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning30._visible = false; _root.warning20._visible = false; } else if (!warningnomore) { _root.warning30._visible = true; _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 0) { if (this._y < 0) { offscreen = true; this._visible = false; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; return(undefined); } _root.warning3._visible = true; _root.warning4._visible = true; _root.warning1._visible = true; _root.warning2._visible = true; this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 429 MovieClip "warning20" in Frame 60
onClipEvent (load) { _visible = false; }
Instance of Symbol 429 MovieClip "warning30" in Frame 60
onClipEvent (load) { _visible = false; }
Instance of Symbol 429 MovieClip "warning40" in Frame 60
onClipEvent (load) { _visible = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 8200) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning30._visible = false; _root.warning40._visible = false; } else if (!warningnomore) { _root.warning30._visible = true; _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 8600) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning10._visible = false; } else if (!warningnomore) { _root.warning10._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 9450) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 700) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning10._visible = false; _root.warning20._visible = false; _root.warning30._visible = false; } else if (!warningnomore) { _root.warning10._visible = true; _root.warning20._visible = true; _root.warning30._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; warningnomore = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 10400) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning40._visible = false; } else if (!warningnomore) { _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { offscreen = false; warningnomore = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 11000) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning10._visible = false; _root.warning20._visible = false; } else if (!warningnomore) { _root.warning10._visible = true; _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 13000) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 700) < _root.ball._y) && (!warningnomore)) { _root.warning40._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 13150) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 700) < _root.ball._y) && (!warningnomore)) { _root.warning30._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning30._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 13300) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 700) < _root.ball._y) && (!warningnomore)) { _root.warning20._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 14000) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { _root.warning10._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning10._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 15800) { if (this._y < -600) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 700) < _root.ball._y) && (!warningnomore)) { _root.warning40._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 14800) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { _root.warning30._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning30._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 14500) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { _root.warning20._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning20._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 15800) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 200) < _root.ball._y) && (!warningnomore)) { _root.warning20._visible = false; _root.warning10._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning20._visible = true; _root.warning10._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 60
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if ((getTimer() - _root.stagestart) > 14500) { if (this._y < 0) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { _root.warning10._visible = false; warningnomore = true; } else if (!warningnomore) { _root.warning10._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; _root.warning1._visible = false; _root.warning2._visible = false; _root.warning3._visible = false; _root.warning4._visible = false; } } } onClipEvent (load) { warningnomore = false; offscreen = false; }
Frame 65
fallspeed = 16;
Instance of Symbol 72 MovieClip "stageend" in Frame 65
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 70; _root.gotoAndStop(70); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 65
onClipEvent (enterFrame) { if (this._y < 92) { this._y = this._y + 2; } if (replay || (noupdate)) { return(undefined); } if (dead) { _root.stagestart = getTimer(); gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 5; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 5; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 5; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 5; } } if (!collision) { } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 65
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; } onClipEvent (load) { _root.stagestart = getTimer(); this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 421 MovieClip "garbage" in Frame 65
onClipEvent (enterFrame) { this.gotoAndStop(1); if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { _root.stagestart = getTimer(); this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip in Frame 65
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning10._visible = false; } else if (!warningnomore) { _root.warning10._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 429 MovieClip "warning10" in Frame 65
onClipEvent (load) { _visible = false; }
Instance of Symbol 429 MovieClip "warning20" in Frame 65
onClipEvent (load) { _visible = false; }
Instance of Symbol 429 MovieClip "warning30" in Frame 65
onClipEvent (load) { _visible = false; }
Instance of Symbol 429 MovieClip "warning40" in Frame 65
onClipEvent (load) { _visible = false; }
Instance of Symbol 216 MovieClip in Frame 65
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; _root.warning30._visible = false; _root.warning40._visible = false; } else if (!warningnomore) { _root.warning30._visible = true; _root.warning40._visible = true; } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 65
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; } else if (!warningnomore) { } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 65
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; } else if (!warningnomore) { } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 216 MovieClip in Frame 65
onClipEvent (enterFrame) { if (offscreen) { return(undefined); } if (_root.ball.replay == false) { if (((getTimer() - _root.stagestart) / 1000) > 2) { if (this._y < -500) { offscreen = true; this._visible = false; return(undefined); } if (((this._y - 400) < _root.ball._y) && (!warningnomore)) { warningnomore = true; } else if (!warningnomore) { } this._y = this._y - _root.fallspeed; } if (this.hitTest(_root.collisionbox)) { _root.ball.dead = true; _root.lines._visible = false; _root.ball._visible = false; _root.garbage._visible = false; _root.explosion.gotoAndPlay(1); _root.explosion._x = this._x; _root.explosion._y = this._y; } } } onClipEvent (load) { offscreen = false; }
Instance of Symbol 399 MovieClip in Frame 65
onClipEvent (enterFrame) { if (((getTimer() - _root.stagestart) / 1000) > 5) { this._visible = true; if (this._xscale > 50) { this._xscale = this._xscale - 1; this._yscale = this._yscale - 1; this._x = this._x + (_xscale / 50); } else { cancatch = true; } if (caughtball) { this._x = this._x + 5; } } if (_root.ground2.fall && (!caughtball)) { if (this._y < 165) { this._x = this._x + 5; } } if (caughtball) { _root.ball._x = this._x + 25; _root.ball._y = this._y + 70; this._x = this._x + 4; this._y = this._y - 2; } if (((!caught) && (this.hitTest(_root.ball))) && (cancatch)) { _root.ball.noupdate = true; this.caughtball = true; } } onClipEvent (load) { caughtball = false; cancatch = false; this._visible = false; }
Instance of Symbol 399 MovieClip "helicopter" in Frame 70
onClipEvent (enterFrame) { if (noupdate) { this._y = this._y - 3; _root.ball.noupdate = false; return(undefined); } _root.ball.noupdate = true; if ((this._y < 45) && (!noupdate)) { this._y = this._y + 3; } else { noupdate = true; } if (this.dead || (dead2)) { if (this._currentframe == 1) { if (dead) { this._y = this._y + 1; gotoAndPlay (2); } if (dead2) { gotoAndPlay (15); } } _root.ball.dead = true; _root.ball.noupdate = false; } if (_root.ball.buffer > 36) { this._y = this._y + ((_root.ball.buffer - 36) * 0.1); } if (caughtball) { if (this._x < 0) { this._x = 1; } if (this._x > 500) { this._x = 499; } if (this._y < 0) { this._y = 1; } _root.ball._x = this._x + balloffshift; _root.ball._y = this._y + 50; if (this.dead || (this.dead2)) { return(undefined); } } if ((!caught) && (this.hitTest(_root.ball))) { _root.ball.noupdate = true; this.caughtball = true; } } onClipEvent (load) { caughtball = false; balloffshift = 0; noupdate = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 70
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox)) { _root.stageframe = 75; _root.gotoAndStop(75); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 70
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } this._rotation = this._rotation + (ball_velocityX / (25 + this.buffer)); if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 172 MovieClip "collisionbox" in Frame 70
onClipEvent (enterFrame) { this._x = _root.ball._x + (_root.ball.ball_velocityX / 5); this._y = _root.ball._y + _root.ball.ball_velocityY; if (_root.ball._y < -35) { _root.ball.dead = true; _root.garbage.dead = true; } } onClipEvent (load) { this._visible = false; _root.rockfallspeed = 15; }
Instance of Symbol 421 MovieClip in Frame 70
onClipEvent (enterFrame) { this.gotoAndStop(1); if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); this._rotation = _root.ball._rotation * 25; return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 423 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.helicopter)) { _root.helicopter.noupdate = true; _root.bullet2.fired = true; _root.bullet2._y = _root.helicopter._y + 20; } }
Instance of Symbol 216 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.trigger.trigger) { this._x = this._x + 3; _root.ball._x = _root.ball._x + 3; } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 70
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { this._y = this._y + 0.5; _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 30) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (_root.trigger.trigger) { this._x = this._x - 5; _root.ball._x = _root.ball._x - 5; } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (this._x >= 450) { this._y = this._y - 5; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 30) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (this._x < 450) { this._x = this._x + 5; _root.ball._x = _root.ball._x + 5; } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "trigger" in Frame 70
onClipEvent (enterFrame) { if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (this.hitTest(_root.collisionbox)) { if (_root.ball.buffer > 66) { this.caught = true; this.buffer = _root.ball.buffer; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + (_root.ball.bufferinc * 2); _root.collisionbox._xscale = _root.collisionbox._xscale + (_root.ball.scalefactor + 10); _root.collisionbox._yscale = _root.collisionbox._yscale + (_root.ball.scalefactor + 10); return(undefined); } } if (fall) { this._y = this._y + 14; } if (_root.ball.replay == false) { if (this.hitTest(_root.collisionbox) && (_root.spring.jump != true)) { if (_root.ball.ball_velocityY > 3000) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.collisionbox._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; trigger = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; trigger = false; }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (_root.trigger.trigger) { this._y = this._y + 0.75; } if (this._y > 530) { this._visible = false; this._x = 2500; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 70
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 435 MovieClip in Frame 70
onClipEvent (enterFrame) { if (_root.trigger.trigger) { this._x = this._x - 0.85; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 429 MovieClip "warning40" in Frame 70
onClipEvent (enterFrame) { if (_root.trigger.trigger) { if (thetimer == 0) { _visible = true; thetimer = getTimer(); } if ((getTimer() - thetimer) > 2000) { _visible = false; } } } onClipEvent (load) { _visible = false; thetimer = 0; }
Instance of Symbol 86 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 1; _root.ball.sidecollision = true; } } } }
Instance of Symbol 86 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x + _root.ball._width) >= (this._x - this._width)) { _root.ball._x = (this._x - _root.ball._width) - 1; _root.ball.sidecollision = true; } } } }
Instance of Symbol 72 MovieClip "stageend" in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 80; _root.gotoAndStop(80); stopAllSounds(); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 75
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 86 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + (_root.ball._width / 2)) + 15; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 86 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + (_root.ball._width / 2)) + 15; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 86 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if ((_root.ball._x - _root.ball._width) <= (this._x + (this._width / 2))) { _root.ball._x = (this._x + (_root.ball._width / 2)) + 15; _root.ball.sidecollision = true; } } } } onClipEvent (load) { this.dead = false; }
Instance of Symbol 421 MovieClip "garbage" in Frame 75
onClipEvent (enterFrame) { if (this.caught) { ballx = _root.ball._x; bally = _root.ball._y; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + (_root.ball.ball_velocityY / 5); return(undefined); } if (this.fall) { if (this._y < 265) { this._y = this._y + 15; // unexpected jump } this.dead = true; this._rotation = 24; return(undefined); } if (this.dead) { } else if (!this.pullswitch) { distance = Math.round(Math.sqrt(Math.pow(this._x - _root.ball._x, 2) + Math.pow(this._y - _root.ball._y, 2))); if (distance <= 50) { if (!this.running) { if (this._x < _root.ball._x) { gotoAndPlay (5); } else { gotoAndPlay (15); } this.running = true; } } if (this.running) { if (this._x < _root.ball._x) { if (this._x < 45) { this.fall = true; } this._x = this._x - 2; } else if (this._x < 360) { this._x = this._x + 2; } } else { this.running = false; gotoAndStop (1); } if (this.hitTest(_root.ball)) { this.caught = true; this.buffer = 0; this.rot0 = _root.ball._rotation; _root.ball.buffer = _root.ball.buffer + _root.ball.bufferinc; _root.collisionbox._xscale = _root.collisionbox._xscale + _root.ball.scalefactor; _root.collisionbox._yscale = _root.collisionbox._yscale + _root.ball.scalefactor; gotoAndStop (1); } if (this.hitTest(_root.fallingobj1)) { gotoAndPlay (60); this.dead = true; } if (this.hitTest(_root.switch1)) { gotoAndPlay (25); this.pullswitch = true; } } } onClipEvent (load) { this.dead = false; this.running = false; this.pullswitch = false; this.fall = false; this.caught = false; this.buffer = 0; this.rot0 = 0; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (movingup) { if (totalmovement != 0) { this._y = this._y + 5; totalmovement = totalmovement - 5; } else if (stopTime == 0) { stopTime = getTimer(); } else if ((getTimer() - stopTime) > 1000) { movingup = false; stopTime = 0; } } else { this._y = this._y - 5; totalmovement = totalmovement + 5; if (totalmovement == 85) { movingup = true; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y < _root.ball._y) { _root.ball.dead = true; } else { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; movingup = true; totalmovement = 85; stopTime = 0; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 439 MovieClip in Frame 75
onClipEvent (enterFrame) { if (movingup) { if (totalmovement != 0) { this._y = this._y + 5; totalmovement = totalmovement - 5; } else if (stopTime == 0) { stopTime = getTimer(); } else if ((getTimer() - stopTime) > 1000) { movingup = false; stopTime = 0; } } else { this._y = this._y - 5; totalmovement = totalmovement + 5; if (totalmovement == 85) { movingup = true; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y < _root.ball._y) { _root.ball.dead = true; } else { _root.ball._y = ((this._y - (this._height / 4)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; movingup = true; totalmovement = 0; stopTime = 0; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; _visible = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (_root.ball.ball_velocityY > 50) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; _visible = false; }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (_root.trigger.trigger) { this._y = this._y + 0.25; } if (this._y > 530) { this._visible = false; this._x = 2500; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 75
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 86 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this._visible && (_root.ball.replay == false)) { if (this.hitTest(_root.ball)) { if ((_root.ball._x + _root.ball._width) >= (this._x - (this._width / 2))) { _root.ball._x = (this._x - (_root.ball._width / 2)) - 8; _root.ball.sidecollision = true; } } } if (_root.block1.myturn) { _visible = false; } else { _visible = true; } }
Instance of Symbol 442 MovieClip "tunnel2" in Frame 80
onClipEvent (load) { this._alpha = 0; }
Instance of Symbol 72 MovieClip "stageend" in Frame 80
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.block19._alpha > 0) { _root.stageframe = 85; _root.gotoAndStop(85); } } } }
Instance of Symbol 25 MovieClip "ball" in Frame 80
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 216 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "block1" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block2.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = true; this._alpha = 0; }
Instance of Symbol 445 MovieClip in Frame 80
onClipEvent (load) { _root.apearspeed = 4; _root.time = 600; }
Instance of Symbol 216 MovieClip "block2" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block3.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block3" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block4.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block4" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block5.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block5" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block6.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block6" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block7.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block7" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block8.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block8" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block9.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block9" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block10.myturn = true; } else if (((getTimer() - this.apeartime) > (_root.time * 2)) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block10" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block11.myturn = true; } else if (((getTimer() - this.apeartime) > (_root.time * 2)) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block11" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block12.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block12" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block13.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block13" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block14.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block14" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block15.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block15" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block16.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block16" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block17.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block17" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block18.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block18" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 175) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block19.myturn = true; } else if (((getTimer() - this.apeartime) > _root.time) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 216 MovieClip "block19" in Frame 80
onClipEvent (enterFrame) { if (myturn) { if ((this._alpha > 100) && (this.apeartime == 0)) { this.apeartime = getTimer(); _root.block1.myturn = true; } else if (((getTimer() - this.apeartime) > (_root.time * 2)) && (this.apeartime != 0)) { this.myturn = false; this._alpha = 0; _root.tunnel1._alpha = 0; _root.tunnel2._alpha = 0; this.apeartime = 0; } else { this._alpha = this._alpha + _root.apearspeed; _root.tunnel1._alpha = _root.tunnel1._alpha + _root.apearspeed; _root.tunnel2._alpha = _root.tunnel2._alpha + _root.apearspeed; } } if (_root.ball.replay == false) { if ((this._alpha != 0) && (this.hitTest(_root.ball))) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; this.apeartime = 0; this.myturn = false; this._alpha = 0; }
Instance of Symbol 447 MovieClip "tunnel1" in Frame 80
onClipEvent (load) { this._alpha = 0; }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (_root.trigger.trigger) { this._y = this._y + 0.25; } if (this._y > 530) { this._visible = false; this._x = 2500; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 80
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 72 MovieClip "stageend" in Frame 85
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 90; _root.gotoAndStop(90); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 85
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 445 MovieClip in Frame 85
onClipEvent (load) { _root.apearspeed = 4; _root.time = 600; }
Instance of Symbol 216 MovieClip "movingblock" in Frame 85
onClipEvent (enterFrame) { if (moveright) { if (this._x < 333) { this._x = this._x + 5; } else { moveright = false; } } else if (this._x > 130) { this._x = this._x - 5; } else { moveright = true; } if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (_root.ball.ball_velocityY > 30) { _root.ball.dead = true; _root.ball._y = ((this._y - this._height) - _root.ball.ball_velocityY) - 16; return(undefined); } if (this._x < 450) { if (this.moveright) { _root.ball._x = _root.ball._x + 5; } else { _root.ball._x = _root.ball._x - 5; } } _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; moveright = false; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { } onClipEvent (load) { }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation - 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y > _root.ball._y) { this._rotation = this._rotation - 30; spin = true; _root.ball.ball_velocityY = 55; _root.ball.ball_velocityX = -132; _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation + 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -32; _root.ball.ball_velocityX = 81; _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "movingblock2" in Frame 85
onClipEvent (enterFrame) { if (moveright) { if (this._x < 250) { this._x = this._x + 5; } else { moveright = false; } } else if (this._x > 0) { this._x = this._x - 5; } else { moveright = true; } if (this.caught) { if (_root.ball.dead) { if (this._xscale >= 0) { this._xscale = this._xscale - 18; this._yscale = this._yscale - 18; } } ballx = _root.ball._x; bally = _root.ball._y; this._rotation = _root.ball._rotation; rotx = (Math.cos(this._rotation + this.rot0) * ballx) - (Math.sin(this._rotation + this.rot0) * bally); roty = (Math.sin(this._rotation + this.rot0) * ballx) + (Math.cos(this._rotation + this.rot0) * bally); rotx = ((rotx * 0.01) * this.buffer) * 0.1; roty = ((roty * 0.01) * this.buffer) * 0.1; this._x = (_root.ball._x + rotx) + (_root.ball.ball_velocityX / 5); this._y = (_root.ball._y + roty) + _root.ball.ball_velocityY; this._rotation = _root.ball._rotation * 50; return(undefined); } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._x < 450) { if (this.moveright) { _root.ball._x = _root.ball._x + 5; } else { _root.ball._x = _root.ball._x - 5; } } if ((_root.ball.ball_velocityY < 1) && (_root.ball.ball_velocityY > -1)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -62; _root.ball.ball_velocityX = 81; _root.ball.collision = true; return(undefined); } _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; moveright = true; }
Instance of Symbol 216 MovieClip in Frame 85
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation - 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -43; _root.ball.ball_velocityX = -71; _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (_root.trigger.trigger) { this._y = this._y + 0.25; } if (this._y > 530) { this._visible = false; this._x = 2500; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 433 MovieClip in Frame 85
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Frame 88
_root.xrot = 0; _root.yrot = 0;
Instance of Symbol 449 MovieClip in Frame 88
onClipEvent (load) { cubeData = [{colour:16750848, Sides:[{x:-50, y:50, z:50}, {x:-50, y:50, z:-50}, {x:50, y:50, z:-50}, {x:50, y:50, z:50}]}, {colour:16750848, Sides:[{x:-50, y:-50, z:-50}, {x:-50, y:-50, z:50}, {x:50, y:-50, z:50}, {x:50, y:-50, z:-50}]}, {colour:16746496, Sides:[{x:50, y:-50, z:50}, {x:50, y:50, z:50}, {x:50, y:50, z:-50}, {x:50, y:-50, z:-50}]}, {colour:16746496, Sides:[{x:-50, y:-50, z:-50}, {x:-50, y:50, z:-50}, {x:-50, y:50, z:50}, {x:-50, y:-50, z:50}]}, {colour:16755200, Sides:[{x:-50, y:50, z:-50}, {x:-50, y:-50, z:-50}, {x:50, y:-50, z:-50}, {x:50, y:50, z:-50}]}, {colour:16755200, Sides:[{x:50, y:50, z:50}, {x:50, y:-50, z:50}, {x:-50, y:-50, z:50}, {x:-50, y:50, z:50}]}]; Objekt3d = function (data3d) { this.data3d = data3d; this.move3d = function (x, y, z) { var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { this.data3d[k].Sides[i].x = this.data3d[k].Sides[i].x + x; this.data3d[k].Sides[i].y = this.data3d[k].Sides[i].y + y; this.data3d[k].Sides[i].z = this.data3d[k].Sides[i].z + z; i++; } k++; } }; this.scale3d = function (x, y, z) { var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { this.data3d[k].Sides[i].x = this.data3d[k].Sides[i].x * x; this.data3d[k].Sides[i].y = this.data3d[k].Sides[i].y * y; this.data3d[k].Sides[i].z = this.data3d[k].Sides[i].z * z; i++; } k++; } }; this.rotate3d = function (xa, ya) { var rad = (Math.PI/180); var px; var py; var pz; var sin_xa; var sin_ya; var cos_xa; var cos_ya; var tempz; var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { px = this.data3d[k].Sides[i].x; py = this.data3d[k].Sides[i].y; pz = this.data3d[k].Sides[i].z; cos_ya = Math.cos(ya * rad); sin_ya = Math.sin(ya * rad); cos_xa = Math.cos(xa * rad); sin_xa = Math.sin(xa * rad); tempz = (pz * cos_ya) - (px * sin_ya); this.data3d[k].Sides[i].x = (pz * sin_ya) + (px * cos_ya); this.data3d[k].Sides[i].y = (py * cos_xa) - (tempz * sin_xa); this.data3d[k].Sides[i].z = (py * sin_xa) + (tempz * cos_xa); i++; } k++; } }; }; Kamera3d = function (Objekt3d, distance, angle, loc) { this.Objekt3d = Objekt3d; this.distance = distance; this.angle = angle; this.loc = loc; this.mc = this.create(); }; Kamera3d.prototype.create = function () { return(this.loc.createEmptyMovieClip("camMC" + Stage.camNum, Stage.camNum++)); }; Kamera3d.prototype.render = function () { this.mc.clear(); var z; var pers; var sx; var sy; var tx; var ty; var polygon; var k = 0; while (k < this.Objekt3d.data3d.length) { polygon = []; var i = 0; while (i < this.Objekt3d.data3d[k].Sides.length) { z = this.Objekt3d.data3d[k].Sides[i].z + this.distance; pers = this.angle / z; sx = this.Objekt3d.data3d[k].Sides[i].x * pers; sy = this.Objekt3d.data3d[k].Sides[i].y * pers; polygon.push({sx:sx, sy:sy}); i++; } z = ((polygon[1].sx - polygon[0].sx) * (polygon[2].sy - polygon[0].sy)) - ((polygon[1].sy - polygon[0].sy) * (polygon[2].sx - polygon[0].sx)); if (z > 0) { this.mc.beginFill(this.Objekt3d.data3d[k].colour, this.Objekt3d.data3d[k].colour); this.mc.moveTo(polygon[0].sx, polygon[0].sy); this.mc.lineTo(polygon[1].sx, polygon[1].sy); this.mc.lineTo(polygon[2].sx, polygon[2].sy); this.mc.lineTo(polygon[3].sx, polygon[3].sy); this.mc.lineTo(polygon[0].sx, polygon[0].sy); } k++; } }; Cube3d = new Objekt3d(cubeData); Szene3D = new Kamera3d(Cube3d, 200, 400, _root); Szene3D.render(); Szene3D.mc._x = 275; Szene3D.mc._y = 175; totalrot = 0; _root.onEnterFrame = function () { if (_root.ball._x < 225) { if (totalrot > -45) { Cube3d.rotate3d(0, 10); totalrot = totalrot - 10; } } else if (_root.ball._x > 275) { if (totalrot < 45) { Cube3d.rotate3d(0, -10); totalrot = totalrot + 10; } } else if (totalrot > 0) { Cube3d.rotate3d(0, 10); totalrot = totalrot - 10; } else if (totalrot < 0) { Cube3d.rotate3d(0, -10); totalrot = totalrot + 10; } Szene3D.render(); }; }
Instance of Symbol 451 MovieClip in Frame 88
onClipEvent (enterFrame) { } onClipEvent (load) { totalnodes = 7; if ((currentNode == _root.node1) && (goalNode == _root.node2)) { travelList[0] = path1; } else if ((currentNode == _root.node1) && (goalNode == _root.node3)) { travelList[0] = path2; } else if ((currentNode == _root.node1) && (goalNode == _root.node4)) { travelList[0] = path1; travelList[1] = path3; } else if ((currentNode == _root.node1) && (goalNode == _root.node5)) { travelList[0] = path1; travelList[1] = path3; travelList[2] = path5; } _global.bestfirst = function (badguy) { startx = badguy._x; starty = badguy._y; goalx = _root.ball._x; goaly = _root.ball._y; foundgoal = false; currentnode = 0; openlist = new Array(); closedlist = new Array(); currentnode = _root.node1; openlistsize = 0; closedlistsize = 0; if (currentnode) { while (!foundgoal) { if (currentnode == node2) { foundgoal = true; } j = 0; while (j < currentnode.connectedNodes.length) { foundnode = true; z = 0; while (z < openlistsize) { if (openlist[z] == currentnode.connectedNodes[j]) { foundnode = true; } z++; } if (!foundnode) { openlist.push(currentnode.connectedNodes[j]); } j++; } } } }; }
Instance of Symbol 453 MovieClip "path3" in Frame 88
onClipEvent (load) { dx = 0; dy = -1; _visible = false; }
Instance of Symbol 453 MovieClip "path2" in Frame 88
onClipEvent (load) { dx = 0; dy = -1; _visible = false; }
Instance of Symbol 455 MovieClip "node1" in Frame 88
onClipEvent (load) { connectedNodes = new Array(); connectedNodes[0] = _root.node2; connectedNodes[1] = _root.node3; heuristicCost = 1; }
Instance of Symbol 453 MovieClip "path1" in Frame 88
onClipEvent (load) { dx = 1; dy = 0; _visible = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 90
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 95; _root.gotoAndStop(95); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 90
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle1.activate)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 445 MovieClip in Frame 90
onClipEvent (load) { _root.apearspeed = 4; _root.time = 600; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation + 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -27; _root.ball.ball_velocityX = 81; _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 439 MovieClip in Frame 90
onClipEvent (enterFrame) { if (movingup) { if (totalmovement != 0) { this._y = this._y + 7; totalmovement = totalmovement - 7; } else if (stopTime == 0) { stopTime = getTimer(); } else if ((getTimer() - stopTime) > 1000) { movingup = false; stopTime = 0; } } else { this._y = this._y - 7; totalmovement = totalmovement + 7; if (totalmovement > 85) { movingup = true; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y < _root.ball._y) { _root.ball.dead = true; } else { _root.ball._y = ((this._y - (this._height / 4)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; movingup = true; totalmovement = 0; stopTime = 0; }
Instance of Symbol 216 MovieClip "paddle1" in Frame 90
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation - 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation - 30; spin = true; _root.ball.ball_velocityY = -28; _root.ball.ball_velocityX = 0; activate = true; } else { activate = false; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; activate = false; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle1.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation + 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -27; _root.ball.ball_velocityX = 81; _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 439 MovieClip in Frame 90
onClipEvent (enterFrame) { if (movingup) { if (totalmovement != 0) { this._y = this._y + 6.5; totalmovement = totalmovement - 6.5; } else if (stopTime == 0) { stopTime = getTimer(); } else if ((getTimer() - stopTime) > 1000) { movingup = false; stopTime = 0; } } else { this._y = this._y - 6.5; totalmovement = totalmovement + 6.5; if (totalmovement > 85) { movingup = true; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y < _root.ball._y) { _root.ball.dead = true; } else { _root.ball._y = ((this._y - (this._height / 4)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; movingup = true; totalmovement = 0; stopTime = 0; }
Instance of Symbol 216 MovieClip "paddle2" in Frame 90
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation - 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation - 30; spin = true; _root.ball.ball_velocityY = -28; _root.ball.ball_velocityX = 0; activate = true; } else { activate = false; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; activate = false; }
Instance of Symbol 216 MovieClip in Frame 90
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { if ((_root.ball.ball_velocityY < 1) && (_root.ball.ball_velocityY > -1)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -62; _root.ball.ball_velocityX = 81; _root.ball.collision = true; return(undefined); } } if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 72 MovieClip "stageend" in Frame 95
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.stageframe = 100; _root.gotoAndStop(100); } } }
Instance of Symbol 25 MovieClip "ball" in Frame 95
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 3; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 445 MovieClip in Frame 95
onClipEvent (load) { _root.apearspeed = 4; _root.time = 600; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation + 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -15; _root.ball.ball_velocityX = 150; _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; if (firstcollision) { firstcollision = false; _root.ball.ball_velocityX = 35; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; firstcollision = true; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.activate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 457 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this._x < 500) { this._x = this._x + 4.5; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 457 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this._x < 500) { this._x = this._x + 7; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 457 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this._x < 500) { this._x = this._x + 6; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 457 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this._x > 0) { this._x = this._x - 7; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 457 MovieClip in Frame 95
onClipEvent (enterFrame) { if (this._x > 0) { this._x = this._x - 4.35; } if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 462 MovieClip "bar" in Frame 100
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { i = 0; if (this.collidebox.hitTest(_root.ball)) { _root.ball._x = _root.ball._x - _root.ball.ball_velocityX; _root.ball._y = _root.ball._y - _root.ball.ball_velocityY; i++; if (i > 20) { } } else { do { if (!this.hitTest(_root.ball)) { break; } _root.ball._x = _root.ball._x - _root.ball.ball_velocityX; _root.ball._y = _root.ball._y - _root.ball.ball_velocityY; i++; } while (i <= 20); } } else if (_root.baddy1.dead) { if (_root.ball.hitTest(_root.theswitch)) { if (this._x > (195 + (_width / 2))) { this._x = this._x - speed; speed = speed + 1; } else { this._x = 195 + (_width / 2); speed = 1; } } else if (speed < 15) { this._x = this._x + speed; speed = speed + 1; } } } onClipEvent (load) { speed = 1; }
Instance of Symbol 491 MovieClip "baddy2" in Frame 100
onClipEvent (load) { location = 0; goalX = 0; goalY = 0; getReadyToFireTimer = 0; randomwait = 0; gotoAndStop (1); state = "stop"; alerttimer = 0; patroltime = 2000; velx = 5; vely = 5; pathFind = function () { if (location == 0) { targetRotation = getAngle(_x, _root.point0._x, _y, _root.point0._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point0)) { location = 1; } } else if (location == 1) { targetRotation = getAngle(_x, _root.point1._x, _y, _root.point1._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point1)) { if (_root.ball._x < this._x) { location = 2; } else { location = 3; } } } else if (location == 2) { targetRotation = getAngle(_x, _root.point2._x, _y, _root.point2._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point2)) { if (_root.ball._y < this._y) { location = 4; } else { location = 5; } } } else if (location == 3) { targetRotation = getAngle(_x, _root.point3._x, _y, _root.point3._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point3)) { if (_root.ball._y > this._y) { location = 6; } else { location = 2; } } } else if (location == 4) { targetRotation = getAngle(_x, _root.point4._x, _y, _root.point4._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point4)) { if (_root.ball._x < _root.bar2._x) { location = 2; } else { location = 7; } } } else if (location == 5) { targetRotation = getAngle(_x, _root.point5._x, _y, _root.point5._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point5)) { if (_root.ball._y > _root.point3._y) { location = 6; } else { location = 2; } } } else if (location == 6) { targetRotation = getAngle(_x, _root.point6._x, _y, _root.point6._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point6)) { if (_root.ball._y > _root.point3._y) { location = 5; } else { location = 3; } } } else if (location == 7) { targetRotation = getAngle(_x, _root.point7._x, _y, _root.point7._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this.collidebox2.hitTest(_root.point7)) { if (_root.ball._x < _root.bar2._x) { location = 4; } else { location = 1; } } } }; smartRotation = function (currentRotation, targetRotation, rotationAmount) { if (Math.abs(currentRotation - targetRotation) <= rotationAmount) { currentRotation = targetRotation; } else if (currentRotation != targetRotation) { if ((currentRotation >= 0) && (targetRotation >= 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation < 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation >= 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) <= 180) { currentRotation = currentRotation + rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) > 180) { currentRotation = currentRotation - rotationAmount; } } else if ((currentRotation >= 0) && (targetRotation < 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) < 180) { currentRotation = currentRotation - rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) >= 180) { currentRotation = currentRotation + rotationAmount; } } } return(currentRotation); }; getAngle = function (x1, x2, y1, y2) { velx = (getAngle_delta_x = x1 - x2); vely = (getAngle_delta_y = y1 - y2); vectorlength = Math.sqrt((velx * velx) + (vely * vely)); if (vectorlength == 0) { vectorlength = 0.0001; } velx = velx * (1 / vectorlength); vely = vely * (1 / vectorlength); getAngle_rotation = (-Math.atan2(getAngle_delta_x, getAngle_delta_y)) / (Math.PI/180); return(getAngle_rotation); }; turnSpeed = 7; } onClipEvent (enterFrame) { if (this._currentframe > 50) { return(undefined); } if (this.dead) { gotoAndPlay (50); return(undefined); } if ((state != "fire") && (this.hitTest(_root.ball))) { state = "attack"; if (this._currentframe == 1) { getReadyToFireTimer = getTimer(); randomwait = random(2000) + 2000; this.gotoAndPlay(2); } alerttimer = getTimer(); } if (state == "attack") { if ((getTimer() - getReadyToFireTimer) > randomwait) { state = "fire"; this.gotoAndPlay(15); } pathFind(); this._y = this._y - (vely * 2.5); this._x = this._x - (velx * 2.5); } if (state == "fire") { if (this._currentframe == 24) { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("fire"); _root.splat.start(_root.splatoffset); _root.bullet2._x = this._x; _root.bullet2._y = this._y; _root.bullet2.velx = -velx; _root.bullet2.vely = -vely; } targetRotation = getAngle(_x, _root.ball._x, _y, _root.ball._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this._currentframe == 40) { state = "attack"; getReadyToFireTimer = getTimer(); randomwait = random(1350) + 500; this.gotoAndPlay(2); } } while (_root.wall2.hitTest(this.collidebox2)) { this._x = this._x - 1; } while (_root.wall3.hitTest(this.collidebox2)) { this._x = this._x + 1; } while (_root.wall4.hitTest(this.collidebox2)) { this._y = this._y - 1; } while (_root.wall5.hitTest(this.collidebox2)) { this._y = this._y + 1; } while (_root.ball.hitTest(this.collidebox2) && (!_root.ball.dead)) { this._x = this._x + velx; this._y = this._y + vely; } if (_root.bar.smallbox.hitTest(this.collidebox2)) { this._x = this._x - 10; if (this.collidebox2.hitTest(_root.wall3)) { this.dead = true; } } }
Instance of Symbol 493 MovieClip "spikecollisionbox" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 462 MovieClip "bar2" in Frame 100
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { i = 0; do { if (!this.hitTest(_root.ball)) { break; } _root.ball._x = _root.ball._x - _root.ball.ball_velocityX; _root.ball._y = _root.ball._y - _root.ball.ball_velocityY; i++; } while (i <= 20); } else if (_root.baddy1.dead) { this._y = this._y - speed; speed = speed + 1; } } onClipEvent (load) { speed = 1; }
Instance of Symbol 495 MovieClip "point0" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point1" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point2" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point3" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point4" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point5" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point6" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 495 MovieClip "point7" in Frame 100
onClipEvent (load) { _visible = false; }
Instance of Symbol 511 MovieClip "baddy1" in Frame 100
onClipEvent (load) { goalX = 0; goalY = 0; getReadyToFireTimer = 0; randomwait = 0; gotoAndStop (1); state = "stop"; alerttimer = 0; patroltime = 2000; velx = 5; vely = 5; slide = 1; smartRotation = function (currentRotation, targetRotation, rotationAmount) { if (Math.abs(currentRotation - targetRotation) <= rotationAmount) { currentRotation = targetRotation; } else if (currentRotation != targetRotation) { if ((currentRotation >= 0) && (targetRotation >= 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation < 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation >= 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) <= 180) { currentRotation = currentRotation + rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) > 180) { currentRotation = currentRotation - rotationAmount; } } else if ((currentRotation >= 0) && (targetRotation < 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) < 180) { currentRotation = currentRotation - rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) >= 180) { currentRotation = currentRotation + rotationAmount; } } } return(currentRotation); }; getAngle = function (x1, x2, y1, y2) { velx = (getAngle_delta_x = x1 - x2); vely = (getAngle_delta_y = y1 - y2); vectorlength = Math.sqrt((velx * velx) + (vely * vely)); if (vectorlength == 0) { vectorlength = 0.0001; } velx = velx * (1 / vectorlength); vely = vely * (1 / vectorlength); getAngle_rotation = (-Math.atan2(getAngle_delta_x, getAngle_delta_y)) / (Math.PI/180); return(getAngle_rotation); }; turnSpeed = 7; } onClipEvent (enterFrame) { if (this._currentframe > 50) { return(undefined); } if (this.dead) { gotoAndPlay (50); return(undefined); } if ((getTimer() - alerttimer) > patroltime) { state = "stop"; this.gotoAndStop(1); } if (this._x < 0) { this._x = 1; } if (this._y < 0) { this._y = 1; } if ((state != "fire") && (this.hitTest(_root.ball))) { state = "attack"; if (this._currentframe == 1) { getReadyToFireTimer = getTimer(); randomwait = random(2000) + 3500; this.gotoAndPlay(2); } alerttimer = getTimer(); } if (state == "attack") { if ((slide == 1) && ((getTimer() - getReadyToFireTimer) > randomwait)) { state = "fire"; this.gotoAndPlay(15); } targetRotation = getAngle(_x, _root.ball._x, _y, _root.ball._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); this._y = this._y - ((vely * 2.5) * slide); this._x = this._x - ((velx * 2.5) * slide); if (slide < 1) { slide = slide + 1; } } if (state == "fire") { if (this._currentframe == 24) { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("fire"); _root.splat.start(_root.splatoffset); _root.bullet1._x = this._x; _root.bullet1._y = this._y; _root.bullet1.velx = -velx; _root.bullet1.vely = -vely; if (slide < 1) { this._y = this._y - ((vely * 2.5) * slide); this._x = this._x - ((velx * 2.5) * slide); slide = slide + 1; } } targetRotation = getAngle(_x, _root.ball._x, _y, _root.ball._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); if (this._currentframe == 40) { state = "attack"; getReadyToFireTimer = getTimer(); randomwait = random(2000) + 3500; this.gotoAndPlay(2); } } while (_root.wall2.hitTest(this.collidebox)) { this._x = this._x - 1; } while (_root.wall3.hitTest(this.collidebox)) { this._x = this._x + 1; } while (_root.wall4.hitTest(this.collidebox)) { this._y = this._y - 1; } while (_root.wall5.hitTest(this.collidebox)) { this._y = this._y + 1; } while (_root.ball.hitTest(this.collidebox) && (!_root.ball.dead)) { this._x = this._x + velx; this._y = this._y + vely; slide = -10; state = "attack"; } }
Instance of Symbol 16 MovieClip "blood2" in Frame 100
onClipEvent (enterFrame) { this._x = this._x + this.dx; this._y = this._y + this.dy; if (dy < 0) { this.dy = this.dy + 1; this._yscale = this._yscale + (this.dy * 15); } else { this.dy = 0; } if (this.sprayleft) { if (this.dx < 0) { this.dx = this.dx + 1; this._xscale = this._xscale + (this.dx * 5); } else { this.dx = 0; } } if (!this.sprayleft) { if (this.dx > 0) { this.dx = this.dx - 1; this._xscale = this._xscale + (this.dx * 5); } else { this.dx = 0; } } } onClipEvent (load) { this.dx = random(8) - 4; this.sprayleft = false; if (this.dx > 0) { this.sprayleft = false; } else { this.sprayleft = true; } this.dy = -1 * random(8); _xscale = random(25); _yscale = random(55); }
Instance of Symbol 513 MovieClip "endstage" in Frame 100
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_root.baddy2.dead) { _visible = true; } if (_visible) { if (hitTest(_root.ball)) { endthiscraziness = true; } if (endthiscraziness) { _root.ball._yscale = _root.ball._yscale + 5; _root.ball._xscale = _root.ball._xscale + 5; _root.ball._y = _root.ball._y + 0.5; if (_root.ball._xscale > 300) { _root.stageframe = 105; _root.gotoAndStop(105); } } } }
Instance of Symbol 433 MovieClip "spikes" in Frame 100
onClipEvent (enterFrame) { if ((!_root.baddy1.dead) && (_root.spikecollisionbox.hitTest(_root.ball))) { _root.ball.dead = true; } if ((!_root.baddy1.dead) && (_root.spikecollisionbox.hitTest(_root.baddy1.collidebox))) { _root.baddy1.dead = true; gotoAndStop (2); } }
Instance of Symbol 216 MovieClip "wall1" in Frame 100
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) - 1; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; this.collision = true; } } else { collision = false; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; collision1 = false; }
Instance of Symbol 445 MovieClip in Frame 100
onClipEvent (load) { _root.apearspeed = 4; _root.time = 600; bouncevalue = 10; _root.ball._yscale = 600; _root.ball._xscale = 600; _root.ball.noupdate = true; } onClipEvent (enterFrame) { if (_root.endstage.endthiscraziness) { return(undefined); } if (_root.ball._xscale > 30) { _root.ball._xscale = _root.ball._xscale - bouncevalue; _root.ball._yscale = _root.ball._yscale - bouncevalue; } else { if ((bouncevalue > -3) && (bouncevalue < 3)) { _root.ball.noupdate = false; bouncevalue = 0; } bouncevalue = (-bouncevalue) * 0.7; _root.ball._xscale = _root.ball._xscale - bouncevalue; _root.ball._yscale = _root.ball._yscale - bouncevalue; } bouncevalue = bouncevalue + 1; }
Instance of Symbol 216 MovieClip "wall5" in Frame 100
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { _root.ball._y = ((this._y + (this._height / 2)) + (_root.ball._height / 2)) + 1; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 100
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { _root.ball._y = ((this._y + (this._height / 2)) + (_root.ball._height / 2)) + 1; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 100
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) - 1; _root.ball.collision = true; } } bestfirst(this); } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "wall4" in Frame 100
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) - 1; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; this.collision = true; } } else { collision = false; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; collision1 = false; }
Instance of Symbol 86 MovieClip "wall2" in Frame 100
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { while (this.hitTest(_root.ball)) { _root.ball._x = _root.ball._x - 2; } _root.ball.sidecollision = true; } } }
Instance of Symbol 86 MovieClip "wall3" in Frame 100
onClipEvent (enterFrame) { if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.ball.noupdate)) { while (this.hitTest(_root.ball)) { _root.ball._x = _root.ball._x + 2; } _root.ball.sidecollision = true; } } }
Instance of Symbol 515 MovieClip "bullet1" in Frame 100
onClipEvent (enterFrame) { this._x = this._x + (velx * 10); this._y = this._y + (vely * 10); if (this.hitTest(_root.ball)) { _root.ball.dead = true; } } onClipEvent (load) { velx = 0; vely = 0; }
Instance of Symbol 515 MovieClip "bullet2" in Frame 100
onClipEvent (enterFrame) { this._x = this._x + (velx * 15); this._y = this._y + (vely * 15); if (this.hitTest(_root.ball)) { _root.ball.dead = true; } } onClipEvent (load) { velx = 0; vely = 0; }
Instance of Symbol 25 MovieClip "ball" in Frame 100
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; moving2 = false; if (this._y < 0) { this._y = 1; } if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 2; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 2; } } if (Key.isDown(40)) { moving2 = true; if (ball_velocityY <= ball_maxrotspeed) { ball_velocityY = ball_velocityY + 2; } } if (Key.isDown(38)) { moving2 = true; if (ball_velocityY >= (-ball_maxrotspeed)) { ball_velocityY = ball_velocityY - 2; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if (!sidecollision) { this._y = this._y + (ball_velocityY / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!moving2) { if ((ball_velocityY < 2) && (ball_velocityY > -2)) { ball_velocityY = 0; } if ((ball_velocityX < 2) && (ball_velocityX > -2)) { ball_velocityX = 0; } if (ball_velocityY > 0) { ball_velocityY = ball_velocityY - 1; } else if (ball_velocityY < 0) { ball_velocityY = ball_velocityY + 1; } } collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 26; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = true; buffer = 20; bufferinc = 3; scalefactor = 10; moving2 = false; }
Frame 105
numbersparks = 0;
Instance of Symbol 94 MovieClip in Frame 105
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } this._y = this._y + _root.speed; } onClipEvent (load) { movedown = true; totalmovement = 55; }
Instance of Symbol 94 MovieClip in Frame 105
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } this._y = this._y + _root.speed; } onClipEvent (load) { movedown = true; totalmovement = 55; }
Instance of Symbol 94 MovieClip in Frame 105
onClipEvent (enterFrame) { if (movedown) { this._y = this._y + 4; totalmovement = totalmovement + 4; } else { this._y = this._y - 4; totalmovement = totalmovement - 4; } if (totalmovement >= 55) { movedown = false; } if (totalmovement < 0) { movedown = true; } this._y = this._y + _root.speed; } onClipEvent (load) { movedown = true; totalmovement = 55; }
Instance of Symbol 517 MovieClip in Frame 105
onClipEvent (enterFrame) { this._y = this._y + _root.speed; }
Instance of Symbol 517 MovieClip in Frame 105
onClipEvent (enterFrame) { this._y = this._y + _root.speed; }
Instance of Symbol 517 MovieClip in Frame 105
onClipEvent (enterFrame) { this._y = this._y + _root.speed; }
Instance of Symbol 25 MovieClip "ball" in Frame 105
onClipEvent (enterFrame) { if (replay || (noupdate)) { return(undefined); } if (dead) { gotoAndPlay (1); replay = true; } moving = false; if (Key.isDown(39)) { moving = true; if (ball_velocityX <= ball_maxrotspeed) { ball_velocityX = ball_velocityX + 3; } } if (Key.isDown(37)) { moving = true; if (ball_velocityX >= (-ball_maxrotspeed)) { ball_velocityX = ball_velocityX - 3; } } if (!sidecollision) { this._x = this._x + (ball_velocityX / 5); } if ((this._x - (this._width / 2)) < 0) { this._x = this._width / 2; } if ((this._x + (this._width / 2)) > SIZEOFSTAGE) { this._x = SIZEOFSTAGE - (this._width / 2); } if (!moving) { if (ball_velocityX > 0) { ball_velocityX = ball_velocityX - 3; } else if (ball_velocityX < 0) { ball_velocityX = ball_velocityX + 3; } } if (!collision) { ball_velocityY = ball_velocityY + 2.25; } this._y = this._y + ball_velocityY; collision = false; sidecollision = false; nofall = false; } onClipEvent (load) { collision = false; sidecollision = false; ball_maxrotspeed = 50; SIZEOFSTAGE = 500; ball_velocityX = 0; ball_velocityY = 0; dead = false; gotoAndStop (1); replay = false; noupdate = false; buffer = 20; bufferinc = 3; scalefactor = 10; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle1.activate)) { if (this._y > _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 445 MovieClip in Frame 105
onClipEvent (load) { _root.speed = 1; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (spin) { if (totalrot == 150) { totalrot = 0; spin = false; } else { this._rotation = this._rotation + 30; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -27; _root.ball.ball_velocityX = 81; _root.ball.collision = true; } } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { if (this._y >= _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.collision)) { if (this._y >= _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle1.collision)) { if (((this._y + (this._height / 2)) - 10) >= _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "block1" in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball) && (!_root.paddle2.collision)) { if (((this._y + (this._height / 2)) - 10) >= _root.ball._y) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } else { _root.ball.dead = true; } } } if (((this._y + (this._height / 2)) - 15) < 500) { this._y = this._y + _root.speed; } else { _root.speed = 0; _root.missle1.state = "attack"; } } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.garbage)) { if (_root.garbage._currentframe == 1) { _root.garbage.gotoAndPlay(2); } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { _root.ball._y = ((this._y - (this._height / 2)) - (_root.ball._height / 2)) + 4; _root.ball.ball_velocityY = -(_root.ball.ball_velocityY / 2); _root.ball.collision = true; } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; }
Instance of Symbol 216 MovieClip "paddle1" in Frame 105
onClipEvent (enterFrame) { if (spin) { if (_rotation >= 180) { totalrot = 0; spin = false; } else { this._rotation = 0; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -40; _root.ball.ball_velocityX = 0; _root.ball.collision = true; collision = true; } else { collision = false; } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; collision = false; }
Instance of Symbol 216 MovieClip "paddle2" in Frame 105
onClipEvent (enterFrame) { if (spin) { if (_rotation >= 180) { totalrot = 0; spin = false; } else { this._rotation = 0; totalrot = totalrot + 30; } } if (_root.ball.replay == false) { if (this.hitTest(_root.ball)) { this._rotation = this._rotation + 30; spin = true; _root.ball.ball_velocityY = -40; _root.ball.ball_velocityX = 0; _root.ball.collision = true; collision = true; } else { collision = false; } } this._y = this._y + _root.speed; } onClipEvent (load) { this.dead = false; buffer = 0; caught = false; fall = false; spin = false; totalrot = 0; collision = false; }
Instance of Symbol 525 MovieClip "missle1" in Frame 105
onClipEvent (load) { goalX = 0; goalY = 0; gotoAndStop (1); state = "stop"; alerttimer = 0; patroltime = 2000; velx = 0; vely = 5; finalvelx = 0; finalvely = 0; spawnTime = getTimer(); changeinVel = true; smartRotation = function (currentRotation, targetRotation, rotationAmount) { if (Math.abs(currentRotation - targetRotation) <= rotationAmount) { currentRotation = targetRotation; } else if (currentRotation != targetRotation) { if ((currentRotation >= 0) && (targetRotation >= 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation < 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation >= 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) <= 180) { currentRotation = currentRotation + rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) > 180) { currentRotation = currentRotation - rotationAmount; } } else if ((currentRotation >= 0) && (targetRotation < 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) < 180) { currentRotation = currentRotation - rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) >= 180) { currentRotation = currentRotation + rotationAmount; } } } return(currentRotation); }; getAngle = function (x1, x2, y1, y2) { getAngle_delta_x = x1 - x2; getAngle_delta_y = y1 - y2; if ((getTimer() - spawnTime) < 200) { velx = getAngle_delta_x; vely = getAngle_delta_y; } else if (changeinVel) { changeinVel = false; finalvelx = getAngle_delta_x; finalvely = getAngle_delta_y; } getAngle_rotation = (-Math.atan2(getAngle_delta_x, getAngle_delta_y)) / (Math.PI/180); return(getAngle_rotation); }; turnSpeed = 100; num = 1; original = true; numsparks = 0; allcreated = false; reversevec = false; } onClipEvent (enterFrame) { if (state == "attack") { i = 0; while (i <= 15) { if (numsparks < 350) { if (!allcreated) { _root.spark1.duplicateMovieClip("sparks" + numsparks, -numsparks); } } else { numsparks = 0; } _root["sparks" + numsparks]._x = this._x; _root["sparks" + numsparks]._y = this._y; _root.numbersparks = numsparks; this.numsparks++; if (numsparks < 350) { _root.spark2.duplicateMovieClip("sparks" + numsparks, (-numsparks) + 2); } else { numsparks = 0; } _root["sparks" + numsparks]._x = this._x; _root["sparks" + numsparks]._y = this._y; _root.numbersparks = numsparks; this.numsparks++; i++; } if (changeinVel) { targetRotation = getAngle(_x, _root.ball._x, _y, _root.ball._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); } magnitude = Math.sqrt((this._x * this._x) + (this._y * this._y)); if (magnitude == 0) { magnitude = 1E-6; } if (finalvelx == 0) { velx = velx / magnitude; vely = vely / magnitude; this._x = this._x - ((velx * 4) * num); this._y = this._y - ((vely * 4) * num); num = num * 1.2; } else if (reversevec) { this._x = this._x - (((finalvelx / magnitude) * -6) * num); this._y = this._y - (((finalvely / magnitude) * -6) * num); } else { this._x = this._x - (((finalvelx / magnitude) * 6) * num); this._y = this._y - (((finalvely / magnitude) * 6) * num); } } }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 433 MovieClip in Frame 105
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } this._y = this._y + _root.speed; }
Instance of Symbol 449 MovieClip in Frame 105
onClipEvent (load) { this._visible = false; cubeData = [{colour:111111, Sides:[{x:-50, y:50, z:50}, {x:-50, y:50, z:-50}, {x:50, y:50, z:-50}, {x:50, y:50, z:50}]}, {colour:1118481, Sides:[{x:-50, y:-50, z:-50}, {x:-50, y:-50, z:50}, {x:50, y:-50, z:50}, {x:50, y:-50, z:-50}]}, {colour:1118481, Sides:[{x:50, y:-50, z:50}, {x:50, y:50, z:50}, {x:50, y:50, z:-50}, {x:50, y:-50, z:-50}]}, {colour:1118481, Sides:[{x:-50, y:-50, z:-50}, {x:-50, y:50, z:-50}, {x:-50, y:50, z:50}, {x:-50, y:-50, z:50}]}, {colour:16711680, Sides:[{x:-50, y:50, z:-50}, {x:-50, y:-50, z:-50}, {x:50, y:-50, z:-50}, {x:50, y:50, z:-50}]}, {colour:1118481, Sides:[{x:50, y:50, z:50}, {x:50, y:-50, z:50}, {x:-50, y:-50, z:50}, {x:-50, y:50, z:50}]}]; Objekt3d = function (data3d) { this.data3d = data3d; this.move3d = function (x, y, z) { var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { this.data3d[k].Sides[i].x = this.data3d[k].Sides[i].x + x; this.data3d[k].Sides[i].y = this.data3d[k].Sides[i].y + y; this.data3d[k].Sides[i].z = this.data3d[k].Sides[i].z + z; i++; } k++; } }; this.scale3d = function (x, y, z) { var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { this.data3d[k].Sides[i].x = this.data3d[k].Sides[i].x * x; this.data3d[k].Sides[i].y = this.data3d[k].Sides[i].y * y; this.data3d[k].Sides[i].z = this.data3d[k].Sides[i].z * z; i++; } k++; } }; this.rotate3d = function (xa, ya) { var rad = (Math.PI/180); var px; var py; var pz; var sin_xa; var sin_ya; var cos_xa; var cos_ya; var tempz; var k = 0; while (k < this.data3d.length) { var i = 0; while (i < this.data3d[k].Sides.length) { px = this.data3d[k].Sides[i].x; py = this.data3d[k].Sides[i].y; pz = this.data3d[k].Sides[i].z; cos_ya = Math.cos(ya * rad); sin_ya = Math.sin(ya * rad); cos_xa = Math.cos(xa * rad); sin_xa = Math.sin(xa * rad); tempz = (pz * cos_ya) - (px * sin_ya); this.data3d[k].Sides[i].x = (pz * sin_ya) + (px * cos_ya); this.data3d[k].Sides[i].y = (py * cos_xa) - (tempz * sin_xa); this.data3d[k].Sides[i].z = (py * sin_xa) + (tempz * cos_xa); i++; } k++; } }; }; Kamera3d = function (Objekt3d, distance, angle, loc) { this.Objekt3d = Objekt3d; this.distance = distance; this.angle = angle; this.loc = loc; this.mc = this.create(); }; Kamera3d.prototype.create = function () { return(this.loc.createEmptyMovieClip("camMC" + Stage.camNum, 10000)); }; Kamera3d.prototype.render = function () { this.mc.clear(); var z; var pers; var sx; var sy; var tx; var ty; var polygon; var k = 0; while (k < this.Objekt3d.data3d.length) { polygon = []; var i = 0; while (i < this.Objekt3d.data3d[k].Sides.length) { z = this.Objekt3d.data3d[k].Sides[i].z + this.distance; pers = this.angle / z; sx = this.Objekt3d.data3d[k].Sides[i].x * pers; sy = this.Objekt3d.data3d[k].Sides[i].y * pers; polygon.push({sx:sx, sy:sy}); i++; } z = ((polygon[1].sx - polygon[0].sx) * (polygon[2].sy - polygon[0].sy)) - ((polygon[1].sy - polygon[0].sy) * (polygon[2].sx - polygon[0].sx)); if (z > 0) { if (_root.missle1.hitTest(_root.thebox) && (_root.missle1.reversevec)) { this.mc.beginFill(random(200) + 100, random(200) + 100); } else { this.mc.beginFill(this.Objekt3d.data3d[k].colour, this.Objekt3d.data3d[k].colour); } this.mc.moveTo(polygon[0].sx, polygon[0].sy); this.mc.lineTo(polygon[1].sx, polygon[1].sy); this.mc.lineTo(polygon[2].sx, polygon[2].sy); this.mc.lineTo(polygon[3].sx, polygon[3].sy); this.mc.lineTo(polygon[0].sx, polygon[0].sy); } k++; } }; Cube3d = new Objekt3d(cubeData); Szene3D = new Kamera3d(Cube3d, 200, 400, _root); Szene3D.render(); Szene3D.mc._x = 250; Szene3D.mc._y = -400; totalrot = 0; Cube3d.rotate3d(15, 0); fireTimer = 0; numblocks = 0; finishedtimer = 0; _root.onEnterFrame = function () { if ((_root.reflector1.health == 0) && (_root.reflector2.health == 0)) { if (finishedtimer == 0) { finishedtimer = getTimer(); } if (finishedtimer != 0) { if ((getTimer() - finishedTimer) > 2500) { _root.gotoAndStop(110); } } _root.gamefinished = true; Cube3d.rotate3d(0, totalrot++); Cube3d.scale3d(0.92, 0.92, 0.92); Szene3D.render(); return(undefined); } Szene3D.mc._y = Szene3D.mc._y + _root.speed; if (Szene3D.mc._y >= -100) { if (fireTimer == 0) { fireTimer = getTimer(); } if ((getTimer() - fireTimer) > 3000) { if (_root._currentframe == 105) { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("fire"); _root.splat.start(); _root.missle1._y = _root.cannon._y; _root.missle1._x = _root.cannon._x; _root.missle1.spawnTime = getTimer(); _root.missle1.state = "attack"; _root.missle1.changeinVel = true; _root.missle1.finalvelx = 0; _root.missle1.num = 1; _root.missle1.reversevec = false; fireTimer = getTimer(); } } } if (_root.ball._x < 225) { if (totalrot > -45) { Cube3d.rotate3d(0, 3); totalrot = totalrot - 3; } } else if (_root.ball._x > 275) { if (totalrot < 45) { Cube3d.rotate3d(0, -3); totalrot = totalrot + 3; } } else if (totalrot > 0) { Cube3d.rotate3d(0, 3); totalrot = totalrot - 3; } else if (totalrot < 0) { Cube3d.rotate3d(0, -3); totalrot = totalrot + 3; } Szene3D.render(); }; }
Instance of Symbol 527 MovieClip "cannon" in Frame 105
onClipEvent (enterFrame) { if ((_root.reflector1.health == 0) && (_root.reflector2.health == 0)) { this._x = this._x + 5; this._y = this._y + 9; this._rotation = this._rotation + 25; return(undefined); } if (_root.ball._x < 225) { if (totalrot > -45) { totalrot = totalrot - 10; } } else if (_root.ball._x > 275) { if (totalrot < 45) { totalrot = totalrot + 10; } } targetRotation = getAngle(_x, _root.ball._x, _y, _root.ball._y); this._rotation = smartRotation(_rotation, targetRotation, turnSpeed); this._y = this._y + _root.speed; } onClipEvent (load) { _global.smartRotation = function (currentRotation, targetRotation, rotationAmount) { if (Math.abs(currentRotation - targetRotation) <= rotationAmount) { currentRotation = targetRotation; } else if (currentRotation != targetRotation) { if ((currentRotation >= 0) && (targetRotation >= 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation < 0)) { if (currentRotation > targetRotation) { currentRotation = currentRotation - rotationAmount; } else if (currentRotation < targetRotation) { currentRotation = currentRotation + rotationAmount; } } else if ((currentRotation < 0) && (targetRotation >= 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) <= 180) { currentRotation = currentRotation + rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) > 180) { currentRotation = currentRotation - rotationAmount; } } else if ((currentRotation >= 0) && (targetRotation < 0)) { if ((Math.abs(currentRotation) + Math.abs(targetRotation)) < 180) { currentRotation = currentRotation - rotationAmount; } else if ((Math.abs(currentRotation) + Math.abs(targetRotation)) >= 180) { currentRotation = currentRotation + rotationAmount; } } } return(currentRotation); }; _global.getAngle = function (x1, x2, y1, y2) { getAngle_delta_x = x1 - x2; getAngle_delta_y = y1 - y2; getAngle_rotation = (-Math.atan2(getAngle_delta_x, getAngle_delta_y)) / (Math.PI/180); return(getAngle_rotation); }; turnSpeed = 3; }
Instance of Symbol 16 MovieClip "spark1" in Frame 105
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 1; } onClipEvent (load) { xvel = random(5) - 2.5; yvel = random(6) * -1; randomnum = random(30); _xscale = random(40); _yscale = random(40); }
Instance of Symbol 529 MovieClip "reflector1" in Frame 105
onClipEvent (enterFrame) { if (health == 0) { this._visible = false; return(undefined); } if (this.hitTest(_root.missle1)) { _root.missle1.reversevec = true; health--; this._yscale = this._yscale - 50; } this._y = this._y + _root.speed; } onClipEvent (load) { health = 3; gotoAndStop (1); }
Instance of Symbol 529 MovieClip "reflector2" in Frame 105
onClipEvent (enterFrame) { if (health == 0) { this._visible = false; return(undefined); } if (this.hitTest(_root.missle1)) { _root.missle1.reversevec = true; health--; this._yscale = this._yscale - 50; } this._y = this._y + _root.speed; } onClipEvent (load) { health = 3; gotoAndStop (1); }
Instance of Symbol 531 MovieClip "thebox" in Frame 105
onClipEvent (enterFrame) { this.y = this.y + _root.speed; } onClipEvent (load) { this._visible = false; }
Instance of Symbol 80 MovieClip in Frame 110
onClipEvent (enterFrame) { if (!_root.gamefinished) { _root.curTime = (getTimer() - _root.startTime) / 1000; } if (_root._currentframe == 110) { _root.nametxt._y = 250; } }
Instance of Symbol 16 MovieClip "blood" in Frame 110
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 3; } onClipEvent (load) { xvel = random(50) - 25; yvel = random(50) - 25; _xscale = random(80); _yscale = random(80); }
Instance of Symbol 16 MovieClip "spark2" in Frame 110
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 1; } onClipEvent (load) { xvel = random(5) - 2.5; yvel = random(6) * -1; _xscale = random(40); _yscale = random(40); }
Symbol 25 MovieClip Frame 1
if (_root.ball.reloadstage) { _root.gotoAndStop(5); _root.ball.reloadstage = false; }
Symbol 25 MovieClip Frame 2
this._rotation = 0;
Instance of Symbol 14 MovieClip in Symbol 25 MovieClip Frame 2
onClipEvent (load) { _visible = false; numblocks = 0; i = 0; while (i < 150) { _root.blood.duplicateMovieClip("blood" + i, i); _root["blood" + i]._x = _root.ball._x; _root["blood" + i]._y = _root.ball._y; i++; } } onClipEvent (enterFrame) { }
Instance of Symbol 16 MovieClip "blood" in Symbol 25 MovieClip Frame 2
onClipEvent (enterFrame) { this._x = this._x + xvel; this._y = this._y + yvel; yvel = yvel + 3; } onClipEvent (load) { xvel = random(50) - 25; yvel = random(50) - 25; this._x = this._x + 45; this._y = this._y + 180; _xscale = random(100); _yscale = random(100); }
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 79
onClipEvent (load) { _root.ball._x = 45; _root.ball._y = 5; _root.ball.collision = false; _root.ball.sidecollision = false; _root.ball.ball_velocityX = 0; _root.ball.ball_velocityY = 0; _root.ball.dead = false; _root.ball.reloadstage = true; _root.ball.replay = false; _root.ball.gotoAndStop(1); }
Symbol 32 Button
on (release) { _root.startTime = getTimer(); _root.gotoAndStop(3); }
Symbol 33 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop (3); }
Symbol 33 MovieClip Frame 2
gotoAndPlay (1);
Instance of Symbol 91 MovieClip in Symbol 92 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip Frame 1
/* no clip actions */
Symbol 166 MovieClip Frame 1
gotoAndStop (1);
Instance of Symbol 97 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 166 MovieClip Frame 5
if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 6
if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 7
if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 8
if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 9
if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 10
gotoAndPlay (5); if (this.pullswitch) { gotoAndPlay (25); } if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 15
if (this.attackright) { this.gotoAndPlay(70); }
Symbol 166 MovieClip Frame 20
gotoAndPlay (15); if (this.dead) { gotoAndPlay (60); }
Symbol 166 MovieClip Frame 31
gotoAndStop (31);
Symbol 166 MovieClip Frame 40
gotoAndStop (40);
Instance of Symbol 121 MovieClip in Symbol 166 MovieClip Frame 40
onClipEvent (load) { _root.boss.jumpleft1 = true; this._visible = false; }
Symbol 166 MovieClip Frame 41
gotoAndStop (41);
Symbol 166 MovieClip Frame 60
play();
Symbol 166 MovieClip Frame 64
gotoAndStop (64);
Symbol 166 MovieClip Frame 77
gotoAndStop (77);
Symbol 166 MovieClip Frame 87
gotoAndStop (87);
Symbol 166 MovieClip Frame 106
_root.killball = true;
Symbol 166 MovieClip Frame 150
gotoAndStop (150);
Symbol 233 MovieClip Frame 1
gotoAndStop (1);
Symbol 233 MovieClip Frame 7
gotoAndStop (7);
Instance of Symbol 249 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.hitTest(_root.boss)) { _root.boss.dead = true; _root.splat = new Sound(); _root.splat.attachSound("splat"); _root.splat.start(_root.splatoffset); } }
Symbol 273 MovieClip Frame 1
gotoAndStop (1);
Symbol 273 MovieClip Frame 100
gotoAndStop (100);
Symbol 289 MovieClip Frame 1
gotoAndStop (1);
Symbol 289 MovieClip Frame 20
_root.ball.noupdate = false; _root.ball.ball_velocityY = -45; this.bounce = false;
Symbol 289 MovieClip Frame 29
gotoAndStop (29);
Symbol 301 MovieClip Frame 1
gotoAndStop (1);
Symbol 301 MovieClip Frame 10
gotoAndStop (10);
Symbol 301 MovieClip Frame 42
gotoAndStop (47);
Symbol 319 MovieClip Frame 1
gotoAndStop (1);
Symbol 319 MovieClip Frame 14
gotoAndStop (14);
Symbol 329 MovieClip Frame 1
gotoAndStop (1);
Symbol 329 MovieClip Frame 8
gotoAndStop (8);
Symbol 380 MovieClip Frame 1
gotoAndStop (1);
Symbol 380 MovieClip Frame 11
_root.helicopter.balloffshift = -2;
Symbol 380 MovieClip Frame 12
_root.helicopter.balloffshift = -6;
Symbol 380 MovieClip Frame 13
_root.helicopter.balloffshift = -10;
Symbol 380 MovieClip Frame 14
gotoAndStop (14); _root.helicopter.balloffshift = -14;
Symbol 380 MovieClip Frame 21
_root.helicopter.balloffshift = 2;
Symbol 380 MovieClip Frame 22
_root.helicopter.balloffshift = 6;
Symbol 380 MovieClip Frame 23
_root.helicopter.balloffshift = 10;
Symbol 380 MovieClip Frame 24
gotoAndStop (24); _root.helicopter.balloffshift = 14;
Symbol 399 MovieClip Frame 1
gotoAndStop (1);
Instance of Symbol 380 MovieClip in Symbol 399 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 382 MovieClip "helibox" in Symbol 399 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 380 MovieClip in Symbol 399 MovieClip Frame 2
onClipEvent (enterFrame) { if (_root.ball.dead) { return(undefined); } if (Key.isDown(39) && (!movingright)) { movingright = true; this.gotoAndPlay(10); } else if (!Key.isDown(39)) { movingright = false; } else if (Key.isDown(37) && (!movingleft)) { movingleft = true; this.gotoAndPlay(20); } else if (!Key.isDown(37)) { movingleft = false; } if ((((!movingleft) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!movingright)) { this.gotoAndStop(1); _root.helicopter.balloffshift = 0; } } onClipEvent (load) { movingright = false; movingleft = false; }
Symbol 399 MovieClip Frame 10
gotoAndPlay (3);
Instance of Symbol 380 MovieClip in Symbol 399 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 382 MovieClip "helibox" in Symbol 399 MovieClip Frame 15
onClipEvent (load) { this._visible = false; }
Symbol 399 MovieClip Frame 27
gotoAndPlay (19);
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 407 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 414 MovieClip Frame 10
gotoAndStop (10);
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 97 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Instance of Symbol 418 MovieClip in Symbol 419 MovieClip Frame 1
onClipEvent (enterFrame) { if (this.dead) { return(undefined); } if (this.hitTest(_root.bullet1)) { _root.bullet1._x = 9000; firespeed = firespeed + 0.1; health--; if (health <= 0) { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("explosion"); _root.splat.start(); _root.explosion.gotoAndPlay(1); _root.explosion._x = _root.cata._x; _root.explosion._y = _root.cata._y; _root.cata._x = 900; _root.cata._y = 900; this.dead = true; } else { _root.splat = new Sound(); _root.playsound = false; _root.splat.attachSound("explosion2"); _root.splat.start(); } } if (firing) { this._rotation = this._rotation - 15; if (this._rotation <= 0) { firing = false; loading = true; if (!stopdup) { _root.thrown.duplicateMovieClip("blocks" + numblocks, numblocks); } while (_root["blocks" + numblocks].caught) { numblocks++; _root.numberblocks++; } _root["blocks" + numblocks]._x = _root.cata._x; _root["blocks" + numblocks]._y = _root.cata._y - 90; _root["blocks" + numblocks].drag = 0; _root.numberblocks = numblocks; this.numblocks++; if (this.numblocks > 20) { stopdup = true; this.numblocks = 0; _root.numberblocks = 0; } } } if (loading) { this._rotation = this._rotation + firespeed; if (this._rotation >= 65) { firing = true; loading = false; } } } onClipEvent (load) { loading = false; firing = true; _root.blocklist = new Array(); this.numblocks = 0; health = 15; dead = false; firespeed = 1; stopdup = false; }
Symbol 421 MovieClip Frame 1
gotoAndStop (1);
Symbol 421 MovieClip Frame 15
gotoAndStop (15);
Symbol 433 MovieClip Frame 1
gotoAndStop (1);
Symbol 433 MovieClip Frame 2
gotoAndStop (2);
Symbol 491 MovieClip Frame 14
gotoAndPlay (2);
Symbol 491 MovieClip Frame 15
gotoAndPlay (16);
Symbol 491 MovieClip Frame 50
gotoAndPlay (51);
Symbol 491 MovieClip Frame 65
gotoAndStop (65);
Symbol 511 MovieClip Frame 14
gotoAndPlay (2);
Symbol 511 MovieClip Frame 15
gotoAndPlay (16);
Symbol 511 MovieClip Frame 50
gotoAndPlay (51);
Symbol 511 MovieClip Frame 65
gotoAndStop (65);
Symbol 525 MovieClip Frame 1
play();
Instance of Symbol 521 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (this.hitTest(_root.ball)) { _root.ball.dead = true; } }
Symbol 525 MovieClip Frame 7
gotoAndPlay (1);
Symbol 543 Button
on (press) { if (firsttime) { firsttime = false; strText = String(_root.curTime); strPW = "bidness"; encText = ""; pwLength = strPW.length; x = 0; while (x < strText.length) { i = (i % pwLength) + 1; encText = encText + Number(strText.charCodeAt(x) ^ strPW.charCodeAt(i - 1)); encText = encText + ","; x++; } strPW = ""; strText = ""; getURL ("http://www.sonicmonkeyfilms.com/chris/scores/new_score.php", "_self", "POST"); } }

Library Items

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

Instance Names

"middleground"Frame 1Symbol 10 MovieClip
"ball"Frame 1Symbol 25 MovieClip
"tilty1"Frame 2Symbol 70 MovieClip
"ground2"Frame 2Symbol 75 MovieClip
"ground1"Frame 2Symbol 75 MovieClip
"ground3"Frame 2Symbol 75 MovieClip
"nametxt"Frame 2Symbol 81 EditableText
"blood"Frame 2Symbol 16 MovieClip
"spark2"Frame 2Symbol 16 MovieClip
"stickguy1"Frame 10Symbol 166 MovieClip
"switchhandle1"Frame 10Symbol 168 MovieClip
"switch1"Frame 10Symbol 170 MovieClip
"ball"Frame 10Symbol 25 MovieClip
"collisionbox"Frame 10Symbol 172 MovieClip
"ground1"Frame 10Symbol 75 MovieClip
"middleground"Frame 10Symbol 10 MovieClip
"rope"Frame 15Symbol 206 MovieClip
"rope2"Frame 15Symbol 210 MovieClip
"stickguy3"Frame 15Symbol 166 MovieClip
"ball"Frame 15Symbol 25 MovieClip
"fallingobj1"Frame 15Symbol 214 MovieClip
"invisthingy"Frame 15Symbol 218 MovieClip
"ball"Frame 20Symbol 25 MovieClip
"box1"Frame 20Symbol 233 MovieClip
"collisionbox"Frame 20Symbol 172 MovieClip
"groundstage4_1"Frame 20Symbol 216 MovieClip
"groundstage4_2"Frame 20Symbol 216 MovieClip
"slantedramp"Frame 20Symbol 238 MovieClip
"boss"Frame 20Symbol 166 MovieClip
"groundstage4_3"Frame 20Symbol 216 MovieClip
"tilty1"Frame 25Symbol 70 MovieClip
"groundstage5_2"Frame 25Symbol 216 MovieClip
"groundstage5_4"Frame 25Symbol 216 MovieClip
"ball"Frame 25Symbol 25 MovieClip
"groundstage5_1"Frame 25Symbol 216 MovieClip
"boss"Frame 25Symbol 166 MovieClip
"pulley"Frame 25Symbol 273 MovieClip
"groundstage5_3"Frame 25Symbol 216 MovieClip
"ball"Frame 30Symbol 25 MovieClip
"groundstage5_1"Frame 30Symbol 216 MovieClip
"tunnel"Frame 30Symbol 301 MovieClip
"newguy"Frame 30Symbol 166 MovieClip
"ball"Frame 35Symbol 25 MovieClip
"groundstage5_1"Frame 35Symbol 216 MovieClip
"ground3"Frame 40Symbol 86 MovieClip
"pipe2"Frame 40Symbol 331 MovieClip
"jabber1"Frame 40Symbol 94 MovieClip
"jabber2"Frame 40Symbol 94 MovieClip
"endpipe2"Frame 40Symbol 331 MovieClip
"stageend"Frame 40Symbol 72 MovieClip
"ball"Frame 40Symbol 25 MovieClip
"collisionbox"Frame 40Symbol 172 MovieClip
"ground1"Frame 40Symbol 216 MovieClip
"groundstage7_1"Frame 40Symbol 216 MovieClip
"ground4"Frame 40Symbol 216 MovieClip
"ground6"Frame 40Symbol 216 MovieClip
"ground2"Frame 40Symbol 357 MovieClip
"ground5"Frame 40Symbol 359 MovieClip
"groundstage4_1"Frame 40Symbol 216 MovieClip
"ground7"Frame 40Symbol 216 MovieClip
"pipe1"Frame 40Symbol 363 MovieClip
"ground8"Frame 40Symbol 216 MovieClip
"ground9"Frame 40Symbol 216 MovieClip
"ground10"Frame 40Symbol 216 MovieClip
"fallingobj1"Frame 40Symbol 214 MovieClip
"fallingobj2"Frame 40Symbol 214 MovieClip
"fallingobj3"Frame 40Symbol 214 MovieClip
"fallingobj4"Frame 40Symbol 214 MovieClip
"fallingobj5"Frame 40Symbol 214 MovieClip
"fallingobj6"Frame 40Symbol 214 MovieClip
"fallingobj7"Frame 40Symbol 214 MovieClip
"endpipe1"Frame 40Symbol 363 MovieClip
"ground11"Frame 40Symbol 216 MovieClip
"spikedeath"Frame 40Symbol 220 MovieClip
"spikes"Frame 40Symbol 365 MovieClip
"ground12"Frame 40Symbol 216 MovieClip
"endpipe2"Frame 45Symbol 331 MovieClip
"stageend"Frame 45Symbol 72 MovieClip
"ball"Frame 45Symbol 25 MovieClip
"collisionbox"Frame 45Symbol 172 MovieClip
"ground1"Frame 45Symbol 216 MovieClip
"endpipe1"Frame 45Symbol 363 MovieClip
"spring"Frame 45Symbol 404 MovieClip
"ground2"Frame 45Symbol 216 MovieClip
"helicopter"Frame 50Symbol 399 MovieClip
"bullet1"Frame 50Symbol 408 MovieClip
"tilty1"Frame 50Symbol 70 MovieClip
"explosion"Frame 50Symbol 414 MovieClip
"thrown"Frame 50Symbol 216 MovieClip
"stageend"Frame 50Symbol 72 MovieClip
"ball"Frame 50Symbol 25 MovieClip
"collisionbox"Frame 50Symbol 172 MovieClip
"ground1"Frame 50Symbol 216 MovieClip
"cata"Frame 50Symbol 419 MovieClip
"helicopter"Frame 55Symbol 399 MovieClip
"bullet1"Frame 55Symbol 408 MovieClip
"bullet2"Frame 55Symbol 408 MovieClip
"stageend"Frame 55Symbol 72 MovieClip
"ball"Frame 55Symbol 25 MovieClip
"collisionbox"Frame 55Symbol 172 MovieClip
"ground1"Frame 55Symbol 216 MovieClip
"thrown"Frame 55Symbol 216 MovieClip
"ground1"Frame 55Symbol 216 MovieClip
"explosion"Frame 60Symbol 414 MovieClip
"stageend"Frame 60Symbol 72 MovieClip
"ball"Frame 60Symbol 25 MovieClip
"collisionbox"Frame 60Symbol 172 MovieClip
"garbage"Frame 60Symbol 421 MovieClip
"lines"Frame 60Symbol 426 MovieClip
"warning10"Frame 60Symbol 429 MovieClip
"warning20"Frame 60Symbol 429 MovieClip
"warning30"Frame 60Symbol 429 MovieClip
"warning40"Frame 60Symbol 429 MovieClip
"explosion"Frame 65Symbol 414 MovieClip
"stageend"Frame 65Symbol 72 MovieClip
"ball"Frame 65Symbol 25 MovieClip
"collisionbox"Frame 65Symbol 172 MovieClip
"garbage"Frame 65Symbol 421 MovieClip
"lines"Frame 65Symbol 426 MovieClip
"warning10"Frame 65Symbol 429 MovieClip
"warning20"Frame 65Symbol 429 MovieClip
"warning30"Frame 65Symbol 429 MovieClip
"warning40"Frame 65Symbol 429 MovieClip
"helicopter"Frame 70Symbol 399 MovieClip
"stageend"Frame 70Symbol 72 MovieClip
"ball"Frame 70Symbol 25 MovieClip
"collisionbox"Frame 70Symbol 172 MovieClip
"trigger"Frame 70Symbol 216 MovieClip
"warning40"Frame 70Symbol 429 MovieClip
"stageend"Frame 75Symbol 72 MovieClip
"ball"Frame 75Symbol 25 MovieClip
"garbage"Frame 75Symbol 421 MovieClip
"tunnel2"Frame 80Symbol 442 MovieClip
"stageend"Frame 80Symbol 72 MovieClip
"ball"Frame 80Symbol 25 MovieClip
"block1"Frame 80Symbol 216 MovieClip
"block2"Frame 80Symbol 216 MovieClip
"block3"Frame 80Symbol 216 MovieClip
"block4"Frame 80Symbol 216 MovieClip
"block5"Frame 80Symbol 216 MovieClip
"block6"Frame 80Symbol 216 MovieClip
"block7"Frame 80Symbol 216 MovieClip
"block8"Frame 80Symbol 216 MovieClip
"block9"Frame 80Symbol 216 MovieClip
"block10"Frame 80Symbol 216 MovieClip
"block11"Frame 80Symbol 216 MovieClip
"block12"Frame 80Symbol 216 MovieClip
"block13"Frame 80Symbol 216 MovieClip
"block14"Frame 80Symbol 216 MovieClip
"block15"Frame 80Symbol 216 MovieClip
"block16"Frame 80Symbol 216 MovieClip
"block17"Frame 80Symbol 216 MovieClip
"block18"Frame 80Symbol 216 MovieClip
"block19"Frame 80Symbol 216 MovieClip
"tunnel1"Frame 80Symbol 447 MovieClip
"stageend"Frame 85Symbol 72 MovieClip
"ball"Frame 85Symbol 25 MovieClip
"movingblock"Frame 85Symbol 216 MovieClip
"movingblock2"Frame 85Symbol 216 MovieClip
"path1"Frame 88Symbol 453 MovieClip
"path6"Frame 88Symbol 453 MovieClip
"path3"Frame 88Symbol 453 MovieClip
"path2"Frame 88Symbol 453 MovieClip
"node1"Frame 88Symbol 455 MovieClip
"path1"Frame 88Symbol 453 MovieClip
"path4"Frame 88Symbol 453 MovieClip
"path5"Frame 88Symbol 453 MovieClip
"path7"Frame 88Symbol 453 MovieClip
"stageend"Frame 90Symbol 72 MovieClip
"ball"Frame 90Symbol 25 MovieClip
"paddle1"Frame 90Symbol 216 MovieClip
"paddle2"Frame 90Symbol 216 MovieClip
"stageend"Frame 95Symbol 72 MovieClip
"ball"Frame 95Symbol 25 MovieClip
"bar"Frame 100Symbol 462 MovieClip
"baddy2"Frame 100Symbol 491 MovieClip
"spikecollisionbox"Frame 100Symbol 493 MovieClip
"bar2"Frame 100Symbol 462 MovieClip
"point0"Frame 100Symbol 495 MovieClip
"point1"Frame 100Symbol 495 MovieClip
"point2"Frame 100Symbol 495 MovieClip
"point3"Frame 100Symbol 495 MovieClip
"point4"Frame 100Symbol 495 MovieClip
"point5"Frame 100Symbol 495 MovieClip
"point6"Frame 100Symbol 495 MovieClip
"point7"Frame 100Symbol 495 MovieClip
"theswitch"Frame 100Symbol 497 MovieClip
"baddy1"Frame 100Symbol 511 MovieClip
"blood2"Frame 100Symbol 16 MovieClip
"endstage"Frame 100Symbol 513 MovieClip
"spikes"Frame 100Symbol 433 MovieClip
"wall1"Frame 100Symbol 216 MovieClip
"wall5"Frame 100Symbol 216 MovieClip
"wall4"Frame 100Symbol 216 MovieClip
"wall2"Frame 100Symbol 86 MovieClip
"wall3"Frame 100Symbol 86 MovieClip
"bullet1"Frame 100Symbol 515 MovieClip
"bullet2"Frame 100Symbol 515 MovieClip
"ball"Frame 100Symbol 25 MovieClip
"ball"Frame 105Symbol 25 MovieClip
"block1"Frame 105Symbol 216 MovieClip
"paddle1"Frame 105Symbol 216 MovieClip
"paddle2"Frame 105Symbol 216 MovieClip
"missle1"Frame 105Symbol 525 MovieClip
"cannon"Frame 105Symbol 527 MovieClip
"spark1"Frame 105Symbol 16 MovieClip
"reflector1"Frame 105Symbol 529 MovieClip
"reflector2"Frame 105Symbol 529 MovieClip
"thebox"Frame 105Symbol 531 MovieClip
"nametxt"Frame 110Symbol 535 EditableText
"blood"Frame 110Symbol 16 MovieClip
"spark2"Frame 110Symbol 16 MovieClip
"submitbutton"Frame 110Symbol 543 Button
"blood"Symbol 25 MovieClip Frame 2Symbol 16 MovieClip
"bar"Symbol 33 MovieClip Frame 1Symbol 27 MovieClip
"helibox"Symbol 399 MovieClip Frame 1Symbol 382 MovieClip
"helibox"Symbol 399 MovieClip Frame 15Symbol 382 MovieClip
"ground2"Symbol 415 MovieClip Frame 1Symbol 216 MovieClip
"ground2"Symbol 421 MovieClip Frame 1Symbol 216 MovieClip
"smallbox"Symbol 462 MovieClip Frame 1Symbol 460 MovieClip
"collidebox2"Symbol 491 MovieClip Frame 1Symbol 465 MovieClip
"collidebox"Symbol 491 MovieClip Frame 40Symbol 483 MovieClip
"collidebox"Symbol 491 MovieClip Frame 50Symbol 483 MovieClip
"collidebox"Symbol 511 MovieClip Frame 1Symbol 483 MovieClip
"collidebox"Symbol 511 MovieClip Frame 50Symbol 483 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "splat"
ExportAssets (56)Timeline Frame 1Symbol 2 as "pop"
ExportAssets (56)Timeline Frame 1Symbol 3 as "punch"
ExportAssets (56)Timeline Frame 1Symbol 4 as "fire"
ExportAssets (56)Timeline Frame 1Symbol 5 as "explosion2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "explosion"

Labels

"helicopter"Frame 50
"loaded"Symbol 33 MovieClip Frame 3

Dynamic Text Variables

labelSymbol 45 EditableText"space"
labelSymbol 48 EditableText"space"
_root.curTimeSymbol 78 EditableText"Time:"
_root.nameSymbol 81 EditableText"INSERT NAME HERE"
_root.curTimeSymbol 534 EditableText"Time:"
_root.nameSymbol 535 EditableText"INSERT NAME HERE"




http://swfchan.com/13/62748/info.shtml
Created: 14/4 -2019 02:06:07 Last modified: 14/4 -2019 02:06:07 Server time: 17/05 -2024 21:37:31