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

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

Battle Pong.swf

This is the info page for
Flash #42633

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


Text
L o a d i n g   G a m e :

s k i p

P r e s e n t s . . .

b a t t l e   p o n g !

S o u n d s   p r o v i d e d   b y :
w w w . f l a s h k i t . c o m
s o u n d   l o o p   b y :
N e m o
" . : . : H a p p y   E x t : . : .   "
S p e c i a l   t h a n k s   t o   t h e
p e o p l e   a t   f l a s h k i t   f o r   t h e i r
s u p p o r t

M e n u

m e n u

H e a l t h

W e a p o n s

1

2

3

S c o r e :

0

G o o d   J o b !

T r y   a g a i n ?

S u b m i t   s c o r e

P a u s e d

B a t t l e   p o n g

B a t t l e   p o n g

t h e   n e w   g e n e r a t i o n   o f   p o n g

N e w   G a m e

N e w   G a m e

I n s t r u c t i o n s

i n s t r u c t i o n s

c o n t r o l s

c o n t r o l s

I n s t r u c t i o n s

T h e   p o i n t   o f   t h i s   g a m e   i s   t o   d e s t r o y   t h e   o p p o n e n t .   t o   d o   s o ,
y o u   m u s t   h i t   t h e   s h i e l d   b e h i n d   y o u r   o p p o n e n t   w h i l e   p r o t e c t i n g
y o u r   s h i e l d . T h e   p o s i t i o n   t h e   b a l l   h i t s   y o u r   p a d d l e   w i l l
d e t e r m i n e   t h e   a n g l e   o f   t h e   b a l l .

p o w e r - u p s

r e c e i v e   p o w e r - u p s   b y   h i t t i n g   t h e   b l u e   p a n e l s   o n   t h e   s i d e
w a l l s .   u s e   t h e s e   w e a p o n s   b y   p r e s s i n g   t h e   f i r e   b u t t o n   o f   t h e
w e a p o n   s l o t .   Y o u   c a n   s h o o t   a n y   o f   t h e s e   p o w e r - u p s   w h i l e
h o l d i n g   t h e   l a u n c h   b u t t o n   ( D e f a u l t :   l e f t )   a n d   p r e s s i n g   t h e
c o r r e s p o n d i n g   f i r e   b u t t o n .

i n c r e a s e s   p a d d l e   s i z e

d e c r e a s e s   p a d d l e   s i z e

i n c r e a s e s   p a d d l e   s p e e d

d e c r e a s e s   p a d d l e   s p e e d

r e v e r s e   t h e   b a l l ' s
v e r t i c a l   d i r e c t i o n

r e v e r s e   t h e   b a l l ' s
h o r i z o n t a l   d i r e c t i o n

f i r e s   a   b u l l e t

f i r e s   3   b u l l e t s

f i r e s   h o m i n g   b u l l e t

R e v e r s e   t h e   p a d d l e
d i r e c t i o n

b a c k

b a c k

p l a y e r   1

c o n t r o l s

c l i c k   t o   c h a n g e

u p :

d o w n :

l a u n c h :

w e a p o n   1 :

w e a p o n   2 :

w e a p o n   3 :

up

down

left

J

k

l

p a u s e / u n p a u s e :

m u s i c   o n / o f f :

P

O

Actions

o p t i o n s

d i f f i c u l t y :

M o d e :

o p t i o n s

y o u r   s c o r e   i s :

s u b m i t

s u b m i t

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

Loading

p r o c e s s i n g . . .

M o r e   G a m e s

sounds

ActionScript [AS1/AS2]

