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>

Battle Pong.swf

This is the info page for
Flash #25838

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


Text
Battle pong

Battle pong

the new generation of pong

beginner

Actions

1 player

New Game

New Game

Instructions

instructions

options

options

controls

controls

highscores

highscores

click here to play more games by funflashgames.com

click here to play more games by funflashgames.com

click here to add this game to your website

click here to add this game to your website

Instructions

The point of this game is to destroy the opponent. to do so,
you must hit the shield behind your opponent while protecting
your shield.The position the ball hits your paddle will
determine the angle of the ball.

power-ups

receive power-ups by hitting the red panels on the side walls.
use these weapons by pressing the fire button of the weapon
slot. You can shoot any of these power-ups while holding the
launch button (Default: left) and pressing the corresponding
fire button. The launched power-up will be activated when it
hits the opponent.

increases paddle size

decreases paddle size

increases paddle speed

decreases paddle speed

reverse the ball's
vertical direction

reverse the ball's
horizontal direction

fires a bullet

fires 3 bullets

fires homing bullet

Reverse the paddle
direction

back

back

player 1

controls

player 2

click to change

up:

down:

launch:

weapon 1:

weapon 2:

weapon 3:

up

down

left

J

k

l

pause/unpause:

music on/off:

Q

A

S

x

c

v

P

O

options

difficulty:

Mode:

your score is:

Name

submit

submit

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

processing...

top 10 scores

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

name

score

top 10 scores

PRESENTS

Health

Weapons

1

2

3

Score:

0

Good Job!

Try again?

Submit score

Paused

Menu

menu

sounds

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; Stage.scaleMode = "noScale"; _root.maindisplay.a.enabled = false; _root.maindisplay.b.enabled = false; _root.maindisplay.c.enabled = false; _root.maindisplay.d.enabled = false; _root.maindisplay.e.enabled = false; _root.maindisplay.f.enabled = false; _root.maindisplay.g.enabled = false;
Frame 2
stop(); _root.maindisplay.a.enabled = true; _root.maindisplay.b.enabled = true; _root.maindisplay.c.enabled = true; _root.maindisplay.d.enabled = true; _root.maindisplay.e.enabled = true; _root.maindisplay.f.enabled = true; _root.maindisplay.g.enabled = true; _root.nofw = 10; _root.gameplay = false; _root.pause = false; _root.mode = "1 player"; _root.difficulty = "beginner"; _root.depth = 1; _root.smallerxval = 6; _root.menubtn.enabled = false; _root.score = 0; _root.thump = new Sound(thump); _root.thump.attachSound("thump"); _root.thump.setVolume(150); _root.sidehit = new Sound(sidehit); _root.sidehit.attachSound("sidehit"); _root.fire = new Sound(fire); _root.fire.attachSound("fire"); _root.power = new Sound(power); _root.power.attachSound("power"); _root.phit = new Sound(phit); _root.phit.attachSound("phit"); _root.rover = new Sound(rover); _root.rover.attachSound("rover"); _root.rover2 = new Sound(rover2); _root.rover2.attachSound("rover2"); _root.loop = new Sound(loop); _root.loop.attachSound("loop"); _root.loop.start(); _root.loop.onSoundComplete = function () { _root.loop.start(); }; _root.globalsoundcontrol = "play"; _root.fade = "in"; _root.weaponarray = new Array("bigger", "smaller", "yswitch", "xswitch", "faster", "slower", "gun", "triple", "homing", "pychange"); _root.rweaponarray = new Array("none", "none", "none"); _root.lweaponarray = new Array("none", "none", "none"); _root.bulletarray = new Array(); _root.upkey1 = 38; _root.downkey1 = 40; _root.launchkey1 = 37; _root.w1key1 = 74; _root.w2key1 = 75; _root.w3key1 = 76; _root.upkey2 = 81; _root.downkey2 = 65; _root.launchkey2 = 83; _root.w1key2 = 88; _root.w2key2 = 67; _root.w3key2 = 86; _root.pausekey = 80; _root.musickey = 79; _root.topBorder = (_root.stage._y - (_root.stage._height / 2)) + 8; _root.bottomBorder = _root.stage._y + ((_root.stage._height / 2) - 8); _root.leftborder = _root.stage._x - (_root.stage._width / 2); _root.rightBorder = _root.stage._x + (_root.stage._width / 2); _root.bulletmovement = function () { i = 0; while (i < _root.bulletarray.length) { _root.bulletarray[i]._x = _root.bulletarray[i]._x + _root.bulletarray[i].xvalue; _root.bulletarray[i]._y = _root.bulletarray[i]._y + _root.bulletarray[i].yvalue; if ((((_root.bulletarray[i]._x < (_root.leftborder - _root.bulletarray[i]._width)) or (_root.bulletarray[i]._x > (_root.rightborder + _root.bulletarray[i]._width))) or (_root.bulletarray[i]._y < (_root.topborder - _root.bulletarray[i]._height))) or (_root.bulletarray[i]._y > (_root.bottomborder + _root.bulletarray[i]._height))) { _root.bulletarray[i].removeMovieClip(); _root.bulletarray.splice(i, 1); } if (_root.bulletarray[i].movement == "homing") { if (_root.bulletarray[i].xvalue > 0) { _root.bulletarray[i]._y = _root.bulletarray[i]._y + ((_root.rpaddle._y - _root.bulletarray[i]._y) / 10); } else if (_root.bulletarray[i].xvalue < 0) { _root.bulletarray[i]._y = _root.bulletarray[i]._y + ((_root.lpaddle._y - _root.bulletarray[i]._y) / 10); } } if (_root.bulletarray[i].xvalue < 0) { if (_root.bulletarray[i].hitTest(_root.lpaddle)) { _root.phit.stop(); _root.phit.start(); if (_root.bulletarray[i].shottype == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.bulletarray[i].shottype == "smaller") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.bulletarray[i].shottype == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.bulletarray[i].shottype == "slower") { _root.lpspeed = _root.lpspeed - 1; } else if (_root.bulletarray[i].shottype == "gun") { _root.lhealth = _root.lhealth - 3; _root.life1.mask._xscale = (_root.lhealth / _root.ltotalhealth) * 100; } else if (_root.bulletarray[i].shottype == "pychange") { _root.lpspeed = -_root.lpspeed; } _root.bulletarray[i].removeMovieClip(); _root.bulletarray.splice(i, 1); } } if (_root.bulletarray[i].xvalue > 0) { if (_root.bulletarray[i].hitTest(_root.rpaddle)) { _root.phit.stop(); _root.phit.start(); if (_root.bulletarray[i].shottype == "bigger") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale + 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.bulletarray[i].shottype == "smaller") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale - 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.bulletarray[i].shottype == "faster") { _root.rpspeed = _root.rpspeed + 1; } else if (_root.bulletarray[i].shottype == "slower") { _root.rpspeed = _root.rpspeed - 1; } else if (_root.bulletarray[i].shottype == "gun") { _root.rhealth = _root.rhealth - 3; _root.life2.mask._xscale = (_root.rhealth / _root.rtotalhealth) * 100; } else if (_root.bulletarray[i].shottype == "pychange") { _root.rpspeed = -_root.rpspeed; } _root.bulletarray[i].removeMovieClip(); _root.bulletarray.splice(i, 1); } } i++; } }; _root.reset = function () { _root.gameplay = false; _root.gamedisplay.gotoAndStop("blank"); if (_root.mode == "1 player") { _root.lplayer = "Computer"; _root.rplayer = "Player 1"; } else if (_root.mode == "2 player") { _root.lplayer = "Player 2"; _root.rplayer = "Player 1"; } _root.sparkticker = 0; _root.sparktime = random(50) + 75; _root.speed = 12; _root.angle = random(30); _root.xdir = 1; _root.ydir = 1; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.ball._x = _root.stage._x; _root.ball._y = _root.stage._y; _root.rpspeed = 12; _root.lpspeed = _root.ailevel; _root.lpspeedcounter = 0; _root.ltotalhealth = (_root.rtotalhealth = (_root.lhealth = (_root.rhealth = 30))); _root.life1.mask._xscale = (_root.lhealth / _root.ltotalhealth) * 100; _root.life2.mask._xscale = (_root.rhealth / _root.rtotalhealth) * 100; _root.rpaddle.paddle._yscale = 100; _root.lpaddle.paddle._yscale = 100; _root.rpaddle._y = _root.stage._y; _root.lpaddle._y = _root.stage._y; _root.rweaponarray = new Array("none", "none", "none"); _root.lweaponarray = new Array("none", "none", "none"); _root.lw1.gotoAndStop("blank"); _root.lw2.gotoAndStop("blank"); _root.lw3.gotoAndStop("blank"); _root.rw1.gotoAndStop("blank"); _root.rw2.gotoAndStop("blank"); _root.rw3.gotoAndStop("blank"); i = _root.bulletarray.length - 1; while (i >= 0) { _root.bulletarray[i].removeMovieClip(); _root.bulletarray.splice(i); i--; } }; _root.beginnerai = function () { if (_root.lpspeed < 0) { _root.lpspeedcounter++; if (_root.lpspeedcounter == 75) { _root.lpspeedcounter = 0; _root.lpspeed = -_root.lpspeed; } } if (_root.xdir == -1) { if (_root.choose == true) { randangle = random(140) - 70; trace(randangle); _root.choose = false; } desty = (randangle / _root.ck) + _root.ball._y; if (_root.lpaddle._y < desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y + _root.lpspeed; } } else if (_root.lpaddle._y > desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } } else if (_root.xdir == 1) { if (Math.abs(_root.lpaddle._y - _root.topborder) < ((_root.lpaddle._height / 2) + 20)) { _root.lpaddle._y = _root.lpaddle._y + (_root.lpspeed / 2); } else if (Math.abs(_root.lpaddle._y - _root.bottomborder) < ((_root.lpaddle._height / 2) + 20)) { _root.lpaddle._y = _root.lpaddle._y - (_root.lpspeed / 2); } } if (_root.lweaponarray[0] != "none") { if (_root.lweaponarray[0] == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[0] == "smaller") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[0] == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.lweaponarray[0] == "slower") { _root.lpspeed = _root.lpspeed - 1; } else if (_root.lweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "pychange") { _root.lpspeed = -_root.lpspeed; } _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } }; _root.normalai = function () { if (_root.lpspeed < 0) { _root.lpspeedcounter++; if (_root.lpspeedcounter == 50) { _root.lpspeedcounter = 0; _root.lpspeed = -_root.lpspeed; } } if (_root.xdir == -1) { if (_root.choose == true) { randdesty = random(6); if (randdesty == 0) { bdestx = _root.pu1._x; bdesty = _root.pu1._y; } else if (randdesty == 1) { bdestx = _root.pu2._x; bdesty = _root.pu2._y; } else if (randdesty == 2) { bdestx = _root.pu3._x; bdesty = _root.pu3._y; } else if (randdesty == 3) { bdestx = _root.pu4._x; bdesty = _root.pu4._y; } else if (randdesty == 4) { bdesty = _root.topborder; bdestx = _root.rightborder; } else if (randdesty == 5) { bdesty = _root.bottomborder; bdestx = _root.rightborder; } _root.choose = false; } randangle = (Math.atan2(diffy, diffx) * 180) / Math.PI; if ((randangle >= 90) and (randangle <= 180)) { randangle = -1 * (randangle - 180); } else if ((randangle <= -90) and (randangle > -180)) { randangle = -1 * (180 + randangle); } desty = (randangle / _root.ck) + _root.ball._y; if (_root.lpaddle._y < desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y + _root.lpspeed; } } else if (_root.lpaddle._y > desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } } else if (_root.xdir == 1) { if (Math.abs(_root.lpaddle._y - _root.topborder) < ((_root.lpaddle._height / 2) + 20)) { _root.lpaddle._y = _root.lpaddle._y + (_root.lpspeed / 2); } else if (Math.abs(_root.lpaddle._y - _root.bottomborder) < ((_root.lpaddle._height / 2) + 20)) { _root.lpaddle._y = _root.lpaddle._y - (_root.lpspeed / 2); } } if (_root.lweaponarray[0] != "none") { if (_root.lweaponarray[0] == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[0] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[0] == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.lweaponarray[0] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } }; _root.expertai = function () { if (_root.lpspeed < 0) { _root.lpspeedcounter++; if (_root.lpspeedcounter == 50) { _root.lpspeedcounter = 0; _root.lpspeed = -_root.lpspeed; } } if (_root.xdir == -1) { if (_root.choose == true) { _root.movedelay = 0; randdesty = random(6); if (randdesty == 0) { bdestx = _root.pu1._x; bdesty = _root.pu1._y; } else if (randdesty == 1) { bdestx = _root.pu2._x; bdesty = _root.pu2._y; } else if (randdesty == 2) { bdestx = _root.pu3._x; bdesty = _root.pu3._y; } else if (randdesty == 3) { bdestx = _root.pu4._x; bdesty = _root.pu4._y; } else if (randdesty == 4) { bdesty = _root.topborder; bdestx = _root.rightborder; } else if (randdesty == 5) { bdesty = _root.bottomborder; bdestx = _root.rightborder; } _root.choose = false; } diffx = _root.ball._x - bdestx; diffy = _root.ball._y - bdesty; randangle = (Math.atan2(diffy, diffx) * 180) / Math.PI; if ((randangle >= 90) and (randangle <= 180)) { randangle = -1 * (randangle - 180); } else if ((randangle <= -90) and (randangle > -180)) { randangle = -1 * (180 + randangle); } desty = (randangle / _root.ck) + _root.ball._y; if (_root.lpaddle._y < desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y + _root.lpspeed; } } else if (_root.lpaddle._y > desty) { if (Math.abs(_root.lpaddle._y - desty) < _root.lpspeed) { _root.lpaddle._y = desty; } else { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } } else if (_root.xdir == 1) { _root.avoidnumber = 0; if (_root.movedelay < 5) { _root.movedelay++; } if (_root.bulletarray.length > 0) { i = _root.bulletarray.length - 1; while (i >= 0) { if (_root.bulletarray[i].xvalue < 0) { _root.avoidy = _root.bulletarray[i]._y; _root.avoidx = _root.bulletarray[i]._x; _root.avoidh = _root.bulletarray[i]._height; _root.avoidnumber++; _root.avoidtype = _root.bulletarray[i].movement; } i--; } } if (_root.avoidnumber > 0) { if (_root.avoidtype != "homing") { if ((_root.avoidy - _root.stage._y) >= 0) { if ((((_root.lpaddle._y + (_root.lpaddle._height / 2)) + (_root.avoidh / 2)) + 30) > _root.avoidy) { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } else if ((((_root.lpaddle._y - (_root.lpaddle._height / 2)) - (_root.avoidh / 2)) - 30) < _root.avoidy) { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } else if ((_root.avoidx - _root.lpaddle._x) < 150) { if ((_root.bottomborder - _root.lpaddle._y) > _root.stage.heigth) { _root.lpaddle._y = _root.lpaddle._y + _root.lpspeed; } else { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } } } else if (_root.movedelay >= 5) { if (_root.lpaddle._y < _root.stage._y) { if ((_root.stage._y - _root.lpaddle._y) >= _root.lpspeed) { _root.lpaddle._y = _root.lpaddle._y + (_root.lpspeed / 3); } else { _root.lpaddle._y = _root.stage._y; } } else if (_root.lpaddle._y > _root.stage._y) { if ((_root.lpaddle._y - _root.stage._y) >= _root.lpspeed) { _root.lpaddle._y = _root.lpaddle._y - (_root.lpspeed / 3); } else { _root.lpaddle._y = _root.stage._y; } } } } if (_root.lweaponarray[0] != "none") { if (_root.lweaponarray[0] == "bigger") { if (_root.lpaddle._yscale < 180) { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } else if (_root.lweaponarray[0] == "smaller") { if (_root.lpaddle._yscale < 180) { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } else if (_root.lweaponarray[0] == "yswitch") { if (((_root.rightborder - _root.ball._x) < 80) and (_root.xdir == 1)) { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } else if (_root.lweaponarray[0] == "xswitch") { if (((_root.rightborder - _root.ball._x) > 100) and (_root.xdir == -1)) { _root.xdir = -1 * _root.xdir; _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } else if (_root.lweaponarray[0] == "faster") { _root.lpspeed = _root.lpspeed + 1; _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else if (_root.lweaponarray[0] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else if (_root.lweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else if (_root.lweaponarray[0] == "triple") { if (Math.abs(_root.lpaddle._y - _root.stage._y) < 50) { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } else if (_root.lweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else if (_root.lweaponarray[0] == "pychange") { if (_root.lpspeed > 0) { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } else { _root.lpspeed = -_root.lpspeed; _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); } } } if (_root.lweaponarray[1] != "none") { if (_root.lweaponarray[1] == "bigger") { if (_root.lpaddle._yscale < 180) { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } else if (_root.lweaponarray[1] == "smaller") { if (_root.lpaddle._yscale < 180) { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } else if (_root.lweaponarray[1] == "yswitch") { if (((_root.rightborder - _root.ball._x) < 80) and (_root.xdir == 1)) { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } else if (_root.lweaponarray[1] == "xswitch") { if (((_root.rightborder - _root.ball._x) > 100) and (_root.xdir == -1)) { _root.xdir = -1 * _root.xdir; _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } else if (_root.lweaponarray[1] == "faster") { _root.lpspeed = _root.lpspeed + 1; _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else if (_root.lweaponarray[1] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else if (_root.lweaponarray[1] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else if (_root.lweaponarray[1] == "triple") { if (Math.abs(_root.lpaddle._y - _root.stage._y) < 50) { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } else if (_root.lweaponarray[1] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else if (_root.lweaponarray[1] == "pychange") { if (_root.lpspeed > 0) { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } else { _root.lpspeed = -_root.lpspeed; _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); } } } if (_root.lweaponarray[2] != "none") { if (_root.lweaponarray[2] == "bigger") { if (_root.lpaddle._yscale < 180) { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } else if (_root.lweaponarray[2] == "smaller") { if (_root.lpaddle._yscale < 180) { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } else if (_root.lweaponarray[2] == "yswitch") { if (((_root.rightborder - _root.ball._x) < 80) and (_root.xdir == 1)) { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } else if (_root.lweaponarray[2] == "xswitch") { if (((_root.rightborder - _root.ball._x) > 100) and (_root.xdir == -1)) { _root.xdir = -1 * _root.xdir; _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } else if (_root.lweaponarray[2] == "faster") { _root.lpspeed = _root.lpspeed + 1; _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else if (_root.lweaponarray[2] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else if (_root.lweaponarray[2] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else if (_root.lweaponarray[2] == "triple") { if (Math.abs(_root.lpaddle._y - _root.stage._y) < 50) { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } else if (_root.lweaponarray[2] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else if (_root.lweaponarray[2] == "pychange") { if (_root.lpspeed > 0) { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } else { _root.lpspeed = -_root.lpspeed; _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); } } } }; _root.rpfire1 = function () { if (Key.isDown(_root.launchkey1)) { if (_root.rweaponarray[0] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.rpaddle._x; _root["bigger" + _root.depth]._y = _root.rpaddle._y; _root["bigger" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.rpaddle._x; _root["smaller" + _root.depth]._y = _root.rpaddle._y; _root["smaller" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[0] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.rpaddle._x; _root["faster" + _root.depth]._y = _root.rpaddle._y; _root["faster" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.rpaddle._x; _root["slower" + _root.depth]._y = _root.rpaddle._y; _root["slower" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.rpaddle._x; _root["pychange" + _root.depth]._y = _root.rpaddle._y; _root["pychange" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.rweaponarray[0] == "bigger") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale + 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[0] == "smaller") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale - 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[0] == "faster") { _root.rpspeed = _root.rpspeed + 1; } else if (_root.rweaponarray[0] == "slower") { _root.rpspeed = _root.rpspeed - 1; } else if (_root.rweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[0] == "pychange") { _root.rpspeed = -_root.rpspeed; } _root.rweaponarray[0] = "none"; _root.rw1.gotoAndStop("blank"); }; _root.rpfire2 = function () { if (Key.isDown(_root.launchkey1)) { if (_root.rweaponarray[1] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.rpaddle._x; _root["bigger" + _root.depth]._y = _root.rpaddle._y; _root["bigger" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.rpaddle._x; _root["smaller" + _root.depth]._y = _root.rpaddle._y; _root["smaller" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[1] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[1] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.rpaddle._x; _root["faster" + _root.depth]._y = _root.rpaddle._y; _root["faster" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.rpaddle._x; _root["slower" + _root.depth]._y = _root.rpaddle._y; _root["slower" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.rpaddle._x; _root["pychange" + _root.depth]._y = _root.rpaddle._y; _root["pychange" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.rweaponarray[1] == "bigger") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale + 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[1] == "smaller") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale - 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[1] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[1] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[1] == "faster") { _root.rpspeed = _root.rpspeed + 1; } else if (_root.rweaponarray[1] == "slower") { _root.rpspeed = _root.rpspeed - 1; } else if (_root.rweaponarray[1] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[1] == "pychange") { _root.rpspeed = -_root.rpspeed; } _root.rweaponarray[1] = "none"; _root.rw2.gotoAndStop("blank"); }; _root.rpfire3 = function () { if (Key.isDown(_root.launchkey1)) { if (_root.rweaponarray[2] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.rpaddle._x; _root["bigger" + _root.depth]._y = _root.rpaddle._y; _root["bigger" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.rpaddle._x; _root["smaller" + _root.depth]._y = _root.rpaddle._y; _root["smaller" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[2] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[2] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.rpaddle._x; _root["faster" + _root.depth]._y = _root.rpaddle._y; _root["faster" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.rpaddle._x; _root["slower" + _root.depth]._y = _root.rpaddle._y; _root["slower" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.rpaddle._x; _root["pychange" + _root.depth]._y = _root.rpaddle._y; _root["pychange" + _root.depth].xvalue = -_root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.rweaponarray[2] == "bigger") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale + 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[2] == "smaller") { _root.rpaddle.paddle._yscale = _root.rpaddle.paddle._yscale - 20; _root.k = 70 / ((_root.rpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.rweaponarray[2] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.rweaponarray[2] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.rweaponarray[2] == "faster") { _root.rpspeed = _root.rpspeed + 1; } else if (_root.rweaponarray[2] == "slower") { _root.rpspeed = _root.rpspeed - 1; } else if (_root.rweaponarray[2] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = (-2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.rpaddle._x; _root["gun" + _root.depth]._y = _root.rpaddle._y; _root["gun" + _root.depth].xvalue = -1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.rweaponarray[2] == "pychange") { _root.rpspeed = -_root.rpspeed; } _root.rweaponarray[2] = "none"; _root.rw3.gotoAndStop("blank"); }; _root.lpfire1 = function () { if (Key.isDown(_root.launchkey2)) { if (_root.lweaponarray[0] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[0] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.lpaddle._x; _root["faster" + _root.depth]._y = _root.lpaddle._y; _root["faster" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.lweaponarray[0] == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[0] == "smaller") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[0] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[0] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[0] == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.lweaponarray[0] == "slower") { _root.lpspeed = _root.lpspeed - 1; } else if (_root.lweaponarray[0] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[0] == "pychange") { _root.lpspeed = -_root.lpspeed; } _root.lweaponarray[0] = "none"; _root.lw1.gotoAndStop("blank"); }; _root.lpfire2 = function () { if (Key.isDown(_root.launchkey2)) { if (_root.lweaponarray[1] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[1] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[1] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.lpaddle._x; _root["faster" + _root.depth]._y = _root.lpaddle._y; _root["faster" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.lweaponarray[1] == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[1] == "smaller") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[1] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[1] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[1] == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.lweaponarray[1] == "slower") { _root.lpspeed = _root.lpspeed - 1; } else if (_root.lweaponarray[1] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[1] == "pychange") { _root.lpspeed = -_root.lpspeed; } _root.lweaponarray[1] = "none"; _root.lw2.gotoAndStop("blank"); }; _root.lpfire3 = function () { if (Key.isDown(_root.launchkey2)) { if (_root.lweaponarray[2] == "bigger") { _root.attachMovie("bigger", "bigger" + _root.depth, _root.depth); _root["bigger" + _root.depth].shottype = "bigger"; _root["bigger" + _root.depth]._x = _root.lpaddle._x; _root["bigger" + _root.depth]._y = _root.lpaddle._y; _root["bigger" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["bigger" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "smaller") { _root.attachMovie("smaller", "smaller" + _root.depth, _root.depth); _root["smaller" + _root.depth].shottype = "smaller"; _root["smaller" + _root.depth]._x = _root.lpaddle._x; _root["smaller" + _root.depth]._y = _root.lpaddle._y; _root["smaller" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["smaller" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[2] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[2] == "faster") { _root.attachMovie("speed", "faster" + _root.depth, _root.depth); _root["faster" + _root.depth].shottype = "faster"; _root["faster" + _root.depth]._x = _root.lpaddle._x; _root["faster" + _root.depth]._y = _root.lpaddle._y; _root["faster" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["faster" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "slower") { _root.attachMovie("speed", "slower" + _root.depth, _root.depth); _root["slower" + _root.depth].shottype = "slower"; _root["slower" + _root.depth]._rotation = 180; _root["slower" + _root.depth]._x = _root.lpaddle._x; _root["slower" + _root.depth]._y = _root.lpaddle._y; _root["slower" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["slower" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "pychange") { _root.attachMovie("pychange", "pychange" + _root.depth, _root.depth); _root["pychange" + _root.depth].shottype = "pychange"; _root["pychange" + _root.depth]._x = _root.lpaddle._x; _root["pychange" + _root.depth]._y = _root.lpaddle._y; _root["pychange" + _root.depth].xvalue = _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["pychange" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } } else if (_root.lweaponarray[2] == "bigger") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale + 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[2] == "smaller") { _root.lpaddle.paddle._yscale = _root.lpaddle.paddle._yscale - 20; _root.ck = 70 / ((_root.lpaddle._height / 2) + (_root.ball._height / 2)); } else if (_root.lweaponarray[2] == "yswitch") { _root.ydir = -1 * _root.ydir; _root.lastside = "none"; } else if (_root.lweaponarray[2] == "xswitch") { _root.xdir = -1 * _root.xdir; } else if (_root.lweaponarray[2] == "faster") { _root.lpspeed = _root.lpspeed + 1; } else if (_root.lweaponarray[2] == "slower") { _root.lpspeed = _root.lpspeed - 1; } else if (_root.lweaponarray[2] == "gun") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "triple") { _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 2 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._rotation = -20; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (-2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.attachMovie("gun", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._rotation = 20; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = (2 * _root.smallerxval) * 0.939692620785908; _root["gun" + _root.depth].yvalue = (2 * _root.smallerxval) * 0.342020143325669; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "homing") { _root.attachMovie("homing", "gun" + _root.depth, _root.depth); _root["gun" + _root.depth].shottype = "gun"; _root["gun" + _root.depth].movement = "homing"; _root["gun" + _root.depth]._xscale = -100; _root["gun" + _root.depth]._x = _root.lpaddle._x; _root["gun" + _root.depth]._y = _root.lpaddle._y; _root["gun" + _root.depth].xvalue = 1.5 * _root.smallerxval; _root.bulletarray[_root.bulletarray.length] = _root["gun" + _root.depth]; if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } _root.fire.stop(); _root.fire.start(); } else if (_root.lweaponarray[2] == "pychange") { _root.lpspeed = -_root.lpspeed; } _root.lweaponarray[2] = "none"; _root.lw3.gotoAndStop("blank"); };
Instance of Symbol 246 MovieClip "music" in Frame 2
on (release) { if (_root.globalsoundcontrol == "play") { _root.globalsoundcontrol = "stop"; _root.fade = "out"; _root.music.gotoAndStop("off"); } else if (_root.globalsoundcontrol == "stop") { _root.globalsoundcontrol = "play"; _root.fade = "in"; _root.music.gotoAndStop("on"); } }
Instance of Symbol 43 MovieClip in Frame 2
onClipEvent (load) { _root.lastside = "none"; } onClipEvent (keyDown) { if (Key.isDown(_root.musickey)) { if (_root.globalsoundcontrol == "play") { _root.globalsoundcontrol = "stop"; _root.fade = "out"; _root.music.gotoAndStop("off"); } else if (_root.globalsoundcontrol == "stop") { _root.globalsoundcontrol = "play"; _root.fade = "in"; _root.music.gotoAndStop("on"); } } if (_root.gameplay == true) { if (Key.isDown(_root.pausekey)) { if (_root.pause == false) { _root.pause = true; _root.gamedisplay.gotoAndPlay("pause"); _root.fade = "out"; } else if (_root.pause == true) { _root.pause = false; _root.gamedisplay.gotoAndPlay("unpause"); if (_root.globalsoundcontrol == "play") { _root.fade = "in"; } } } else if (Key.isDown(_root.w1key1)) { _root.rpfire1(); } else if (Key.isDown(_root.w2key1)) { _root.rpfire2(); } else if (Key.isDown(_root.w3key1)) { _root.rpfire3(); } else if (_root.mode == "2 player") { if (Key.isDown(_root.w1key2)) { _root.lpfire1(); } else if (Key.isDown(_root.w2key2)) { _root.lpfire2(); } else if (Key.isDown(_root.w3key2)) { _root.lpfire3(); } } } } onClipEvent (enterFrame) { if (_root.fade == "in") { if (_root.loopvolume < 100) { _root.loopvolume = _root.loopvolume + 8; _root.loop.setVolume(_root.loopvolume); } else if (_root.loopvolume > 100) { _root.loopvolume = 100; _root.loop.setVolume(_root.loopvolume); } } else if (_root.fade == "out") { if (_root.loopvolume > 0) { _root.loopvolume = _root.loopvolume - 20; _root.loop.setVolume(_root.loopvolume); } else if (_root.loopvolume < 0) { _root.loopvolume = 0; _root.loop.setVolume(_root.loopvolume); } } if ((_root.gameplay == true) and (_root.pause == false)) { trace(_root.angle); if (_root.bgpicture == "wire") { _root.sparkticker++; if (_root.sparkticker == _root.sparktime) { _root.sparkticker = 0; _root.sparktime = random(25) + 25; _root.bg.effect.attachMovie("spark", "spark" + _root.depth, _root.depth); _root.sparkside = random(4); if (_root.sparkside == 0) { _root.bg.effect["spark" + _root.depth]._x = 0; _root.bg.effect["spark" + _root.depth]._y = random(35) * 9; } else if (_root.sparkside == 1) { _root.bg.effect["spark" + _root.depth]._x = random(50) * 9; _root.bg.effect["spark" + _root.depth]._y = 0; } else if (_root.sparkside == 2) { _root.bg.effect["spark" + _root.depth]._x = 448; _root.bg.effect["spark" + _root.depth]._y = random(50) * 9; } else if (_root.sparkside == 3) { _root.bg.effect["spark" + _root.depth]._x = 448; _root.bg.effect["spark" + _root.depth]._y = 313; } if (_root.depth < 30) { _root.depth++; } else { _root.depth = 0; } } } if ((((_root.speed * Math.cos((Math.PI * _root.angle) / 180)) > Math.abs(_root.ball._x - _root.lpaddle._x)) and (_root.xdir == -1)) and (Math.abs(_root.lpaddle._y - _root.ball._y) < (_root.lpaddle._height / 2))) { _root.originalspeed = _root.speed; _root.speed = Math.abs(_root.ball._x - _root.lpaddle._x) / Math.cos((Math.PI * _root.angle) / 180); _root.ball._x = _root.ball._x + ((_root.xdir * _root.speed) * Math.cos((Math.PI * _root.angle) / 180)); _root.ball._y = _root.ball._y + ((_root.ydir * _root.speed) * Math.sin((Math.PI * _root.angle) / 180)); _root.speed = _root.originalspeed; } else if ((((_root.speed * Math.cos((Math.PI * _root.angle) / 180)) > Math.abs(_root.ball._x - _root.rpaddle._x)) and (_root.xdir == 1)) and (Math.abs(_root.rpaddle._y - _root.ball._y) < (_root.rpaddle._height / 2))) { _root.originalspeed = _root.speed; _root.speed = Math.abs(_root.ball._x - _root.rpaddle._x) / Math.cos((Math.PI * _root.angle) / 180); _root.ball._x = _root.ball._x + ((_root.xdir * _root.speed) * Math.cos((Math.PI * _root.angle) / 180)); _root.ball._y = _root.ball._y + ((_root.ydir * _root.speed) * Math.sin((Math.PI * _root.angle) / 180)); _root.speed = _root.originalspeed; } else if (((_root.speed * Math.sin((Math.PI * _root.angle) / 180)) > Math.abs(_root.ball._y - _root.topborder)) and (_root.ydir == -1)) { _root.originalspeed = _root.speed; _root.speed = Math.abs(_root.ball._y - _root.topborder) / Math.sin((Math.PI * _root.angle) / 180); _root.ball._x = _root.ball._x + ((_root.xdir * _root.speed) * Math.cos((Math.PI * _root.angle) / 180)); _root.ball._y = _root.ball._y + ((_root.ydir * _root.speed) * Math.sin((Math.PI * _root.angle) / 180)); _root.speed = _root.originalspeed; } else if (((_root.speed * Math.sin((Math.PI * _root.angle) / 180)) > Math.abs(_root.ball._y - _root.bottomborder)) and (_root.ydir == 1)) { _root.originalspeed = _root.speed; _root.speed = Math.abs(_root.ball._y - _root.bottomborder) / Math.sin((Math.PI * _root.angle) / 180); _root.ball._x = _root.ball._x + ((_root.xdir * _root.speed) * Math.cos((Math.PI * _root.angle) / 180)); _root.ball._y = _root.ball._y + ((_root.ydir * _root.speed) * Math.sin((Math.PI * _root.angle) / 180)); _root.speed = _root.originalspeed; } else { _root.ball._x = _root.ball._x + ((_root.xdir * _root.speed) * Math.cos((Math.PI * _root.angle) / 180)); _root.ball._y = _root.ball._y + ((_root.ydir * _root.speed) * Math.sin((Math.PI * _root.angle) / 180)); _root.speed = _root.speed + 0.01; } if (_root.ball._y < (_root.topBorder + (_root.ball._height / 2))) { _root.ydir = 1; currentside = "top"; if (_root.lastside != currentside) { if (_root.ball.hitTest(_root.pu3) or _root.ball.hitTest(_root.pu4)) { if (_root.xdir == -1) { if (_root.rweaponarray[0] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[0] = _root.weaponarray[randomweapon]; _root.rw1.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.rweaponarray[1] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[1] = _root.weaponarray[randomweapon]; _root.rw2.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.rweaponarray[2] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[2] = _root.weaponarray[randomweapon]; _root.rw3.gotoAndStop(_root.weaponarray[randomweapon]); } } else if (_root.xdir == 1) { if (_root.lweaponarray[0] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[0] = _root.weaponarray[randomweapon]; _root.lw1.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.lweaponarray[1] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[1] = _root.weaponarray[randomweapon]; _root.lw2.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.lweaponarray[2] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[2] = _root.weaponarray[randomweapon]; _root.lw3.gotoAndStop(_root.weaponarray[randomweapon]); } } _root.power.stop(); _root.power.start(); } else { _root.thump.stop(); _root.thump.start(); } } _root.lastside = "top"; } else if (_root.ball._y > (_root.bottomBorder - (_root.ball._height / 2))) { _root.ydir = -1; currentside = "bottom"; if (_root.lastside != currentside) { if (_root.ball.hitTest(_root.pu1) or _root.ball.hitTest(_root.pu2)) { if (_root.xdir == -1) { if (_root.rweaponarray[0] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[0] = _root.weaponarray[randomweapon]; _root.rw1.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.rweaponarray[1] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[1] = _root.weaponarray[randomweapon]; _root.rw2.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.rweaponarray[2] == "none") { randomweapon = random(_root.nofw); _root.rweaponarray[2] = _root.weaponarray[randomweapon]; _root.rw3.gotoAndStop(_root.weaponarray[randomweapon]); } } else if (_root.xdir == 1) { if (_root.lweaponarray[0] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[0] = _root.weaponarray[randomweapon]; _root.lw1.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.lweaponarray[1] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[1] = _root.weaponarray[randomweapon]; _root.lw2.gotoAndStop(_root.weaponarray[randomweapon]); } else if (_root.lweaponarray[2] == "none") { randomweapon = random(_root.nofw); _root.lweaponarray[2] = _root.weaponarray[randomweapon]; _root.lw3.gotoAndStop(_root.weaponarray[randomweapon]); } } _root.power.stop(); _root.power.start(); } else { _root.thump.stop(); _root.thump.start(); } } _root.lastside = "bottom"; } if (_root.ball._x < _root.leftborder) { _root.xdir = 1; _root.lhealth = _root.lhealth - 5; _root.life1.mask._xscale = (_root.lhealth / _root.ltotalhealth) * 100; _root.lastside = "none"; _root.lshock.gotoAndPlay("shock"); _root.sidehit.stop(); _root.sidehit.start(); } if (_root.ball._x > _root.rightborder) { _root.xdir = -1; _root.rhealth = _root.rhealth - 5; _root.life2.mask._xscale = (_root.rhealth / _root.rtotalhealth) * 100; _root.lastside = "none"; _root.rshock.gotoAndPlay("shock"); _root.sidehit.stop(); _root.sidehit.start(); _root.choose = true; } if (_root.ball.hitTest(_root.rpaddle)) { if ((_root.ball._y > (_root.topborder + (_root.ball._height / 2))) and (_root.ball._y < (_root.bottomborder - (_root.ball._height / 2)))) { if ((_root.rpaddle._y - _root.ball._y) > 0) { _root.ydir = -1; } else if ((_root.rpaddle._y - _root.ball._y) < 0) { _root.ydir = 1; } _root.angle = _root.k * Math.abs(_root.rpaddle._y - _root.ball._y); } _root.choose = true; _root.xdir = -1; _root.lastside = "none"; _root.thump.stop(); _root.thump.start(); } if (_root.ball.hitTest(_root.lpaddle)) { if ((_root.ball._y > (_root.topborder + (_root.ball._height / 2))) and (_root.ball._y < (_root.bottomborder - (_root.ball._height / 2)))) { if ((_root.lpaddle._y - _root.ball._y) > 0) { _root.ydir = -1; } else if ((_root.lpaddle._y - _root.ball._y) < 0) { _root.ydir = 1; } _root.angle = _root.ck * Math.abs(_root.lpaddle._y - _root.ball._y); } _root.xdir = 1; _root.lastside = "none"; _root.thump.stop(); _root.thump.start(); } if (Key.isDown(_root.upkey1)) { _root.rpaddle._y = _root.rpaddle._y - _root.rpspeed; } else if (Key.isDown(_root.downkey1)) { _root.rpaddle._y = _root.rpaddle._y + _root.rpspeed; } if ((_root.rpaddle._y - (_root.rpaddle._height / 2)) < _root.topborder) { _root.rpaddle._y = (_root.rpaddle._height / 2) + _root.topborder; } else if ((_root.rpaddle._y + (_root.rpaddle._height / 2)) > _root.bottomborder) { _root.rpaddle._y = _root.bottomborder - (_root.rpaddle._height / 2); } if (_root.mode == "1 player") { if (_root.difficulty == "beginner") { _root.beginnerai(); } else if (_root.difficulty == "normal") { _root.normalai(); } else if (_root.difficulty == "expert") { _root.expertai(); } } else if (_root.mode == "2 player") { if (Key.isDown(_root.upkey2)) { _root.lpaddle._y = _root.lpaddle._y - _root.lpspeed; } else if (Key.isDown(_root.downkey2)) { _root.lpaddle._y = _root.lpaddle._y + _root.lpspeed; } if ((_root.lpaddle._y - (_root.lpaddle._height / 2)) < _root.topborder) { _root.lpaddle._y = (_root.lpaddle._height / 2) + _root.topborder; } else if ((_root.lpaddle._y + (_root.lpaddle._height / 2)) > _root.bottomborder) { _root.lpaddle._y = _root.bottomborder - (_root.lpaddle._height / 2); } } if ((_root.lpaddle._y - (_root.lpaddle._height / 2)) < _root.topborder) { _root.lpaddle._y = (_root.lpaddle._height / 2) + _root.topborder; } else if ((_root.lpaddle._y + (_root.lpaddle._height / 2)) > _root.bottomborder) { _root.lpaddle._y = _root.bottomborder - (_root.lpaddle._height / 2); } if (_root.mode == "1 player") { if (_root.lhealth <= 0) { _root.ailevel = _root.ailevel + 1; _root.reset(); if (_root.difficulty == "beginner") { _root.addition = 100; } else if (_root.difficulty == "normal") { _root.addition = 200; } else if (_root.difficulty == "expert") { _root.addition = 300; } _root.gamedisplay.gotoAndPlay("gj"); } if (_root.rhealth <= 0) { _root.reset(); _root.subtract = 100; _root.gamedisplay.gotoAndPlay("ta"); } } else if (_root.mode == "2 player") { if (_root.lhealth <= 0) { _root.reset(); _root.gamedisplay.gotoAndPlay("gj"); _root.winplayer = "Player 1"; _root.player1win++; _root.scoretxt = ((" " + _root.player2win) + " - ") + _root.player1win; } if (_root.rhealth <= 0) { _root.reset(); _root.gamedisplay.gotoAndPlay("gj"); _root.winplayer = "Player 2"; _root.player2win++; _root.scoretxt = ((" " + _root.player2win) + " - ") + _root.player1win; } } if (_root.bulletarray.length > 0) { _root.bulletmovement(); } } }
Symbol 11 MovieClip [spark] Frame 1
direction = random(4); this._rotation = direction * 90; trace(direction);
Symbol 11 MovieClip [spark] Frame 6
if (direction == 0) { this._x = this._x + 27; } else if (direction == 1) { this._y = this._y + 27; } else if (direction == 2) { this._x = this._x - 27; } else if (direction == 3) { this._y = this._y - 27; } if ((((this._x < -5) or (this._x > 453)) or (this._y < -5)) or (this._y > 318)) { this.removeMovieClip(); trace("remove sparky"); } gotoAndPlay (1);
Symbol 44 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.diffdir == "forward") { if (_root.maindisplay.difficulty._currentframe < _root.maindisplay.difficulty._totalframes) { _root.maindisplay.difficulty.nextFrame(); } else { _root.maindisplay.difficulty.gotoAndStop(1); _root.maindisplay.difficulty.text1.first = _root.maindisplay.difficulty.text2.first; _root.diffdir = "hold"; } } else if (_root.diffdir == "back") { if (_root.maindisplay.difficulty._currentframe > 1) { _root.maindisplay.difficulty.prevFrame(); } else { _root.maindisplay.difficulty.gotoAndStop(1); _root.maindisplay.difficulty.text2.first = _root.maindisplay.difficulty.text1.first; _root.diffdir = "hold"; } } }
Symbol 48 MovieClip Frame 1
stop();
Instance of Symbol 43 MovieClip in Symbol 48 MovieClip Frame 1
onClipEvent (enterFrame) { if (_root.modedir == "forward") { if (_root.maindisplay.mode._currentframe < _root.maindisplay.mode._totalframes) { _root.maindisplay.mode.nextFrame(); } else { _root.maindisplay.mode.gotoAndStop(1); _root.maindisplay.mode.text1.first = _root.maindisplay.mode.text2.first; _root.modedir = "hold"; } } else if (_root.modedir == "back") { if (_root.maindisplay.mode._currentframe > 1) { _root.maindisplay.mode.prevFrame(); } else { _root.maindisplay.mode.gotoAndStop(1); _root.maindisplay.mode.text2.first = _root.maindisplay.mode.text1.first; _root.modedir = "hold"; } } }
Symbol 52 Button
on (rollOver) { _root.rover.stop(); _root.rover.start(); } on (release) { if (_root.difficulty == "beginner") { _root.pu1._xscale = (_root.pu2._xscale = (_root.pu3._xscale = (_root.pu4._xscale = 140))); _root.ailevel = 8; } else if (_root.difficulty == "normal") { _root.pu1._xscale = (_root.pu2._xscale = (_root.pu3._xscale = (_root.pu4._xscale = 100))); _root.ailevel = 9; } else if (_root.difficulty == "expert") { _root.pu1._xscale = (_root.pu2._xscale = (_root.pu3._xscale = (_root.pu4._xscale = 70))); _root.ailevel = 10; } _root.reset(); _root.maindisplay.gotoAndStop("blank"); _root.gamedisplay.gotoAndPlay("cd"); if (_root.mode == "1 player") { _root.scoretxt = (_root.score = 0); trace("RESET SCORE"); } else if (_root.mode == "2 player") { _root.player1win = (_root.player2win = 0); _root.scoretxt = ((" " + _root.player2win) + " - ") + _root.player1win; } _root.menubtn.enabled = true; }
Symbol 55 Button
on (release) { _root.maindisplay.gotoAndStop("instructions"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 58 Button
on (release) { _root.maindisplay.gotoAndStop("options"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 61 Button
on (release) { _root.maindisplay.gotoAndStop("controls"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 64 Button
on (release) { _root.maindisplay.gotoAndStop("highscore"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 68 Button
on (release) { getURL ("http://www.funflashgames.com", "_blank"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 71 Button
on (release) { getURL ("http://www.funflashgames.com/freecontent.html", "_blank"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 98 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 127 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "upkey1"; _root.maindisplay.upkey1 = ""; }
Symbol 129 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "downkey1"; _root.maindisplay.downkey1 = ""; }
Symbol 130 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "launchkey1"; _root.maindisplay.launchkey1 = ""; }
Symbol 131 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w1key1"; _root.maindisplay.w1key1 = ""; }
Symbol 132 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w2key1"; _root.maindisplay.w2key1 = ""; }
Symbol 133 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w3key1"; _root.maindisplay.w3key1 = ""; }
Symbol 134 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "upkey2"; _root.maindisplay.upkey2 = ""; }
Symbol 135 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "downkey2"; _root.maindisplay.downkey2 = ""; }
Symbol 136 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "launchkey2"; _root.maindisplay.launchkey2 = ""; }
Symbol 137 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w1key2"; _root.maindisplay.w1key2 = ""; }
Symbol 138 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w2key2"; _root.maindisplay.w2key2 = ""; }
Symbol 139 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "w3key2"; _root.maindisplay.w3key2 = ""; }
Symbol 140 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "pausekey"; _root.maindisplay.pausekey = ""; }
Symbol 141 Button
on (release) { if (_root.selectkey == true) { if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey1) { _root.maindisplay.upkey1 = "UP"; _root.rup = 38; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey1) { _root.maindisplay.downkey1 = "DOWN"; _root.rdown = 40; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey1) { _root.maindisplay.launchkey1 = "LEFT"; _root.rlaunch = 37; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key1) { _root.maindisplay.w1key1 = "J"; _root.rfire1 = 74; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key1) { _root.maindisplay.w2key1 = "K"; _root.rfire2 = 75; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key1) { _root.maindisplay.w3key1 = "L"; _root.rfire3 = 76; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.upkey2) { _root.maindisplay.upkey2 = "Q"; _root.lup = 81; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.downkey2) { _root.maindisplay.downkey2 = "A"; _root.ldown = 65; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.launchkey2) { _root.maindisplay.launchkey2 = "S"; _root.llaunch = 83; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w1key2) { _root.maindisplay.w1key2 = "X"; _root.lfire1 = 88; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w2key2) { _root.maindisplay.w2key2 = "C"; _root.lfire2 = 67; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.w3key2) { _root.maindisplay.w3key2 = "V"; _root.lfire3 = 86; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.pausekey) { _root.maindisplay.pausekey = "P"; _root.pausekey = 80; } if (_root.maindisplay[_root.whichkey] == _root.maindisplay.musickey) { _root.maindisplay.pausekey = "O"; _root.musickey = 79; } } _root.selectkey = true; _root.whichkey = "musickey"; _root.maindisplay.musickey = ""; }
Symbol 142 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 149 Button
on (release) { if (_root.maindisplay.difficulty.text2.first == "beginner") { _root.maindisplay.difficulty.text1.first = "expert"; _root.difficulty = "expert"; } else if (_root.maindisplay.difficulty.text2.first == "expert") { _root.maindisplay.difficulty.text1.first = "normal"; _root.difficulty = "normal"; } else if (_root.maindisplay.difficulty.text2.first == "normal") { _root.maindisplay.difficulty.text1.first = "beginner"; _root.difficulty = "beginner"; } _root.diffdir = "back"; _root.maindisplay.difficulty.gotoAndStop("last"); } on (rollOver) { _root.rover2.stop(); _root.rover2.start(); }
Symbol 150 Button
on (release) { if (_root.maindisplay.difficulty.text1.first == "beginner") { _root.maindisplay.difficulty.text2.first = "normal"; _root.difficulty = "normal"; } else if (_root.maindisplay.difficulty.text1.first == "normal") { _root.maindisplay.difficulty.text2.first = "expert"; _root.difficulty = "expert"; } else if (_root.maindisplay.difficulty.text1.first == "expert") { _root.maindisplay.difficulty.text2.first = "beginner"; _root.difficulty = "beginner"; } _root.diffdir = "forward"; } on (rollOver) { _root.rover2.stop(); _root.rover2.start(); }
Symbol 151 Button
on (release) { if (_root.maindisplay.mode.text2.first == "1 player") { _root.maindisplay.mode.text1.first = "2 player"; _root.mode = "2 player"; } else if (_root.maindisplay.mode.text2.first == "2 player") { _root.maindisplay.mode.text1.first = "1 player"; _root.mode = "1 player"; } _root.modedir = "back"; _root.maindisplay.mode.gotoAndStop("last"); } on (rollOver) { _root.rover2.stop(); _root.rover2.start(); }
Symbol 152 Button
on (release) { if (_root.maindisplay.mode.text1.first == "1 player") { _root.maindisplay.mode.text2.first = "2 player"; _root.mode = "2 player"; } else if (_root.maindisplay.mode.text1.first == "2 player") { _root.maindisplay.mode.text2.first = "1 player"; _root.mode = "1 player"; } _root.modedir = "forward"; } on (rollOver) { _root.rover2.stop(); _root.rover2.start(); }
Symbol 160 Button
on (rollOver) { _root.rover.stop(); _root.rover.start(); } on (release) { name = _root.maindisplay.sn; score = _root.score; _root.maindisplay.gotoAndPlay("process"); }
Symbol 198 MovieClip Frame 1
stop(); _root.maindisplay.difficulty._visible = false; _root.maindisplay.mode._visible = false;
Symbol 198 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 3
stop();
Instance of Symbol 43 MovieClip in Symbol 198 MovieClip Frame 3
onClipEvent (load) { letterkeys = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"); numberkeys = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9"); numpadkeys = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"); functionkeys = new Array("F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"); otherkeys = new Array("Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"); } onClipEvent (keyDown) { if (_root.selectkey == true) { _root.selectkey = false; _root.customcontrols = true; pressed = Key.getCode(); trace(pressed); _root[_root.whichkey] = pressed; if ((pressed >= 65) and (pressed <= 90)) { _root.maindisplay[_root.whichkey] = letterkeys[pressed - 65]; } if ((pressed >= 48) and (pressed <= 57)) { _root.maindisplay[_root.whichkey] = numberkeys[pressed - 48]; } if ((pressed >= 96) and (pressed <= 111)) { _root.maindisplay[_root.whichkey] = numpadkeys[pressed - 96]; } if ((pressed >= 112) and (pressed <= 123)) { _root.maindisplay[_root.whichkey] = functionkeys[pressed - 112]; } if ((pressed >= 32) and (pressed <= 40)) { _root.maindisplay[_root.whichkey] = otherkeys[pressed - 32]; } if (pressed == 8) { _root.maindisplay[_root.whichkey] = "BackSpace"; } if (pressed == 9) { _root.maindisplay[_root.whichkey] = "Tab"; } if (pressed == 12) { _root.maindisplay[_root.whichkey] = "Clear"; } if (pressed == 13) { _root.maindisplay[_root.whichkey] = "Enter"; } if (pressed == 16) { _root.maindisplay[_root.whichkey] = "Shift"; } if (pressed == 17) { _root.maindisplay[_root.whichkey] = "Control"; } if (pressed == 18) { _root.maindisplay[_root.whichkey] = "Alt"; } if (pressed == 20) { _root.maindisplay[_root.whichkey] = "Caps Lock"; } if (pressed == 27) { _root.maindisplay[_root.whichkey] = "Esc"; } if (pressed == 45) { _root.maindisplay[_root.whichkey] = "Insert"; } if (pressed == 46) { _root.maindisplay[_root.whichkey] = "Delete"; } if (pressed == 47) { _root.maindisplay[_root.whichkey] = "help"; } if (pressed == 144) { _root.maindisplay[_root.whichkey] = "Num Lock"; } if (pressed == 186) { _root.maindisplay[_root.whichkey] = ";:"; } if (pressed == 187) { _root.maindisplay[_root.whichkey] = "=+"; } if (pressed == 189) { _root.maindisplay[_root.whichkey] = "-_"; } if (pressed == 191) { _root.maindisplay[_root.whichkey] = "/?"; } if (pressed == 192) { _root.maindisplay[_root.whichkey] = "'@"; } if (pressed == 219) { _root.maindisplay[_root.whichkey] = "[{"; } if (pressed == 220) { _root.maindisplay[_root.whichkey] = "\\|"; } if (pressed == 221) { _root.maindisplay[_root.whichkey] = "]}"; } } }
Symbol 198 MovieClip Frame 4
stop(); _root.maindisplay.difficulty._visible = true; _root.maindisplay.mode._visible = true;
Symbol 198 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 6
stop(); _root.maindisplay.fscore = _root.score;
Symbol 198 MovieClip Frame 7
scoretable.filename = "battlepong/highscores.sco"; scoretable.scoresize = 10; scoretable.action = "INSERT"; scoretable.viewtype = "FLASH"; scoretable.winname = name; scoretable.winscore = score; scoretable.loadVariables("battlepong.php", "GET");
Symbol 198 MovieClip Frame 17
stop(); scoretable.filename = "battlepong/highscores.sco"; scoretable.scoresize = 10; scoretable.action = "VIEW"; scoretable.viewtype = "FLASH"; scoretable.winname = name; scoretable.winscore = score; scoretable.loadVariables("battlepong.php", "GET"); _root.maindisplay.fscore = _root.score;
Symbol 206 MovieClip Frame 1
function setValue(v) { mv = (v / 100) * 144; } var mv = 0;
Instance of Symbol 205 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) { if (_parent.thebar._x < _parent.mv) { if ((_parent.mv - _parent.thebar._x) >= 2) { _parent.thebar._x = _parent.thebar._x + 2; } else { _parent.thebar._x++; } } }
Symbol 210 MovieClip Frame 4
tb = getBytesTotal(); lb = getBytesLoaded(); v = int((lb / tb) * 100); thebar.setValue(v); if (lb < tb) { gotoAndPlay(_currentframe - 1); } else if (thebar.mv == thebar.thebar._x) { play(); } else { gotoAndPlay(_currentframe - 1); }
Symbol 210 MovieClip Frame 88
_root.gotoAndStop("game");
Symbol 217 MovieClip Frame 1
stop(); _root.bgpicture = "wire";
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 228 MovieClip Frame 3
stop();
Symbol 228 MovieClip Frame 4
stop();
Symbol 228 MovieClip Frame 5
stop();
Symbol 228 MovieClip Frame 6
stop();
Symbol 228 MovieClip Frame 7
stop();
Symbol 228 MovieClip Frame 8
stop();
Symbol 228 MovieClip Frame 9
stop();
Symbol 228 MovieClip Frame 10
stop();
Symbol 228 MovieClip Frame 11
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 269 Button
on (release) { _root.gamedisplay.gotoAndPlay("tayes"); _root.score = _root.score - 100; _root.scoretxt = _root.score; }
Symbol 270 Button
on (release) { _root.gamedisplay.gotoAndStop("blank"); _root.maindisplay.gotoAndStop("submit"); }
Symbol 275 MovieClip Frame 1
stop(); _root.number = "3";
Symbol 275 MovieClip Frame 2
if (_root.mode == "1 player") { good.txt = ("+" + _root.addition) + " Points"; if (_root.difficulty == "beginner") { _root.score = _root.score + 100; _root.scoretxt = _root.score; } else if (_root.difficulty == "normal") { _root.score = _root.score + 200; _root.scoretxt = _root.score; } else if (_root.difficulty == "expert") { _root.score = _root.score + 300; _root.scoretxt = _root.score; } } else { good.txt = _root.winplayer; }
Symbol 275 MovieClip Frame 30
_root.gamedisplay.gotoAndStop("blank"); _root.gameplay = true;
Symbol 275 MovieClip Frame 31
tryagain.txt = ("-" + _root.subtract) + " Points";
Symbol 275 MovieClip Frame 43
stop();
Symbol 275 MovieClip Frame 58
_root.gamedisplay.gotoAndStop("blank"); _root.gameplay = true;
Symbol 275 MovieClip Frame 59
countdown.txt = _root.number;
Symbol 275 MovieClip Frame 70
if (_root.number == "3") { _root.number = "2"; _root.gamedisplay.gotoAndPlay("cd"); } else if (_root.number == "2") { _root.number = "1"; _root.gamedisplay.gotoAndPlay("cd"); } else if (_root.number == "1") { _root.number = "GO!"; _root.gamedisplay.gotoAndPlay("cd"); } else if (_root.number == "GO!") { _root.gamedisplay.gotoAndPlay("blank"); _root.gameplay = true; }
Symbol 275 MovieClip Frame 79
stop();
Symbol 275 MovieClip Frame 86
_root.gamedisplay.gotoAndStop("blank");
Symbol 278 Button
on (rollOver) { _root.rover.stop(); _root.rover.start(); } on (release) { _root.reset(); _root.maindisplay.gotoAndStop("title"); _root.menubtn.enabled = false; _root.pause = false; if (_root.globalsoundcontrol == "play") { _root.fade = "in"; } }

Library Items

Symbol 1 Sound [fire]
Symbol 2 Sound [sidehit]
Symbol 3 Sound [thump]
Symbol 4 Sound [power]
Symbol 5 Sound [loop]
Symbol 6 Sound [rover]
Symbol 7 Sound [phit]
Symbol 8 Sound [rover2]
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:11
Symbol 11 MovieClip [spark]Uses:10
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClip [pychange]Uses:13Used by:198 228
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 MovieClip [homing]Uses:16Used by:198 228
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClip [gun]Uses:19Used by:198 228
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClip [speed]Uses:22Used by:198 228
Symbol 24 BitmapUsed by:25 27
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClip [smaller]Uses:25Used by:198 228
Symbol 27 GraphicUses:24Used by:28
Symbol 28 MovieClip [bigger]Uses:27Used by:198 228
Symbol 29 GraphicUsed by:198
Symbol 30 BitmapUsed by:31 153
Symbol 31 GraphicUses:30Used by:198
Symbol 32 GraphicUsed by:198
Symbol 33 FontUsed by:34 35 36 38 45 50 51 53 54 56 57 59 60 62 63 65 67 69 70 74 76 79 80 81 82 83 90 91 92 93 94 95 96 97 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 143 144 145 154 155 156 157 158 159 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 182 183 184 185 186 187 188 189 190 191 192 193 196 197 247 253 256 257 258 259 260 261 262 263 265 266 267 271 273 276 277
Symbol 34 TextUses:33Used by:198
Symbol 35 TextUses:33Used by:198
Symbol 36 TextUses:33Used by:198
Symbol 37 GraphicUsed by:44 48 199
Symbol 38 EditableTextUses:33Used by:39
Symbol 39 MovieClipUses:38Used by:44
Symbol 40 GraphicUsed by:44
Symbol 41 FontUsed by:42 280
Symbol 42 EditableTextUses:41Used by:43
Symbol 43 MovieClipUses:42Used by:44 48 198  Timeline
Symbol 44 MovieClipUses:37 39 40 43Used by:198
Symbol 45 EditableTextUses:33Used by:46
Symbol 46 MovieClipUses:45Used by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:37 46 47 43Used by:198
Symbol 49 GraphicUsed by:52 55 58 61 64 160 278
Symbol 50 TextUses:33Used by:52
Symbol 51 TextUses:33Used by:52
Symbol 52 ButtonUses:49 50 51Used by:198
Symbol 53 TextUses:33Used by:55 198
Symbol 54 TextUses:33Used by:55
Symbol 55 ButtonUses:49 53 54Used by:198
Symbol 56 TextUses:33Used by:58 198
Symbol 57 TextUses:33Used by:58
Symbol 58 ButtonUses:49 56 57Used by:198
Symbol 59 TextUses:33Used by:61 198
Symbol 60 TextUses:33Used by:61
Symbol 61 ButtonUses:49 59 60Used by:198
Symbol 62 TextUses:33Used by:64
Symbol 63 TextUses:33Used by:64
Symbol 64 ButtonUses:49 62 63Used by:198
Symbol 65 TextUses:33Used by:68
Symbol 66 GraphicUsed by:68 71 98 142
Symbol 67 TextUses:33Used by:68
Symbol 68 ButtonUses:65 66 67Used by:198
Symbol 69 TextUses:33Used by:71
Symbol 70 TextUses:33Used by:71
Symbol 71 ButtonUses:69 66 70Used by:198
Symbol 72 GraphicUsed by:198
Symbol 73 GraphicUsed by:198
Symbol 74 TextUses:33Used by:198
Symbol 75 GraphicUsed by:198
Symbol 76 TextUses:33Used by:198
Symbol 77 FontUsed by:78 194 195 255
Symbol 78 TextUses:77Used by:198
Symbol 79 TextUses:33Used by:198
Symbol 80 TextUses:33Used by:198
Symbol 81 TextUses:33Used by:198
Symbol 82 TextUses:33Used by:198
Symbol 83 TextUses:33Used by:198
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:86
Symbol 86 MovieClipUses:85Used by:89  Timeline
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:89
Symbol 89 MovieClipUses:86 88Used by:198 228
Symbol 90 TextUses:33Used by:198
Symbol 91 TextUses:33Used by:198
Symbol 92 TextUses:33Used by:198
Symbol 93 TextUses:33Used by:198
Symbol 94 TextUses:33Used by:198
Symbol 95 TextUses:33Used by:198
Symbol 96 TextUses:33Used by:98 142
Symbol 97 TextUses:33Used by:98 142
Symbol 98 ButtonUses:66 96 97Used by:198
Symbol 99 GraphicUsed by:198
Symbol 100 TextUses:33Used by:198
Symbol 101 TextUses:33Used by:198
Symbol 102 TextUses:33Used by:198
Symbol 103 TextUses:33Used by:198
Symbol 104 TextUses:33Used by:198
Symbol 105 TextUses:33Used by:198
Symbol 106 TextUses:33Used by:198
Symbol 107 TextUses:33Used by:198
Symbol 108 TextUses:33Used by:198
Symbol 109 TextUses:33Used by:198
Symbol 110 EditableTextUses:33Used by:198
Symbol 111 EditableTextUses:33Used by:198
Symbol 112 EditableTextUses:33Used by:198
Symbol 113 EditableTextUses:33Used by:198
Symbol 114 EditableTextUses:33Used by:198
Symbol 115 EditableTextUses:33Used by:198
Symbol 116 TextUses:33Used by:198
Symbol 117 TextUses:33Used by:198
Symbol 118 EditableTextUses:33Used by:198
Symbol 119 EditableTextUses:33Used by:198
Symbol 120 EditableTextUses:33Used by:198
Symbol 121 EditableTextUses:33Used by:198
Symbol 122 EditableTextUses:33Used by:198
Symbol 123 EditableTextUses:33Used by:198
Symbol 124 EditableTextUses:33Used by:198
Symbol 125 EditableTextUses:33Used by:198
Symbol 126 GraphicUsed by:127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 269 270
Symbol 127 ButtonUses:126Used by:198
Symbol 128 ButtonUses:126Used by:198
Symbol 129 ButtonUses:126Used by:198
Symbol 130 ButtonUses:126Used by:198
Symbol 131 ButtonUses:126Used by:198
Symbol 132 ButtonUses:126Used by:198
Symbol 133 ButtonUses:126Used by:198
Symbol 134 ButtonUses:126Used by:198
Symbol 135 ButtonUses:126Used by:198
Symbol 136 ButtonUses:126Used by:198
Symbol 137 ButtonUses:126Used by:198
Symbol 138 ButtonUses:126Used by:198
Symbol 139 ButtonUses:126Used by:198
Symbol 140 ButtonUses:126Used by:198
Symbol 141 ButtonUses:126Used by:198
Symbol 142 ButtonUses:66 96 97Used by:198
Symbol 143 TextUses:33Used by:198
Symbol 144 TextUses:33Used by:198
Symbol 145 TextUses:33Used by:198
Symbol 146 GraphicUsed by:149 150 151 152
Symbol 147 GraphicUsed by:149 150 151 152
Symbol 148 GraphicUsed by:149 150 151 152
Symbol 149 ButtonUses:146 147 148Used by:198
Symbol 150 ButtonUses:146 147 148Used by:198
Symbol 151 ButtonUses:146 147 148Used by:198
Symbol 152 ButtonUses:146 147 148Used by:198
Symbol 153 GraphicUses:30Used by:198
Symbol 154 TextUses:33Used by:198
Symbol 155 EditableTextUses:33Used by:198
Symbol 156 TextUses:33Used by:198
Symbol 157 EditableTextUses:33Used by:198
Symbol 158 TextUses:33Used by:160
Symbol 159 TextUses:33Used by:160
Symbol 160 ButtonUses:49 158 159Used by:198
Symbol 161 EditableTextUses:33Used by:181
Symbol 162 EditableTextUses:33Used by:181
Symbol 163 EditableTextUses:33Used by:181
Symbol 164 EditableTextUses:33Used by:181
Symbol 165 EditableTextUses:33Used by:181
Symbol 166 EditableTextUses:33Used by:181
Symbol 167 EditableTextUses:33Used by:181
Symbol 168 EditableTextUses:33Used by:181
Symbol 169 EditableTextUses:33Used by:181
Symbol 170 EditableTextUses:33Used by:181
Symbol 171 EditableTextUses:33Used by:181
Symbol 172 EditableTextUses:33Used by:181
Symbol 173 EditableTextUses:33Used by:181
Symbol 174 EditableTextUses:33Used by:181
Symbol 175 EditableTextUses:33Used by:181
Symbol 176 EditableTextUses:33Used by:181
Symbol 177 EditableTextUses:33Used by:181
Symbol 178 EditableTextUses:33Used by:181
Symbol 179 EditableTextUses:33Used by:181
Symbol 180 EditableTextUses:33Used by:181
Symbol 181 MovieClipUses:161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180Used by:198
Symbol 182 TextUses:33Used by:198
Symbol 183 TextUses:33Used by:198
Symbol 184 TextUses:33Used by:198
Symbol 185 TextUses:33Used by:198
Symbol 186 TextUses:33Used by:198
Symbol 187 TextUses:33Used by:198
Symbol 188 TextUses:33Used by:198
Symbol 189 TextUses:33Used by:198
Symbol 190 TextUses:33Used by:198
Symbol 191 TextUses:33Used by:198
Symbol 192 TextUses:33Used by:198
Symbol 193 TextUses:33Used by:198
Symbol 194 TextUses:77Used by:198
Symbol 195 TextUses:77Used by:198
Symbol 196 TextUses:33Used by:198
Symbol 197 EditableTextUses:33Used by:198
Symbol 198 MovieClipUses:29 31 32 34 35 36 44 48 52 55 58 61 64 68 71 72 73 74 75 53 76 78 79 28 80 26 81 23 82 83 89 90 91 20 92 93 17 94 95 98 14 99 100 101 59 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 43 143 144 145 56 149 150 151 152 153 154 155 156 157 160 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197Used by:Timeline
Symbol 199 MovieClipUses:37Used by:210
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:206
Symbol 202 GraphicUsed by:206
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClipUses:203Used by:206
Symbol 205 MovieClipUsed by:206
Symbol 206 MovieClipUses:201 202 204 205Used by:210
Symbol 207 GraphicUsed by:210
Symbol 208 FontUsed by:209
Symbol 209 TextUses:208Used by:210
Symbol 210 MovieClipUses:199 206 207 209Used by:Timeline
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:Timeline
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:217
Symbol 215 GraphicUsed by:216
Symbol 216 MovieClipUses:215Used by:217
Symbol 217 MovieClipUses:214 216Used by:Timeline
Symbol 218 BitmapUsed by:219
Symbol 219 GraphicUses:218Used by:Timeline
Symbol 220 BitmapUsed by:221
Symbol 221 GraphicUses:220Used by:222
Symbol 222 MovieClipUses:221Used by:Timeline
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:228
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:228
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:224 226 28 26 89 23 20 17 227 14Used by:Timeline
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:231
Symbol 231 MovieClipUses:230Used by:232
Symbol 232 MovieClipUses:231Used by:Timeline
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:241
Symbol 235 BitmapUsed by:236 239
Symbol 236 GraphicUses:235Used by:241
Symbol 237 BitmapUsed by:238 240
Symbol 238 GraphicUses:237Used by:241
Symbol 239 GraphicUses:235Used by:241
Symbol 240 GraphicUses:237Used by:241
Symbol 241 MovieClipUses:234 236 238 239 240Used by:242
Symbol 242 MovieClipUses:241Used by:Timeline
Symbol 243 BitmapUsed by:244 245
Symbol 244 GraphicUses:243Used by:246
Symbol 245 GraphicUses:243Used by:246
Symbol 246 MovieClipUses:244 245Used by:Timeline
Symbol 247 EditableTextUses:33Used by:Timeline
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:252 254
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:252 254
Symbol 252 MovieClipUses:249 251Used by:Timeline
Symbol 253 EditableTextUses:33Used by:Timeline
Symbol 254 MovieClipUses:249 251Used by:Timeline
Symbol 255 TextUses:77Used by:Timeline
Symbol 256 TextUses:33Used by:Timeline
Symbol 257 TextUses:33Used by:Timeline
Symbol 258 TextUses:33Used by:Timeline
Symbol 259 TextUses:33Used by:Timeline
Symbol 260 TextUses:33Used by:Timeline
Symbol 261 EditableTextUses:33Used by:Timeline
Symbol 262 TextUses:33Used by:264
Symbol 263 EditableTextUses:33Used by:264
Symbol 264 MovieClipUses:262 263Used by:275
Symbol 265 TextUses:33Used by:268
Symbol 266 EditableTextUses:33Used by:268
Symbol 267 TextUses:33Used by:268
Symbol 268 MovieClipUses:265 266 267Used by:275
Symbol 269 ButtonUses:126Used by:275
Symbol 270 ButtonUses:126Used by:275
Symbol 271 EditableTextUses:33Used by:272
Symbol 272 MovieClipUses:271Used by:275
Symbol 273 TextUses:33Used by:274
Symbol 274 MovieClipUses:273Used by:275
Symbol 275 MovieClipUses:264 268 269 270 272 274Used by:Timeline
Symbol 276 TextUses:33Used by:278
Symbol 277 TextUses:33Used by:278
Symbol 278 ButtonUses:49 276 277Used by:Timeline
Symbol 279 MovieClipUsed by:Timeline
Symbol 280 EditableTextUses:41Used by:Timeline
Symbol 281 GraphicUsed by:Timeline

Instance Names

"maindisplay"Frame 1Symbol 198 MovieClip
"stage"Frame 2Symbol 212 MovieClip
"bg"Frame 2Symbol 217 MovieClip
"pu1"Frame 2Symbol 222 MovieClip
"pu2"Frame 2Symbol 222 MovieClip
"pu3"Frame 2Symbol 222 MovieClip
"pu4"Frame 2Symbol 222 MovieClip
"lw1"Frame 2Symbol 228 MovieClip
"lw2"Frame 2Symbol 228 MovieClip
"lw3"Frame 2Symbol 228 MovieClip
"rw1"Frame 2Symbol 228 MovieClip
"rw2"Frame 2Symbol 228 MovieClip
"rw3"Frame 2Symbol 228 MovieClip
"lpaddle"Frame 2Symbol 232 MovieClip
"rpaddle"Frame 2Symbol 232 MovieClip
"ball"Frame 2Symbol 86 MovieClip
"lshock"Frame 2Symbol 242 MovieClip
"rshock"Frame 2Symbol 242 MovieClip
"music"Frame 2Symbol 246 MovieClip
"life1"Frame 2Symbol 252 MovieClip
"life2"Frame 2Symbol 254 MovieClip
"gamedisplay"Frame 2Symbol 275 MovieClip
"menubtn"Frame 2Symbol 278 Button
"thump"Frame 2Symbol 279 MovieClip
"sidehit"Frame 2Symbol 279 MovieClip
"fire"Frame 2Symbol 279 MovieClip
"power"Frame 2Symbol 279 MovieClip
"phit"Frame 2Symbol 279 MovieClip
"rover"Frame 2Symbol 279 MovieClip
"rover2"Frame 2Symbol 279 MovieClip
"loop"Frame 2Symbol 279 MovieClip
"text2"Symbol 44 MovieClip Frame 1Symbol 39 MovieClip
"text1"Symbol 44 MovieClip Frame 1Symbol 39 MovieClip
"text2"Symbol 48 MovieClip Frame 1Symbol 46 MovieClip
"text1"Symbol 48 MovieClip Frame 1Symbol 46 MovieClip
"difficulty"Symbol 198 MovieClip Frame 1Symbol 44 MovieClip
"mode"Symbol 198 MovieClip Frame 1Symbol 48 MovieClip
"a"Symbol 198 MovieClip Frame 1Symbol 52 Button
"b"Symbol 198 MovieClip Frame 1Symbol 55 Button
"d"Symbol 198 MovieClip Frame 1Symbol 58 Button
"c"Symbol 198 MovieClip Frame 1Symbol 61 Button
"e"Symbol 198 MovieClip Frame 1Symbol 64 Button
"f"Symbol 198 MovieClip Frame 1Symbol 68 Button
"g"Symbol 198 MovieClip Frame 1Symbol 71 Button
"scoretable"Symbol 198 MovieClip Frame 7Symbol 181 MovieClip
"thebar"Symbol 206 MovieClip Frame 1Symbol 204 MovieClip
"thebar"Symbol 210 MovieClip Frame 1Symbol 206 MovieClip
"effect"Symbol 217 MovieClip Frame 1Symbol 216 MovieClip
"paddle"Symbol 232 MovieClip Frame 1Symbol 231 MovieClip
"mask"Symbol 252 MovieClip Frame 1Symbol 249 MovieClip
"mask"Symbol 254 MovieClip Frame 1Symbol 249 MovieClip
"good"Symbol 275 MovieClip Frame 2Symbol 264 MovieClip
"tryagain"Symbol 275 MovieClip Frame 31Symbol 268 MovieClip
"tabtn"Symbol 275 MovieClip Frame 43Symbol 269 Button
"countdown"Symbol 275 MovieClip Frame 59Symbol 272 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "fire"
ExportAssets (56)Timeline Frame 1Symbol 2 as "sidehit"
ExportAssets (56)Timeline Frame 1Symbol 3 as "thump"
ExportAssets (56)Timeline Frame 1Symbol 4 as "power"
ExportAssets (56)Timeline Frame 1Symbol 5 as "loop"
ExportAssets (56)Timeline Frame 1Symbol 6 as "rover"
ExportAssets (56)Timeline Frame 1Symbol 7 as "phit"
ExportAssets (56)Timeline Frame 1Symbol 8 as "rover2"
ExportAssets (56)Timeline Frame 1Symbol 11 as "spark"
ExportAssets (56)Timeline Frame 1Symbol 14 as "pychange"
ExportAssets (56)Timeline Frame 1Symbol 17 as "homing"
ExportAssets (56)Timeline Frame 1Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 23 as "speed"
ExportAssets (56)Timeline Frame 1Symbol 26 as "smaller"
ExportAssets (56)Timeline Frame 1Symbol 28 as "bigger"
ExportAssets (56)Timeline Frame 1Symbol 28 as "bigger"
ExportAssets (56)Timeline Frame 1Symbol 26 as "smaller"
ExportAssets (56)Timeline Frame 1Symbol 23 as "speed"
ExportAssets (56)Timeline Frame 1Symbol 23 as "speed"
ExportAssets (56)Timeline Frame 1Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 17 as "homing"
ExportAssets (56)Timeline Frame 1Symbol 14 as "pychange"
ExportAssets (56)Timeline Frame 2Symbol 28 as "bigger"
ExportAssets (56)Timeline Frame 2Symbol 26 as "smaller"
ExportAssets (56)Timeline Frame 2Symbol 23 as "speed"
ExportAssets (56)Timeline Frame 2Symbol 23 as "speed"
ExportAssets (56)Timeline Frame 2Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 2Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 2Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 2Symbol 20 as "gun"
ExportAssets (56)Timeline Frame 2Symbol 17 as "homing"
ExportAssets (56)Timeline Frame 2Symbol 14 as "pychange"

Labels

"game"Frame 2
"last"Symbol 44 MovieClip Frame 18
"last"Symbol 48 MovieClip Frame 18
"title"Symbol 198 MovieClip Frame 1
"instructions"Symbol 198 MovieClip Frame 2
"controls"Symbol 198 MovieClip Frame 3
"options"Symbol 198 MovieClip Frame 4
"blank"Symbol 198 MovieClip Frame 5
"submit"Symbol 198 MovieClip Frame 6
"process"Symbol 198 MovieClip Frame 7
"highscore"Symbol 198 MovieClip Frame 17
"blank"Symbol 228 MovieClip Frame 1
"bigger"Symbol 228 MovieClip Frame 2
"smaller"Symbol 228 MovieClip Frame 3
"yswitch"Symbol 228 MovieClip Frame 4
"xswitch"Symbol 228 MovieClip Frame 5
"faster"Symbol 228 MovieClip Frame 6
"slower"Symbol 228 MovieClip Frame 7
"gun"Symbol 228 MovieClip Frame 8
"triple"Symbol 228 MovieClip Frame 9
"homing"Symbol 228 MovieClip Frame 10
"pychange"Symbol 228 MovieClip Frame 11
"shock"Symbol 242 MovieClip Frame 2
"on"Symbol 246 MovieClip Frame 1
"off"Symbol 246 MovieClip Frame 2
"blank"Symbol 275 MovieClip Frame 1
"gj"Symbol 275 MovieClip Frame 2
"ta"Symbol 275 MovieClip Frame 31
"tayes"Symbol 275 MovieClip Frame 44
"cd"Symbol 275 MovieClip Frame 59
"pause"Symbol 275 MovieClip Frame 71
"unpause"Symbol 275 MovieClip Frame 80

Dynamic Text Variables

firstSymbol 38 EditableText"beginner"
firstSymbol 45 EditableText"1 player"
upkey1Symbol 110 EditableText"up"
downkey1Symbol 111 EditableText"down"
launchkey1Symbol 112 EditableText"left"
w1key1Symbol 113 EditableText"J"
w2key1Symbol 114 EditableText"k"
w3key1Symbol 115 EditableText"l"
upkey2Symbol 118 EditableText"Q"
downkey2Symbol 119 EditableText"A"
launchkey2Symbol 120 EditableText"S"
w1key2Symbol 121 EditableText"x"
w2key2Symbol 122 EditableText"c"
w3key2Symbol 123 EditableText"v"
pausekeySymbol 124 EditableText"P"
musickeySymbol 125 EditableText"O"
fscoreSymbol 155 EditableText""
snSymbol 157 EditableText""
NAME0Symbol 161 EditableText"Loading"
SCORE0Symbol 162 EditableText"Loading"
NAME1Symbol 163 EditableText"Loading"
SCORE1Symbol 164 EditableText"Loading"
NAME2Symbol 165 EditableText"Loading"
SCORE2Symbol 166 EditableText"Loading"
NAME3Symbol 167 EditableText"Loading"
SCORE3Symbol 168 EditableText"Loading"
NAME4Symbol 169 EditableText"Loading"
SCORE4Symbol 170 EditableText"Loading"
NAME5Symbol 171 EditableText"Loading"
SCORE5Symbol 172 EditableText"Loading"
NAME6Symbol 173 EditableText"Loading"
SCORE6Symbol 174 EditableText"Loading"
NAME7Symbol 175 EditableText"Loading"
SCORE7Symbol 176 EditableText"Loading"
NAME8Symbol 177 EditableText"Loading"
SCORE8Symbol 178 EditableText"Loading"
NAME9Symbol 179 EditableText"Loading"
SCORE9Symbol 180 EditableText"Loading"
fscoreSymbol 197 EditableText""
lplayerSymbol 247 EditableText""
rplayerSymbol 253 EditableText""
scoretxtSymbol 261 EditableText"0"
txtSymbol 263 EditableText""
txtSymbol 266 EditableText""
txtSymbol 271 EditableText""




http://swfchan.com/6/25838/info.shtml
Created: 23/5 -2019 07:49:09 Last modified: 23/5 -2019 07:49:09 Server time: 17/05 -2024 21:22:14