Frame 1
stop(); Stage.showMenu = false; Stage.scaleMode = "noScale";
Instance of Symbol 21 MovieClip in Frame 1
onClipEvent (enterFrame) { loading = _parent.getBytesLoaded(); total = _parent.getBytesTotal(); percent = percent - ((percent - ((loading / total) * 100)) * 0.25); per = int(percent); percentage = per + "%"; loadBar._width = per; if (percent > 99) { _parent.gotoAndStop("intro"); } }
Frame 3
stop(); _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)) + 25; _root.rightBorder = (_root.stage._x + (_root.stage._width / 2)) - 25; _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))) { _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.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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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 231 MovieClip in Frame 3
onClipEvent (load) { lastside = "none"; } onClipEvent (keyDown) { if (Key.isDown(_root.musickey)) { if (_root.globalsoundcontrol == "play") { _root.globalsoundcontrol = "stop"; _root.fade = "out"; } else if (_root.globalsoundcontrol == "stop") { _root.globalsoundcontrol = "play"; _root.fade = "in"; } } 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)) { 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 (lastside != currentside) { if (_root.ball.hitTest(_root.pu3) or _root.ball.hitTest(_root.pu4)) { if (_root.xdir == -1) { trace("HIT!!!"); 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(); } } lastside = "top"; } else if (_root.ball._y > (_root.bottomBorder - (_root.ball._height / 2))) { _root.ydir = -1; currentside = "bottom"; if (lastside != currentside) { if (_root.ball.hitTest(_root.pu1) or _root.ball.hitTest(_root.pu2)) { if (_root.xdir == -1) { trace("HIT!!!"); 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(); } } 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; lastside = "none"; _root.stage.lhit.gotoAndPlay("hit"); _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; lastside = "none"; _root.stage.rhit.gotoAndPlay("hit"); _root.sidehit.stop(); _root.sidehit.start(); _root.choose = true; trace("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); } if (_root.ball.hitTest(_root.rpaddle)) { _root.choose = true; if ((_root.rpaddle._y - _root.ball._y) > 0) { _root.ydir = -1; } else if ((_root.rpaddle._y - _root.ball._y) < 0) { _root.ydir = 1; } _root.xdir = -1; _root.angle = _root.k * Math.abs(_root.rpaddle._y - _root.ball._y); lastside = "none"; _root.thump.stop(); _root.thump.start(); } if (_root.ball.hitTest(_root.lpaddle)) { if ((_root.lpaddle._y - _root.ball._y) > 0) { _root.ydir = -1; } else if ((_root.lpaddle._y - _root.ball._y) < 0) { _root.ydir = 1; } _root.xdir = 1; _root.angle = _root.ck * Math.abs(_root.lpaddle._y - _root.ball._y); trace("real angle = " + _root.angle); 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 21 MovieClip Frame 1
stop();
Symbol 33 Button
on (release) { _root.gotoAndStop("game"); }
Symbol 90 Button
on (release) { getURL ("www.flashkit.com", "_blank"); }
Symbol 91 Button
on (release) { getURL ("www.flashkit.com", "_blank"); }
Symbol 30 MovieClip Frame 281
_root.gotoAndStop("game");
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 3
stop();
Symbol 94 MovieClip Frame 4
stop();
Symbol 94 MovieClip Frame 5
stop();
Symbol 94 MovieClip Frame 6
stop();
Symbol 94 MovieClip Frame 7
stop();
Symbol 94 MovieClip Frame 8
stop();
Symbol 94 MovieClip Frame 9
stop();
Symbol 94 MovieClip Frame 10
stop();
Symbol 94 MovieClip Frame 11
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 110 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"; } }
Symbol 142 Button
on (release) { _root.gamedisplay.gotoAndPlay("tayes"); _root.score = _root.score - 100; _root.scoretxt = _root.score; }
Symbol 143 Button
on (release) { _root.gamedisplay.gotoAndStop("blank"); _root.maindisplay.gotoAndStop("submit"); }
Symbol 144 Button
on (release) { _root.gamedisplay.gotoAndPlay("tayes"); _root.score = _root.score - 100; _root.scoretxt = _root.score; }
Symbol 145 Button
on (release) { _root.gamedisplay.gotoAndStop("blank"); _root.maindisplay.gotoAndStop("submit"); }
Symbol 132 MovieClip Frame 1
stop(); _root.number = "3";
Symbol 132 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 132 MovieClip Frame 30
_root.gamedisplay.gotoAndStop("blank"); _root.gameplay = true;
Symbol 132 MovieClip Frame 31
tryagain.txt = ("-" + _root.subtract) + " Points";
Symbol 132 MovieClip Frame 43
stop();
Symbol 132 MovieClip Frame 58
_root.gamedisplay.gotoAndStop("blank"); _root.gameplay = true;
Symbol 132 MovieClip Frame 59
countdown.txt = _root.number;
Symbol 132 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 132 MovieClip Frame 79
stop();
Symbol 132 MovieClip Frame 86
_root.gamedisplay.gotoAndStop("blank");
Symbol 159 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.scoretext = (_root.score = 0); } else if (_root.mode == "2 player") { _root.player1win = (_root.player2win = 0); _root.scoretxt = ((" " + _root.player2win) + " - ") + _root.player1win; } _root.menubtn.enabled = true; }
Symbol 162 Button
on (release) { _root.maindisplay.gotoAndStop("instructions"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 165 Button
on (release) { _root.maindisplay.gotoAndStop("controls"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 168 MovieClip Frame 1
if (this.sessionstarted != 1) { this.arcade = new LoadVars(); this.sessionvars = new LoadVars(); this.arcade.gamename = "battlepong"; this.arcade.sessdo = "sessionstart"; this.arcade.sendAndLoad("arcade.php", sessionvars, "POST"); if (this.sessionvars.sessiontype != 2) { _root.is_a_challenge = 0; } else { _root.is_a_challenge = 1; } this.sessionstarted = 1; } if (_root.gameover == 1) { if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) { this.prequestvars = new LoadVars(); this.pranswer = new LoadVars(); this.prequestvars.gametime = this.sessionvars.gametime; this.prequestvars.fakekey = this.sessionvars.initbar; _root.score = int(Number(_root.score)); if (_root.score != 0) { this.prequestvars.score = _root.score; } else { this.prequestvars.score = -1; } this.prequestvars.id = this.sessionvars.lastid; this.prequestvars.sessdo = "permrequest"; this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey; this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST"); this.askpermission = 1; } if ((this.pranswer.validate == 1) && (this.finalsent != 1)) { this.burnscore = new LoadVars(); this.burnscore.microone = this.pranswer.microone; this.burnscore.gametime = this.prequestvars.gametime; this.burnscore.id = this.prequestvars.id; if (_root.score == 0) { this.burnscore.noscore = 1; } this.burnscore.sessdo = "burn"; this.burnscore.send("./arcade.php", "_self", "POST"); this.finalsent = 1; } }
Symbol 186 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.scoretext = (_root.score = 0); } else if (_root.mode == "2 player") { _root.player1win = (_root.player2win = 0); _root.scoretxt = ((" " + _root.player2win) + " - ") + _root.player1win; } _root.menubtn.enabled = true; }
Symbol 187 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 191 Button
on (release) { _root.maindisplay.gotoAndStop("instructions"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 192 Button
on (release) { _root.maindisplay.gotoAndStop("controls"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 220 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 221 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 223 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 224 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 225 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 226 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 227 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 228 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 229 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 230 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 238 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 239 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 240 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 244 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 245 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 246 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 247 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 248 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 249 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 250 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 251 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 252 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 253 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 254 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 255 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 256 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 257 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 258 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 259 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 264 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 265 Button
on (release) { _root.gameover = 1; }
Symbol 309 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 311 Button
on (release) { _root.gameover = 1; }
Symbol 314 Button
on (release) { _root.maindisplay.gotoAndStop("title"); } on (rollOver) { _root.rover.stop(); _root.rover.start(); }
Symbol 151 MovieClip Frame 1
stop(); _root.maindisplay.difficulty._visible = false; _root.maindisplay.mode._visible = false;
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Instance of Symbol 231 MovieClip in Symbol 151 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 151 MovieClip Frame 4
stop(); _root.maindisplay.difficulty._visible = true; _root.maindisplay.mode._visible = true;
Symbol 151 MovieClip Frame 5
stop();
Symbol 151 MovieClip Frame 6
stop(); _root.maindisplay.fscore = _root.score;
Symbol 151 MovieClip Frame 7
scoretable.filename = "scores/highscores.sco"; scoretable.scoresize = 10; scoretable.action = "INSERT"; scoretable.viewtype = "FLASH"; scoretable.winname = name; scoretable.winscore = score; scoretable.loadVariables("http://members.lycos.co.uk/dounanthebarb/scores.php", "GET");
Symbol 151 MovieClip Frame 17
stop(); scoretable.filename = "scores/highscores.sco"; scoretable.scoresize = 10; scoretable.action = "VIEW"; scoretable.viewtype = "FLASH"; scoretable.winname = name; scoretable.winscore = score; scoretable.loadVariables("http://members.lycos.co.uk/dounanthebarb/scores.php", "GET"); _root.maindisplay.fscore = _root.score;
Symbol 315 Button
on (release) { getURL ("http://www.synergyforums.com", "_blank"); }

Library Items

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

Instance Names

"pu1"Frame 3Symbol 92 MovieClip
"pu2"Frame 3Symbol 92 MovieClip
"pu3"Frame 3Symbol 92 MovieClip
"pu4"Frame 3Symbol 92 MovieClip
"lw1"Frame 3Symbol 94 MovieClip
"lw2"Frame 3Symbol 94 MovieClip
"lw3"Frame 3Symbol 94 MovieClip
"rw1"Frame 3Symbol 94 MovieClip
"rw2"Frame 3Symbol 94 MovieClip
"rw3"Frame 3Symbol 94 MovieClip
"lpaddle"Frame 3Symbol 102 MovieClip
"rpaddle"Frame 3Symbol 102 MovieClip
"ball"Frame 3Symbol 99 MovieClip
"stage"Frame 3Symbol 104 MovieClip
"menubtn"Frame 3Symbol 110 Button
"life1"Frame 3Symbol 116 MovieClip
"life2"Frame 3Symbol 116 MovieClip
"gamedisplay"Frame 3Symbol 132 MovieClip
"maindisplay"Frame 3Symbol 151 MovieClip
"thump"Frame 3Symbol 319 MovieClip
"sidehit"Frame 3Symbol 319 MovieClip
"fire"Frame 3Symbol 319 MovieClip
"power"Frame 3Symbol 319 MovieClip
"phit"Frame 3Symbol 319 MovieClip
"rover"Frame 3Symbol 319 MovieClip
"rover2"Frame 3Symbol 319 MovieClip
"loop"Frame 3Symbol 319 MovieClip
"loadBar"Symbol 21 MovieClip Frame 1Symbol 24 MovieClip
"paddle"Symbol 102 MovieClip Frame 1Symbol 103 MovieClip
"lhit"Symbol 104 MovieClip Frame 1Symbol 106 MovieClip
"rhit"Symbol 104 MovieClip Frame 1Symbol 106 MovieClip
"mask"Symbol 116 MovieClip Frame 1Symbol 117 MovieClip
"good"Symbol 132 MovieClip Frame 2Symbol 133 MovieClip
"tryagain"Symbol 132 MovieClip Frame 31Symbol 137 MovieClip
"countdown"Symbol 132 MovieClip Frame 59Symbol 146 MovieClip
"scoretable"Symbol 151 MovieClip Frame 7Symbol 268 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "fire"
ExportAssets (56)Timeline Frame 1Symbol 2 as "thump"
ExportAssets (56)Timeline Frame 1Symbol 3 as "power"
ExportAssets (56)Timeline Frame 1Symbol 4 as "sidehit"
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 9 as "pychange"
ExportAssets (56)Timeline Frame 1Symbol 11 as "homing"
ExportAssets (56)Timeline Frame 1Symbol 13 as "gun"
ExportAssets (56)Timeline Frame 1Symbol 15 as "speed"
ExportAssets (56)Timeline Frame 1Symbol 17 as "smaller"
ExportAssets (56)Timeline Frame 1Symbol 19 as "bigger"

Labels

"preloader"Frame 1
"intro"Frame 2
"game"Frame 3
"blank"Symbol 94 MovieClip Frame 1
"bigger"Symbol 94 MovieClip Frame 2
"smaller"Symbol 94 MovieClip Frame 3
"yswitch"Symbol 94 MovieClip Frame 4
"xswitch"Symbol 94 MovieClip Frame 5
"faster"Symbol 94 MovieClip Frame 6
"slower"Symbol 94 MovieClip Frame 7
"gun"Symbol 94 MovieClip Frame 8
"triple"Symbol 94 MovieClip Frame 9
"homing"Symbol 94 MovieClip Frame 10
"pychange"Symbol 94 MovieClip Frame 11
"hit"Symbol 106 MovieClip Frame 2
"blank"Symbol 132 MovieClip Frame 1
"gj"Symbol 132 MovieClip Frame 2
"ta"Symbol 132 MovieClip Frame 31
"tayes"Symbol 132 MovieClip Frame 44
"cd"Symbol 132 MovieClip Frame 59
"pause"Symbol 132 MovieClip Frame 71
"unpause"Symbol 132 MovieClip Frame 80
"title"Symbol 151 MovieClip Frame 1
"instructions"Symbol 151 MovieClip Frame 2
"controls"Symbol 151 MovieClip Frame 3
"options"Symbol 151 MovieClip Frame 4
"blank"Symbol 151 MovieClip Frame 5
"submit"Symbol 151 MovieClip Frame 6
"process"Symbol 151 MovieClip Frame 7
"highscore"Symbol 151 MovieClip Frame 17

Dynamic Text Variables

percentageSymbol 28 EditableText""
lplayerSymbol 115 EditableText""
rplayerSymbol 121 EditableText""
scoretxtSymbol 131 EditableText"0"
txtSymbol 136 EditableText""
txtSymbol 140 EditableText""
txtSymbol 148 EditableText""
upkey1Symbol 203 EditableText"up"
downkey1Symbol 205 EditableText"down"
launchkey1Symbol 207 EditableText"left"
w1key1Symbol 209 EditableText"J"
w2key1Symbol 211 EditableText"k"
w3key1Symbol 213 EditableText"l"
pausekeySymbol 217 EditableText"P"
musickeySymbol 219 EditableText"O"
fscoreSymbol 263 EditableText""
NAME0Symbol 270 EditableText"Loading"
SCORE0Symbol 272 EditableText"Loading"
NAME1Symbol 274 EditableText"Loading"
SCORE1Symbol 276 EditableText"Loading"
NAME2Symbol 278 EditableText"Loading"
SCORE2Symbol 280 EditableText"Loading"
NAME3Symbol 282 EditableText"Loading"
SCORE3Symbol 284 EditableText"Loading"
NAME4Symbol 286 EditableText"Loading"
SCORE4Symbol 288 EditableText"Loading"
NAME5Symbol 290 EditableText"Loading"
SCORE5Symbol 292 EditableText"Loading"
NAME6Symbol 294 EditableText"Loading"
SCORE6Symbol 296 EditableText"Loading"
NAME7Symbol 298 EditableText"Loading"
SCORE7Symbol 300 EditableText"Loading"
NAME8Symbol 302 EditableText"Loading"
SCORE8Symbol 304 EditableText"Loading"
NAME9Symbol 306 EditableText"Loading"
SCORE9Symbol 308 EditableText"Loading"
fscoreSymbol 313 EditableText""




http://swfchan.com/9/42633/info.shtml
Created: 9/5 -2019 20:49:53 Last modified: 9/5 -2019 20:49:53 Server time: 11/05 -2024 07:05:42