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

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

Mr.Dungus.swf

This is the info page for
Flash #49910

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


Text
Groovy Games inc

presents

A game based off the
character created by:

Chris and Ian arthur,
and Noah Berkowitz-Mitchell

Mr Dungus

in

Street sign defender

controls

play game

next

1 = Switch to ninja star

2 = Switch to magnum

3 = Switch to paint-ball gun

5 = Switch to cat launcher

Space bar = use item

Aim and shoot with the mouse

4 = Switch to molotov

controls:

*you have unlimited ammo
for this weapon

Shoping menu:

Click the "Weapons", "Items" and "Sign upgrades" buttons to see
different catergories of stuff to buy."

Buy weapons to help you fight against the enemies that are trying to take
your sign.

Buying different kind of items will help you in differnt ways against your
enemies.

Getting upgrades for your sign will make it become stronger. And harder
for your enemies to damage.

Battle screen:

Shows the
item you
currently
have

Shows the amount of ammo for your current
weapon

Shows
your
currrent
amount of
hit points

Shows the lives
you have

skip

it was a ordinary day for mr. dungus.
the pedestrians were walking through
the street peacefully. the cars were
moving by slowly.

yes, everything seemed  normal for
mr .dungus. until.......

mr .dungus's arch enemy, the
hand, showed up!

mr dungus! give
me your street sign!
or feel the wrath of
army!

I'll never give my sign to you!
why do you want it anyways?

because! once i take over your sign,
i'll turn your sign into a no walking
zone sign! and nobody will be able
to walk on this street again!

you monster!  i'll never give my sign to you!
even if it means  fighting you and your army!

very well then, dungus. i shall gather a
squad of soliders to come and
take over your sign! be right back!

i better go get some weapons
with the money i got
while the hand is busy !

cat launcher
and cats

cat launcher
and cats

cat launcher
and cats

magnum
and
magnum ammo

magnum
and
magnum ammo

magnum
and
magnum ammo

molotovs

molotovs

molotovs

paint ball gun
and ammo

paint ball gun
and ammo

paint ball gun
and ammo

magical
bacon

magical
bacon

magical
bacon

car of doom

car of doom

car of doom

mr.handicaped
guy

mr.handicaped
guy

mr.handicaped
guy

shield

shield

shield

sign upgrade level 1

sign upgrade level 1

sign upgrade level 1

sign upgrade level 2

sign upgrade level 2

sign upgrade level 2

sign upgrade level 3

sign upgrade level 3

sign upgrade level 3

repair sign

repair sign

repair sign

lives

lives

lives

5$ for 10 ninja stars

ninja stars: cheap, small and deadly. it's
everybody's perfect projectile weapon
to throw at people!

current ammo:

magnum: a step up from the ninja stars.
the magnum will bring you nothing but
happiness for you gun nuts out there!

15$ for weapon, 7$ for 15 bullets

current ammo:

paint ball gun: it's everybody's worst
nightmare. there's nothing more horrid
then getting shot with an automatic
gun that shoots deadly paint balls!

30$ for weapon, 12$ for 30 paint balls

molotovs: send your enemies to a fiery
grave with these exploding beer bottles
of death and destruction!

20$ for 10 molotovs

50$ for weapon, 35$ for 5 explosive cats

cat launcher: when you feel like blowing
up your enemies, and innocent cats at the
same time, this weapon is for you!

warning: you can only hold one item at a time. if you buy
a second item, your previous item will go away.

magical bacon: when someone wields this enchated
piece of cooked bacon. explosions and destruction
will happen your enemies. don't ask me why.

95$ for the bacon!

car of doom: when you use this weapon. lowrider hitler
will come to your aid! and run over all enemies on the
ground!

80$ for the german dictator

mr.handicaped guy: when you buy mr.dungus's friend,
mr.handicaped man. he'll help you fight the battle against
the hand and his minions.

100$ for mr.handicaped man

shield: buying this shield will protect you from enemy
attacks. giving you extra defense for one round.

90$ for the shield

level 1 upgrade: tired of everyone laughing at your crappy
looking sign. maybe it's time to upgrade your sign to a
stronger, better looking sign.         60$ for the level 1 upgrade

sign defense:

level 2 upgrade: do those people still think your sign still
sucks? maybe it's time to get your sign another upgrade.
get this upgrade, and your sign will be stronger then
stone!

75$ for the level 2 upgrade

level 3 upgrade: this is as good as it gets.
get this upgrade, and your sign will be almost invincible.

80$ for the level 3 upgrade

not enough money!

you already purchased that upgrade!

wanna repair your street sign because to many
people have been beating on it ? well now you can
for only 10$ for 50 hit points

street sign life:

you already have maximum life!

you need the previous upgrade!

Want another chance to kick some ass and take some names? Buy yourself another life, and
you'll get that chance!

80$ for one life

current amount of lives:

money:

items

items

items

sign upgrades

sign upgrades

sign upgrades

weapons

weapons

weapons

actions

i'm done shoping.
let's kick some ass!

i'm done shoping.
let's kick some ass!

i'm done shoping.
let's kick some ass!

level:

/20

ammo:

life:

s

game over!!

click here to try again

level

cleared!

lives:

lives:

the hand:

hehehehehe,
sucks to be you, man!

congratualations!

you just defeated
the hand and his
evil army

thanks for playing!

Programing and game design by:
Nathan meier

Music obtained by:
Newgrounds

Mr.Dungus character made by:
Chris & Ian arthur, and Noah
Berkowitz-Mitchell.

click here to play again

click here to play again

click here to play again

ActionScript [AS1/AS2]

Frame 65
stop();
Frame 69
gotoAndPlay ("2,1"); stopAllSounds();
Frame 89
stop();
Frame 146
stop();
Frame 147
stop();
Frame 148
stop();
Frame 149
stop();
Frame 150
stop();
Frame 151
stop();
Frame 152
stop();
Frame 153
stop(); money = 50; hp = 600; level = 1; item = 1; gotninja = true; gotmag = false; gotpaint = false; gotmol = false; gotcat = false; ninjas = Infinity; magammo = 0; paintammo = 0; molotovs = 0; cats = 0; signlevel = 0; defense = 1; handicap = false; defup = 3; bacon = false; deflimit = 4; lives = 2;
Frame 154
Mouse.show(); stop();
Instance of Symbol 307 MovieClip "actions" in Frame 154
/* no clip actions */
Instance of Symbol 104 MovieClip "hitler" in Frame 155
onClipEvent (load) { active = false; dx = 50; go = true; left = true; } onClipEvent (enterFrame) { if (active == true) { this._x = this._x - dx; if (go == true) { if (this._x < -600) { timetogo = 0; left = false; dx = dx * -1; this._xscale = -Math.abs(this._xscale); } if (this._x > 950) { timetogo = 0; left = true; dx = dx * -1; this._xscale = Math.abs(this._xscale); } if ((this._x == 0) and (left == false)) { _root.sounds.gotoAndStop(9); } if ((this._x == 600) and (left == true)) { _root.sounds.gotoAndStop(9); } } } }
Instance of Symbol 328 MovieClip "ground" in Frame 155
onClipEvent (load) { } onClipEvent (enterFrame) { if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) { f = 1; while (f < 4) { duplicateMovieClip (_root["mini-fire"], "newmini" + _root.bullet.mfc, _root.bullet.mfc); _root["newmini" + _root.bullet.mfc]._x = _root["newbullet" + _root.timer.bc]._x; _root["newmini" + _root.bullet.mfc]._y = _root["newbullet" + _root.timer.bc]._y; _root.bullet.mfc = _root.bullet.mfc + 1; f++; } _root.sounds.gotoAndStop(5); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) { duplicateMovieClip (_root.explo, ["newexplo" + _root.explo.ec], _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = _root["newbullet" + _root.timer.bc]._x; _root["newexplo" + _root.explo.ec]._y = _root["newbullet" + _root.timer.bc]._y; _root["newbullet" + _root.timer.bc].removeMovieClip(); _root.sounds.gotoAndStop(7); _root.explo.ec++; } i = 1; while (i < 11) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { _root["enemy" + i]._y = _root["enemy" + i]._y - 16; } i++; } if (_root.timer.gameover == false) { if (this.hitTest(_root.handi._x, _root.handi._y, true)) { _root.handi._y = _root.handi._y - 16; } } }
Instance of Symbol 342 MovieClip "arm" in Frame 155
onClipEvent (enterFrame) { if (_root.timer.gameover == false) { this._y = 175; } xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); updateAfterEvent(); }
Instance of Symbol 344 MovieClip "dungus" in Frame 155
onClipEvent (enterFrame) { if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root.arm._xscale = -Math.abs(_root.arm._yscale); _root.arm._x = this._x + 5; } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root.arm._xscale = Math.abs(_root.arm._yscale); _root.arm._x = this._x - 5; } }
Instance of Symbol 307 MovieClip "timer" in Frame 155
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (24 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (56 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (97 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = 628; _root["newenemy" + enenum]._y = 14; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (deaths == 6) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].gotoAndPlay(2); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 349 MovieClip "bullet" in Frame 155
onClipEvent (load) { spd = 35; bottom = 375; if (_root.timer.selectedweapon == 1) { spd = 35; } if (_root.timer.selectedweapon == 2) { spd = 50; } if (_root.timer.selectedweapon == 3) { spd = 60; } if (_root.timer.selectedweapon == 4) { spd = 35; } if (_root.timer.selectedweapon == 5) { spd = 50; } _x = _root.arm._x; _y = _root.arm._y; mfc = 1; _rotation = _root.arm._rotation; } onClipEvent (enterFrame) { if (_name == "bullet") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } i = 200; while (i < 300) { if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 1)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 2)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 3)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 4)) and (_root["newenemy" + i].dead == false)) { _root.fire.fc++; duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = _root["newenemy" + i]._x; _root["newfire" + _root.fire.fc]._y = _root["newenemy" + i]._y; _root["newenemy" + i].life = _root["newenemy" + i].life - 2; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 5)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root["newbullet" + _root.timer.bc].removeMovieClip(); } i++; } } }
Instance of Symbol 351 MovieClip in Frame 155
onClipEvent (enterFrame) { this.gotoAndStop(_root.item); }
Instance of Symbol 167 MovieClip "fire" in Frame 155
onClipEvent (load) { fc = 800; hurtrate = 12; firelife = 70; } onClipEvent (enterFrame) { if (fc == 810) { fc = 800; } firelife--; hurtrate++; if (hurtrate >= 12) { hurtrate = 12; } this._y = this._y + 10; if (this._y > _root.ground._y) { this._y = _root.ground._y; } if (firelife == 0) { this.removeMovieClip(); } }
Instance of Symbol 167 MovieClip "mini-fire" in Frame 155
onClipEvent (load) { gravity = 10; direct = int((Math.random() * 10) - 5); jumping = true; firelife = 50; } onClipEvent (enterFrame) { if (_name != "mini-fire") { if (jumping == true) { this._y = this._y - gravity; this._x = this._x + direct; } if (gravity == -15) { gravity == -15; } gravity--; if (this.hitTest(_root.ground)) { jumping = false; } firelife--; if (firelife == 0) { this.removeMovieClip(); } } }
Instance of Symbol 373 MovieClip "explo" in Frame 155
onClipEvent (load) { ec = 100; } onClipEvent (enterFrame) { if (this._currentframe == 50) { this.removeMovieClip(); } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 155
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 1)) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 376 MovieClip "cash" in Frame 155
onClipEvent (load) { jump = 10; dir = int(Math.random() * 10); cashnum = 1; } onClipEvent (enterFrame) { if (this._name != "cash") { this._y = this._y - jump; this._x = this._x + dir; jump--; if (this._x <= 0) { dir = dir * -1; } if (this._x >= 530) { dir = dir * -1; } if (this._y > _root.ground._y) { removeMovieClip(this); _root.money = _root.money + 1; updateAfterEvent(); } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 155
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 1)) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 378 MovieClip "evil bullet" in Frame 155
onClipEvent (load) { bv = 20; } onClipEvent (enterFrame) { if (this._name != "evil bullet") { if (this._x > _root.sign._x) { this._x = this._x - bv; } if (this._x < _root.sign._x) { this._x = this._x + bv; } if (this.hitTest(_root.sign)) { removeMovieClip(this); _root.hp = _root.hp - (10 - _root.defense); _root.sign.play(); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 155
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 1)) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 155
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 30)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 1)) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 181 MovieClip "m.bacon" in Frame 155
onClipEvent (enterFrame) { if (this._currentframe == 2) { _root.bacon = true; } if (this._currentframe == 27) { _root.bacon = false; _root.street.gotoAndStop(1); _root.item = 1; this._x = -1000; this._y = -1000; } }
Instance of Symbol 191 MovieClip "handi" in Frame 155
onClipEvent (load) { dy = 16; dx = 5; leftwall = 200; rightwall = 400; activated = false; fired = false; firerate = 12; bc = 300; jump = 10; } onClipEvent (enterFrame) { if (activated == true) { this._y = this._y + dy; if (this._x < _root._xmouse) { this._x = this._x + dx; this._xscale = -Math.abs(this._xscale); } if (this._x > _root._xmouse) { this._x = this._x - dx; this._xscale = Math.abs(this._xscale); } if (this._x < leftwall) { this._x = this._x + dx; _root.handi._x = this._x; } if (this._x > rightwall) { this._x = this._x - dx; _root.handi._x = this._x; } firerate++; if (firerate >= 12) { firerate = 12; } if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root["h.arm"]._xscale = -Math.abs(_root["h.arm"]._yscale); } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root["h.arm"]._xscale = Math.abs(_root["h.arm"]._yscale); } if (((_root.timer.shooting == true) and (fired == false)) and (firerate == 12)) { bc++; fired = true; firerate = 0; duplicateMovieClip (_root["bullet b"], "newbulletb" + bc, bc); _root["newbulletb" + bc]._x = this._x; _root["newbulletb" + bc]._y = this._y - 42; _root.sounds.gotoAndStop(3); _root["h.arm"].gotoAndPlay(2); } else { fired = false; } } if (_root.timer.gameover == true) { this._y = this._y - jump; activated = false; jump--; } }
Instance of Symbol 346 MovieClip "bullet b" in Frame 155
onClipEvent (load) { spd = 50; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); } onClipEvent (enterFrame) { if (_name == "bullet b") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } i = 200; while (i < 250) { if (this.hitTest(_root["newenemy" + i])) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root["newbulletb" + _root.newbulletb.bc].removeMovieClip(); _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); removeMovieClip(this); } i++; } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 155
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 2; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 392 MovieClip "h.arm" in Frame 155
onClipEvent (enterFrame) { this._x = _root.handi._x; this._y = _root.handi._y - 25; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); updateAfterEvent(); }
Instance of Symbol 396 MovieClip "crosshair" in Frame 155
onClipEvent (load) { Mouse.hide(); } onClipEvent (enterFrame) { if (this._name != "crosshair") { this._x = _root._xmouse; this._y = _root._ymouse; } }
Instance of Symbol 328 MovieClip "ground" in Frame 156
onClipEvent (load) { } onClipEvent (enterFrame) { if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) { f = 1; while (f < 4) { duplicateMovieClip (_root["mini-fire"], "newmini" + _root.bullet.mfc, _root.bullet.mfc); _root["newmini" + _root.bullet.mfc]._x = _root["newbullet" + _root.timer.bc]._x; _root["newmini" + _root.bullet.mfc]._y = _root["newbullet" + _root.timer.bc]._y; _root.bullet.mfc = _root.bullet.mfc + 1; f++; } _root.sounds.gotoAndStop(5); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) { duplicateMovieClip (_root.explo, ["newexplo" + _root.explo.ec], _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = _root["newbullet" + _root.timer.bc]._x; _root["newexplo" + _root.explo.ec]._y = _root["newbullet" + _root.timer.bc]._y; _root["newbullet" + _root.timer.bc].removeMovieClip(); _root.sounds.gotoAndStop(7); _root.explo.ec++; } i = 1; while (i < 11) { if (this.hitTest(_root["enemy" + i]._x, _root["enemy" + i]._y, true)) { _root["enemy" + i]._y = _root["enemy" + i]._y - 16; } i++; } if (this.hitTest(_root.handi._x, _root.handi._y, true)) { _root.handi._y = _root.handi._y - 16; } }
Instance of Symbol 307 MovieClip "timer" in Frame 156
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (20 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (25 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (55 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (80 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (82 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (deaths == 10) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 0; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 349 MovieClip "bullet" in Frame 156
onClipEvent (load) { spd = 35; bottom = 375; if (_root.timer.selectedweapon == 1) { spd = 35; } if (_root.timer.selectedweapon == 2) { spd = 50; } if (_root.timer.selectedweapon == 3) { spd = 60; } if (_root.timer.selectedweapon == 4) { spd = 35; } if (_root.timer.selectedweapon == 5) { spd = 50; } _x = _root.arm._x; _y = _root.arm._y; mfc = 1; _rotation = _root.arm._rotation; } onClipEvent (enterFrame) { if (_name == "bullet") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } i = 200; while (i < 300) { if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 1)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 2)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 3)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 4)) and (_root["newenemy" + i].dead == false)) { _root.fire.fc++; duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = _root["newenemy" + i]._x; _root["newfire" + _root.fire.fc]._y = _root["newenemy" + i]._y; _root["newenemy" + i].life = _root["newenemy" + i].life - 2; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 5)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root["newbullet" + _root.timer.bc].removeMovieClip(); } i++; } } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 156
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 156
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 156
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 156
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 181 MovieClip "m.bacon" in Frame 156
onClipEvent (enterFrame) { if (this._currentframe == 2) { _root.bacon = true; } if (this._currentframe == 27) { _root.bacon = false; _root.street.gotoAndStop(1); _root.item = 1; this._x = -1000; this._y = -1000; } }
Instance of Symbol 346 MovieClip "bullet b" in Frame 156
onClipEvent (load) { spd = 50; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); } onClipEvent (enterFrame) { if (_name == "bullet b") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } i = 1; while (i < 999) { if (this.hitTest(_root["newenemy" + i])) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root["newbulletb" + _root.newbulletb.bc].removeMovieClip(); _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); removeMovieClip(this); } i++; } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } } }
Instance of Symbol 401 MovieClip "duck" in Frame 156
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; } onClipEvent (enterFrame) { if (this._name != "duck") { if (dead == false) { this._x = this._x - dx; this._y = this._y - dy; } if (((this._x > rightwall) and (stay == true)) and (dead == false)) { dx = dx * -1; this.gotoAndStop(1); } if ((this._x < leftwall) and (dead == false)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 401 MovieClip "duck 2" in Frame 156
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; this._xscale = -Math.abs(this._xscale); } onClipEvent (enterFrame) { if (this._name != "duck 2") { if (dead == false) { this._x = this._x + dx; this._y = this._y - dy; } if ((this._x > rightwall) and (dead == false)) { dx = dx * -1; this.gotoAndStop(1); } if (((this._x < leftwall) and (dead == false)) and (stay == true)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 156
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 3; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 157
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (25 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (55 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (174 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (186 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (224 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (246 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (deaths == 14) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 0; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 157
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 157
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 157
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 157
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } if (this.hitTest(_root["newexplo" + _root.explo.ec])) { life = life - 9; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 401 MovieClip "duck" in Frame 157
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; } onClipEvent (enterFrame) { if (this._name != "duck") { if (dead == false) { this._x = this._x - dx; this._y = this._y - dy; } if (((this._x > rightwall) and (stay == true)) and (dead == false)) { dx = dx * -1; this.gotoAndStop(1); } if ((this._x < leftwall) and (dead == false)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 401 MovieClip "duck 2" in Frame 157
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; this._xscale = -Math.abs(this._xscale); } onClipEvent (enterFrame) { if (this._name != "duck 2") { if (dead == false) { this._x = this._x + dx; this._y = this._y - dy; } if ((this._x > rightwall) and (dead == false)) { dx = dx * -1; this.gotoAndStop(1); } if (((this._x < leftwall) and (dead == false)) and (stay == true)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 427 MovieClip "deer" in Frame 157
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 427 MovieClip "deer 2" in Frame 157
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer 2") { this._y = this._y - jump; jump = jump - 1; this._x = this._x + dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if (((this._x <= 0) and (dead == false)) and (stay == true)) { dx = dx * -1; stay = true; this._xscale = Math.abs(this._xscale); } if ((this._x > 530) and (dead == false)) { dx = dx * -1; this._xscale = -Math.abs(this._xscale); stay = true; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 157
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 4; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 158
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = -73; _root["newenemy" + enenum]._y = 265; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (145 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (200 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = 640; _root["newenemy" + enenum]._y = 314; } if (time == (215 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = 623; _root["newenemy" + enenum]._y = 139; } if (time == (230 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = -73; _root["newenemy" + enenum]._y = 265; } if (time == (235 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = 640; _root["newenemy" + enenum]._y = 314; } if (time == (260 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = 628; _root["newenemy" + enenum]._y = 14; } if (time == (275 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (deaths == 15) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 0; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 158
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 158
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 5; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 159
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (105 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (145 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (185 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (200 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (deaths == 16) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 0; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 427 MovieClip "deer" in Frame 159
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 159
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 6; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 160
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (30 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (165 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (deaths == 15) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 0; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 427 MovieClip "deer" in Frame 160
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 438 MovieClip "cow" in Frame 160
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow") { this._x = this._x - dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 438 MovieClip "cow 2" in Frame 160
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow 2") { this._x = this._x + dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 160
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 7; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 161
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (30 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (60 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (95 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (185 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (deaths == 17) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 401 MovieClip "duck 2" in Frame 161
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; this._xscale = -Math.abs(this._xscale); } onClipEvent (enterFrame) { if (this._name != "duck 2") { if (dead == false) { this._x = this._x + dx; this._y = this._y - dy; } if ((this._x > rightwall) and (dead == false)) { stay = true; dx = dx * -1; this.gotoAndStop(1); } if (((this._x < leftwall) and (dead == false)) and (stay == true)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 427 MovieClip "deer" in Frame 161
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 427 MovieClip "deer 2" in Frame 161
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer 2") { this._y = this._y - jump; jump = jump - 1; this._x = this._x + dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if (((this._x <= 0) and (dead == false)) and (stay == true)) { dx = dx * -1; stay = true; this._xscale = Math.abs(this._xscale); } if ((this._x > 530) and (dead == false)) { dx = dx * -1; this._xscale = -Math.abs(this._xscale); stay = true; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 438 MovieClip "cow" in Frame 161
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow") { this._x = this._x - dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 438 MovieClip "cow 2" in Frame 161
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow 2") { this._x = this._x + dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 161
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 8; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 162
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (60 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (95 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (105 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["newenemy" + enenum]._x; _root["newenemy" + enenum]._y = _root["newenemy" + enenum]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (165 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (185 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (200 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (deaths == 18) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 162
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 427 MovieClip "deer" in Frame 162
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 162
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 9; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 163
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (55 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (65 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (80 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enmnum]._y = _root.deer._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (145 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; } if (deaths == 21) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 163
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 427 MovieClip "deer" in Frame 163
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 163
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 10; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 164
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (60 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b" + enenum]._x; _root["newenemy" + enenum]._y = _root["stick guy b" + enenum]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (165 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (185 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (deaths == 18) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 164
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 164
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 164
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 427 MovieClip "deer" in Frame 164
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 452 MovieClip "truck" in Frame 164
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck") { this._x = this._x - dx; if (dx < 0) { dx++; } if (dx == 0) { dx = (Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 452 MovieClip "truck 2" in Frame 164
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck 2") { this._x = this._x + dx; if (dx < 0) { dx++; } if (dx == 0) { dx = int(Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 164
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 11; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 165
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (40 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (60 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (95 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (235 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (deaths == 19) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 165
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 452 MovieClip "truck" in Frame 165
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck") { this._x = this._x - dx; if (dx < 0) { dx++; } if (dx == 0) { dx = int(Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 165
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 12; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 166
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (65 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (230 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (245 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (255 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (deaths == 20) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 166
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 166
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 166
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 166
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 13; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 167
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (55 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (80 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (95 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (145 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (160 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (200 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (230 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (240 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (255 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (270 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (285 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (300 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (deaths == 20) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 167
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 14; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 168
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (30 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (45 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (55 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (105 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (120 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (240 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (260 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (285 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (305 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (320 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (335 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (350 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (365 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (385 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (deaths == 22) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 168
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 15; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 169
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (65 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (90 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (145 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (165 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (235 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (255 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (270 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (285 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (305 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (235 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (deaths == 21) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 169
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 16; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 170
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (175 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (200 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (215 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (240 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (250 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (265 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (280 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (295 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (310 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (325 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (340 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (355 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (370 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (380 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (390 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (405 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (420 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (435 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (450 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (deaths == 30) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 170
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 17; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 307 MovieClip "timer" in Frame 171
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (65 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (time == (235 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (260 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (deaths == 13) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 171
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 18; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 349 MovieClip "bullet" in Frame 172
onClipEvent (load) { spd = 35; bottom = 375; if (_root.timer.selectedweapon == 1) { spd = 35; } if (_root.timer.selectedweapon == 2) { spd = 50; } if (_root.timer.selectedweapon == 3) { spd = 60; } if (_root.timer.selectedweapon == 4) { spd = 35; } if (_root.timer.selectedweapon == 5) { spd = 50; } _x = _root.arm._x; _y = _root.arm._y; mfc = 1; _rotation = _root.arm._rotation; } onClipEvent (enterFrame) { if (_name == "bullet") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } i = 200; while (i < 300) { if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 1)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 2)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 3)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 5; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 4)) and (_root["newenemy" + i].dead == false)) { _root.fire.fc++; duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = _root["newenemy" + i]._x; _root["newfire" + _root.fire.fc]._y = _root["newenemy" + i]._y; _root["newenemy" + i].life = _root["newenemy" + i].life - 2; _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newenemy" + i]) and (this._currentframe == 5)) and (_root["newenemy" + i].dead == false)) { _root["newenemy" + i].life = _root["newenemy" + i].life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root["newbullet" + _root.timer.bc].removeMovieClip(); } i++; } } }
Instance of Symbol 351 MovieClip in Frame 172
onClipEvent (enterFrame) { this.gotoAndStop(_root.item); }
Instance of Symbol 167 MovieClip "fire" in Frame 172
onClipEvent (load) { fc = 800; hurtrate = 12; firelife = 70; } onClipEvent (enterFrame) { if (fc == 810) { fc = 800; } firelife--; hurtrate++; if (hurtrate >= 12) { hurtrate = 12; } this._y = this._y + 10; if (this._y > _root.ground._y) { this._y = _root.ground._y; } if (firelife == 0) { this.removeMovieClip(); } }
Instance of Symbol 167 MovieClip "mini-fire" in Frame 172
onClipEvent (load) { gravity = 10; direct = int((Math.random() * 10) - 5); jumping = true; firelife = 50; } onClipEvent (enterFrame) { if (_name != "mini-fire") { if (jumping == true) { this._y = this._y - gravity; this._x = this._x + direct; } if (gravity == -15) { gravity == -15; } gravity--; if (this.hitTest(_root.ground)) { jumping = false; } firelife--; if (firelife == 0) { this.removeMovieClip(); } } }
Instance of Symbol 373 MovieClip "explo" in Frame 172
onClipEvent (load) { ec = 100; } onClipEvent (enterFrame) { if (this._currentframe == 50) { this.removeMovieClip(); } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 172
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 376 MovieClip "cash" in Frame 172
onClipEvent (load) { jump = 10; dir = int(Math.random() * 10); cashnum = 1; } onClipEvent (enterFrame) { if (this._name != "cash") { this._y = this._y - jump; this._x = this._x + dir; jump--; if (this._x <= 0) { dir = dir * -1; } if (this._x >= 530) { dir = dir * -1; } if (this._y > _root.ground._y) { removeMovieClip(this); _root.money = _root.money + 1; updateAfterEvent(); } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 172
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 378 MovieClip "evil bullet" in Frame 172
onClipEvent (load) { bv = 20; } onClipEvent (enterFrame) { if (this._name != "evil bullet") { if (this._x > _root.sign._x) { this._x = this._x - bv; } if (this._x < _root.sign._x) { this._x = this._x + bv; } if (this.hitTest(_root.sign)) { removeMovieClip(this); _root.hp = _root.hp - (10 - _root.defense); _root.sign.play(); } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 172
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 30; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 172
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 30; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 181 MovieClip "m.bacon" in Frame 172
onClipEvent (enterFrame) { if (this._currentframe == 2) { _root.bacon = true; } if (this._currentframe == 27) { _root.bacon = false; _root.street.gotoAndStop(1); _root.item = 1; this._x = -1000; this._y = -1000; } }
Instance of Symbol 346 MovieClip "bullet b" in Frame 172
onClipEvent (load) { spd = 50; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); } onClipEvent (enterFrame) { if (_name == "bullet b") { _x = -1000; } else { if (_rotation > 180) { _y = (_y + (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x - (spd * Math.sin((Math.PI/180) * _rotation))); } else { _y = (_y - (spd * Math.cos((Math.PI/180) * _rotation))); _x = (_x + (spd * Math.sin((Math.PI/180) * _rotation))); } i = 1; while (i < 999) { if (this.hitTest(_root["newenemy" + i])) { _root["newenemy" + i].life = _root["newenemy" + i].life - 3; _root["newbulletb" + _root.newbulletb.bc].removeMovieClip(); _root.sounds.gotoAndStop(_root["newenemy" + i].soundnum); removeMovieClip(this); } i++; } if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) { this.removeMovieClip(); } } }
Instance of Symbol 401 MovieClip "duck 2" in Frame 172
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; this._xscale = -Math.abs(this._xscale); } onClipEvent (enterFrame) { if (this._name != "duck 2") { if (dead == false) { this._x = this._x + dx; this._y = this._y - dy; } if ((this._x > rightwall) and (dead == false)) { stay = true; dx = dx * -1; this.gotoAndStop(1); } if (((this._x < leftwall) and (dead == false)) and (stay == true)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 427 MovieClip "deer" in Frame 172
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer") { this._y = this._y - jump; jump = jump - 1; this._x = this._x - dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if ((this._x <= 0) and (dead == false)) { dx = dx * -1; stay = true; this._xscale = -Math.abs(this._xscale); } if (((this._x > 530) and (dead == false)) and (stay == true)) { dx = dx * -1; this._xscale = Math.abs(this._xscale); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 427 MovieClip "deer 2" in Frame 172
onClipEvent (load) { jump = 15; power = 8; life = 15; dead = false; gavemoney = false; stay = false; dx = 5; } onClipEvent (enterFrame) { if (this._name != "deer 2") { this._y = this._y - jump; jump = jump - 1; this._x = this._x + dx; if (jump <= -15) { jump = -15; } if (this.hitTest(_root.ground) and (dead == false)) { jump = 15; } if (life <= 0) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); jump = 15; this._y = this._y - 30; _root.sign.play(); } if (((this._x <= 0) and (dead == false)) and (stay == true)) { dx = dx * -1; stay = true; this._xscale = Math.abs(this._xscale); } if ((this._x > 530) and (dead == false)) { dx = dx * -1; this._xscale = -Math.abs(this._xscale); stay = true; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.timer.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; } } }
Instance of Symbol 438 MovieClip "cow" in Frame 172
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow") { this._x = this._x - dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 438 MovieClip "cow 2" in Frame 172
onClipEvent (load) { life = 6; dx = 10; power = 30; gavemoney = false; dead = false; } onClipEvent (enterFrame) { if (this._name != "cow 2") { this._x = this._x + dx; if (this.hitTest(_root.sign)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.sounds.gotoAndStop(7); _root.hp = _root.hp - (power - _root.defense); _root.timer.deaths = _root.timer.deaths + 1; _root.sign.play(); removeMovieClip(this); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } removeMovieClip(this); _root.sounds.gotoAndStop(7); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 401 MovieClip "duck" in Frame 172
onClipEvent (load) { dx = (Math.random() * 5) + 5; dy = (Math.random() * 5) + 5; dead = false; life = 6; power = 8; stay = false; rightwall = 530; leftwall = 0; upwall = 0; dogcount = 500; gavemoney = false; soundnum = 11; } onClipEvent (enterFrame) { if (this._name != "duck") { if (dead == false) { this._x = this._x - dx; this._y = this._y - dy; } if (((this._x > rightwall) and (stay == true)) and (dead == false)) { dx = dx * -1; this.gotoAndStop(1); } if ((this._x < leftwall) and (dead == false)) { stay = true; dx = dx * -1; this.gotoAndStop(2); } if ((this._y < upwall) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == false)) { stay = true; dy = dy * -1; } if ((this._y > _root.ground._y) and (dead == true)) { _root["newdog" + dogcount].gotoAndPlay(2); this.removeMovieClip(); } if (life <= 0) { dead = true; duplicateMovieClip (_root.dog, "newdog" + dogcount, dogcount); _root["newdog" + dogcount]._x = this._x; _root["newdog" + dogcount]._y = _root.ground._y + 40; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(11); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } if (dead == true) { this._rotation = this._rotation - 10; this._y = this._y + 15; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 6) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } if (this.hitTest(_root.sign) and (dead == false)) { _root.hp = _root.hp - (power - _root.defense); dx = dx * -1; dy = dy * -1; stay = true; play(); _root.sign.play(); } } }
Instance of Symbol 452 MovieClip "truck" in Frame 172
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck") { this._x = this._x - dx; if (dx < 0) { dx++; } if (dx == 0) { dx = (Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 452 MovieClip "truck 2" in Frame 172
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck 2") { this._x = this._x + dx; if (dx < 0) { dx++; } if (dx == 0) { dx = int(Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 307 MovieClip "timer" in Frame 172
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (60 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (75 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (95 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (110 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (125 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (165 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (180 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (195 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (210 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (240 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (255 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (270 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (285 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (300 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (320 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (335 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (345 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (360 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (375 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (395 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (deaths == 25) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 172
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 19; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 452 MovieClip "truck" in Frame 173
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck") { this._x = this._x - dx; if (dx < 0) { dx++; } if (dx == 0) { dx = int(Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 452 MovieClip "truck 2" in Frame 173
onClipEvent (load) { power = 15; life = 15; dead = false; gavemoney = false; dx = 20; } onClipEvent (enterFrame) { if (this._name != "truck 2") { this._x = this._x + dx; if (dx < 0) { dx++; } if (dx == 0) { dx = (Math.random() * 20) + 10; } if (this.hitTest(_root.sign)) { dx = dx * -1; _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } if (life <= 0) { dead = true; } if (dead == true) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 9) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; _root.sounds.gotoAndStop(7); } removeMovieClip(this); gavemoney = true; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(soundnum); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; } } i++; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } } }
Instance of Symbol 307 MovieClip "timer" in Frame 173
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root.deer, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.deer._x; _root["newenemy" + enenum]._y = _root.deer._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (65 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (80 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (130 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (140 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (155 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["deer 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["deer 2"]._x; _root["newenemy" + enenum]._y = _root["deer 2"]._y; } if (time == (190 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (225 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (240 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (260 + randtime)) { enenum++; duplicateMovieClip (_root["cow 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["cow 2"]._x; _root["newenemy" + enenum]._y = _root["cow 2"]._y; _root.sounds.gotoAndStop(12); } if (time == (275 + randtime)) { enenum++; duplicateMovieClip (_root.duck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.duck._x; _root["newenemy" + enenum]._y = _root.duck._y; } if (time == (290 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (305 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (335 + randtime)) { enenum++; duplicateMovieClip (_root["truck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["truck 2"]._x; _root["newenemy" + enenum]._y = _root["truck 2"]._y; _root.sounds.gotoAndStop(13); } if (time == (350 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (375 + randtime)) { enenum++; duplicateMovieClip (_root.cow, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.cow._x; _root["newenemy" + enenum]._y = _root.cow._y; _root.sounds.gotoAndStop(12); } if (time == (390 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (405 + randtime)) { enenum++; duplicateMovieClip (_root["duck 2"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["duck 2"]._x; _root["newenemy" + enenum]._y = _root["duck 2"]._y; } if (time == (435 + randtime)) { enenum++; duplicateMovieClip (_root.truck, "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root.truck._x; _root["newenemy" + enenum]._y = _root.truck._y; _root.sounds.gotoAndStop(13); } if (deaths == 25) { _root.levelcleared._x = 300; _root.levelcleared._y = 170; _root.levelcleared.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 390 MovieClip "levelcleared" in Frame 173
onClipEvent (enterFrame) { if (this._currentframe == 35) { _root.level = 20; _root.handicap = false; removeMovieClip(_root.newcrosshair); _root.gotoAndStop("shop"); } }
Instance of Symbol 133 MovieClip "stick guy" in Frame 174
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 40; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); } this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 2)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 3)) and (dead == false)) { life = life - 5; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root.hand)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.hand.life = _root.hand.life - (50 + int(Math.random() * 50)); _root.sounds.gotoAndStop(7); this.removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 5)) and (dead == false)) { life = life - 30; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root.sounds.gotoAndStop(7); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.explo.ec++; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy" in Frame 174
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 40; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; vel = 6; soundnum = 8; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x + bv; this._x = this._x - vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x + vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root.hand)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.hand.life = _root.hand.life - (50 + int(Math.random() * 50)); _root.sounds.gotoAndStop(7); this.removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 133 MovieClip "stick guy b" in Frame 174
onClipEvent (load) { attacking = false; onfire = false; fired = false; life = 9; power = 10; dead = false; jump = 40; defaultTime = 20; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "stick guy b") { this._y = this._y + 16; if ((this._y > _root.ground._y) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground._y) and (dead == true)) { removeMovieClip(this); } if ((distance(this, _root.sign) > 50) and (dead == false)) { this._x = this._x + vel; this._xscale = Math.abs(this._xscale); } if ((distance(this, _root.sign) <= 50) and (dead == false)) { this.play(); if (this._currentframe == 9) { _root.hp = _root.hp - (power - _root.defense); _root.sign.play(); _root.life._xscale = _root.life._xscale - (7 - _global.defense); } this._x = this._x - vel; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if ((this.hitTest(_root["newbullet" + _root.timer.bc]) and (_root["newbullet" + _root.timer.bc]._currentframe == 4)) and (dead == false)) { duplicateMovieClip (_root.fire, "newfire" + _root.fire.fc, _root.fire.fc); _root["newfire" + _root.fire.fc]._x = this._x; _root["newfire" + _root.fire.fc]._y = this._y; _root.fire.fc++; life = life - 2; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root.hand)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.hand.life = _root.hand.life - (50 + int(Math.random() * 50)); _root.sounds.gotoAndStop(7); this.removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if ((life <= 0) and (dead == false)) { dead = true; } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 121 MovieClip "gun guy b" in Frame 174
onClipEvent (load) { attacking = false; bcount = 1; life = 9; power = 5; dead = false; jump = 40; defaultTime = 35; randomtime = int(Math.random() * 30); totaltime = defaultTime + randomtime; gavemoney = false; firetime = 12; soundnum = 8; vel = 6; } onClipEvent (enterFrame) { function distance(clip1, clip2) { dx = clip1._x - clip2._x; return(Math.sqrt(dx * dx)); } if (this._name != "gun guy b") { this._y = this._y + 16; if ((this._y > (_root.ground._y - 40)) and (dead == false)) { this._y = this._y - 16; } if ((this._y > _root.ground) and (dead == true)) { removeMovieClip(this); } firetime++; if (firetime > 12) { firetime = 12; } if ((distance(this, _root.sign) < 150) and (dead == false)) { if (firetime == 12) { this.play(); if (this._currentframe == 2) { duplicateMovieClip (_root["evil bullet"], "newevil" + bcount, bcount); _root["newevil" + bcount]._x = this._x; _root["newevil" + bcount]._y = this._y; bcount++; firetime = 0; } } _root["newevil" + bcount]._x = _root["newevil" + bcount]._x - bv; this._x = this._x + vel; } if ((distance(this, _root.sign) >= 70) and (dead == false)) { this._x = this._x - vel; this._xscale = -Math.abs(this._xscale); } if (this.hitTest(_root.hand)) { _root.explo.ec++; duplicateMovieClip (_root.explo, "newexplo" + _root.explo.ec, _root.explo.ec); _root["newexplo" + _root.explo.ec]._x = this._x; _root["newexplo" + _root.explo.ec]._y = this._y; _root.hand.life = _root.hand.life - (50 + int(Math.random() * 50)); _root.sounds.gotoAndStop(7); this.removeMovieClip(); } i = 800; while (i < 811) { if (this.hitTest(_root["newfire" + i])) { _root["newfire" + i]._x = this._x; _root["newfire" + i]._y = this._y; if (_root["newfire" + i].hurtrate == 12) { _root["newfire" + i].hurtrate = 0; life = life - 2; _root.sounds.gotoAndStop(8); } } i++; } if (this.hitTest(_root["newbullet" + _root.timer.bc]) and (dead == false)) { life = life - 3; _root.sounds.gotoAndStop(8); _root["newbullet" + _root.timer.bc].removeMovieClip(); } if (this.hitTest(_root["newfire" + _root.fire.fc])) { _root["newfire" + _root.fire.fc]._x = this._x; life = life - 2; } if ((life <= 0) and (dead == false)) { dead = true; } if ((_root.bacon == true) and this.hitTest(_root.street)) { life = 0; } if (this.hitTest(_root.hitler)) { life = life - 1; _root.sounds.gotoAndStop(8); } if (dead == true) { this._y = this._y - jump; jump--; this._rotation = this._rotation - 10; if (gavemoney == false) { _root.timer.deaths = _root.timer.deaths + 1; c = 1; while (c < 4) { duplicateMovieClip (_root.cash, "newcash" + _root.cash.cashnum, _root.cash.cashnum); _root["newcash" + _root.cash.cashnum]._x = this._x; _root["newcash" + _root.cash.cashnum]._y = this._y; _root.cash.cashnum++; c++; } gavemoney = true; } } } }
Instance of Symbol 307 MovieClip "timer" in Frame 174
onClipEvent (load) { deaths = 0; selectedweapon = 1; bc = 50; timer = 0; currentammo = _root.ninjas; reload = 10; time2shoot = 6; shooting = false; gravity = 40; mfc = 1; enenum = 200; bacon = false; shield = false; randtime = int(Math.random() * 60); time = 0; gethandicaped = _root.handicap; gameover = false; crossnum = 999; duplicateMovieClip (_root.crosshair, "newcrosshair", crossnum); _root.newcrosshair._x = _root._xmouse; _root.newcrosshair._y = _root._ymouse; } onClipEvent (mouseDown) { shooting = true; _root.arm.gotoAndStop("fire" + selectedweapon); } onClipEvent (mouseUp) { shooting = false; } onClipEvent (enterFrame) { time++; if (time == (35 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (50 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (70 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (85 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (100 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (115 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (135 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy"]._x; _root["newenemy" + enenum]._y = _root["stick guy"]._y; } if (time == (150 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (170 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time == (185 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy"]._x; _root["newenemy" + enenum]._y = _root["gun guy"]._y; } if (time == (205 + randtime)) { enenum++; duplicateMovieClip (_root["gun guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["gun guy b"]._x; _root["newenemy" + enenum]._y = _root["gun guy b"]._y; } if (time == (220 + randtime)) { enenum++; duplicateMovieClip (_root["stick guy b"], "newenemy" + enenum, enenum); _root["newenemy" + enenum]._x = _root["stick guy b"]._x; _root["newenemy" + enenum]._y = _root["stick guy b"]._y; } if (time > 220) { time = 0; } if (enenum == 220) { enenum = 200; } if (_root.hand.life < 0) { e = 200; while (e < 221) { _root["newenemy" + e].dead = true; e++; } stopAllSounds(); _root.play(); } if (shooting == false) { _root.arm.gotoAndStop("hold" + selectedweapon); } timer++; reload++; if (reload > time2shoot) { reload = time2shoot; } if (Key.isDown(49) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(50) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(51) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(52) and (_root.gotmol == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if (Key.isDown(53) and (_root.gotcat == true)) { selectedweapon = 5; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(37) and (_root.gotninja == true)) { selectedweapon = 1; time2shoot = 6; currentammo = _root.ninjas; _root["newbullet" + bc].spd = 35; } if (Key.isDown(39) and (_root.gotmag == true)) { selectedweapon = 2; time2shoot = 8; currentammo = _root.magammo; _root["newbullet" + bc].spd = 50; } if (Key.isDown(38) and (_root.gotpaint == true)) { selectedweapon = 3; time2shoot = 3; currentammo = _root.paintammo; _root["newbullet" + bc].spd = 50; } if ((Key.isDown(37) and Key.isDown(38)) and (_root.gotmolo == true)) { selectedweapon = 4; time2shoot = 6; currentammo = _root.molotovs; _root["newbullet" + bc].spd = 40; } if ((Key.isDown(39) and Key.isDown(38)) and (_root.gotcat == true)) { selectedweapon = 4; time2shoot = 10; currentammo = _root.cats; _root["newbullet" + bc].spd = 40; } if (Key.isDown(40) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(40) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(40) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (Key.isDown(32) and (_root.item == 2)) { _root["m.bacon"]._x = _root.sign._x; _root["m.bacon"]._y = _root.sign._y - ((_root.sign._height / 2) + 80); _root.street.gotoAndStop(2); _root["m.bacon"].play(); } if (Key.isDown(32) and (_root.item == 3)) { _root.hitler.active = true; _root.hitler._y = 249; _root.item = 1; _root.sounds.gotoAndStop(9); } if (Key.isDown(32) and (_root.item == 4)) { _root.shield._x = _root.sign._x; _root.shield = true; _root.item = 1; } if (_root.shield == true) { _root.defense = _root.defense + 3; } if (_root.defense > _root.deflimit) { _root.defense = _root.deflimit; } if (gethandicaped == true) { _root.handi._x = _root.sign._x; _root.handi.activated = true; gethandicaped = false; } if (_root.hp <= 0) { gameover = true; } if ((gameover == true) and (_root.lives > 0)) { gameover = false; _root.hp = 600; _root.lives = _root.lives - 1; _root.sounds.gotoAndPlay(14); } if ((gameover == true) and (_root.lives == 0)) { _root.dungus._y = _root.dungus._y - 20; _root.dungus._rotation = _root.dungus._rotation - 10; _root.arm._y = _root.arm._y - 20; _root.arm._rotation = _root.arm._rotation - 10; _root.sign._x = _root.sign._x - 20; _root.sign._y = _root.sign._y - 30; _root.sign._rotation = _root.sign._rotation - 10; _root.gameover._x = 270; _root.gameover._y = 170; _root.sounds.gotoAndStop(10); } if (((shooting == true) and (currentammo > 0)) and (reload == time2shoot)) { bc++; duplicateMovieClip (_root.bullet, "newbullet" + bc, bc); _root["newbullet" + bc].gotoAndStop(selectedweapon); reload = 0; currentammo = currentammo - 1; if (selectedweapon == 1) { _root.ninjas = _root.ninjas - 1; } if (selectedweapon == 2) { _root.magammo = _root.magammo - 1; } if (selectedweapon == 3) { _root.paintammo = _root.paintammo - 1; } if (selectedweapon == 4) { _root.molotovs = _root.molotovs - 1; } if (selectedweapon == 5) { _root.cats = _root.cats - 1; } if (_root["newbullet" + bc]._currentframe == 1) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 2) { _root.sounds.gotoAndStop(3); } if (_root["newbullet" + bc]._currentframe == 3) { _root.sounds.gotoAndStop(4); mycolor = new Color(_root["newbullet" + bc]); mycolor.setTransform({rb:int(Math.random() * 255), bb:int(Math.random() * 255), gb:int(Math.random() * 255)}); } if (_root["newbullet" + bc]._currentframe == 4) { _root.sounds.gotoAndStop(2); } if (_root["newbullet" + bc]._currentframe == 5) { _root.sounds.gotoAndStop(6); } } }
Instance of Symbol 109 MovieClip "hand" in Frame 174
onClipEvent (load) { go = false; dead = false; life = 1000; dx = 10; vel = 3; dy = 15; } onClipEvent (enterFrame) { if (go == false) { this._y = this._y + 5; if (this._y >= 150) { go = true; } } if (go == true) { this._x = this._x + dx; this._y = this._y + dy; dy = dy - vel; if (this._x <= 70) { dx = dx * -1; } if (this._x >= 470) { dx = dx * -1; } if (dy <= -20) { vel = vel * -1; } if (dy >= 20) { vel = vel * -1; } if (this.hitTest(_root["newbullet" + _root.timer.bc])) { _root["newbullet" + _root.timer.bc].spd = _root["newbullet" + _root.timer.bc].spd * -1; } } }
Instance of Symbol 487 MovieClip in Frame 175
onClipEvent (enterFrame) { gotoAndStop (70); }
Instance of Symbol 104 MovieClip "hitler" in Frame 289
onClipEvent (load) { active = false; dx = 50; go = true; left = true; } onClipEvent (enterFrame) { if (active == true) { this._x = this._x - dx; if (go == true) { if (this._x < -600) { timetogo = 0; left = false; dx = dx * -1; this._xscale = -Math.abs(this._xscale); } if (this._x > 950) { timetogo = 0; left = true; dx = dx * -1; this._xscale = Math.abs(this._xscale); } if ((this._x == 0) and (left == false)) { _root.sounds.gotoAndStop(9); } if ((this._x == 600) and (left == true)) { _root.sounds.gotoAndStop(9); } } } }
Instance of Symbol 191 MovieClip "handi" in Frame 337
onClipEvent (load) { dy = 16; dx = 5; leftwall = 200; rightwall = 400; activated = false; fired = false; firerate = 12; bc = 300; jump = 10; } onClipEvent (enterFrame) { if (activated == true) { this._y = this._y + dy; if (this._x < _root._xmouse) { this._x = this._x + dx; this._xscale = -Math.abs(this._xscale); } if (this._x > _root._xmouse) { this._x = this._x - dx; this._xscale = Math.abs(this._xscale); } if (this._x < leftwall) { this._x = this._x + dx; _root.handi._x = this._x; } if (this._x > rightwall) { this._x = this._x - dx; _root.handi._x = this._x; } firerate++; if (firerate >= 12) { firerate = 12; } if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root["h.arm"]._xscale = -Math.abs(_root["h.arm"]._yscale); } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root["h.arm"]._xscale = Math.abs(_root["h.arm"]._yscale); } if (((_root.timer.shooting == true) and (fired == false)) and (firerate == 12)) { bc++; fired = true; firerate = 0; duplicateMovieClip (_root["bullet b"], "newbulletb" + bc, bc); _root["newbulletb" + bc]._x = this._x; _root["newbulletb" + bc]._y = this._y - 42; _root.sounds.gotoAndStop(3); _root["h.arm"].gotoAndPlay(2); } else { fired = false; } } if (_root.timer.gameover == true) { this._y = this._y - jump; activated = false; jump--; } }
Instance of Symbol 392 MovieClip "h.arm" in Frame 337
onClipEvent (enterFrame) { this._x = _root.handi._x; this._y = _root.handi._y - 25; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); updateAfterEvent(); }
Instance of Symbol 344 MovieClip "dungus" in Frame 338
onClipEvent (enterFrame) { if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root.arm._xscale = -Math.abs(_root.arm._yscale); _root.arm._x = this._x + 5; } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root.arm._xscale = Math.abs(_root.arm._yscale); _root.arm._x = this._x - 5; } }
Instance of Symbol 344 MovieClip "dungus" in Frame 350
onClipEvent (enterFrame) { if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root.arm._xscale = -Math.abs(_root.arm._yscale); _root.arm._x = this._x + 5; } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root.arm._xscale = Math.abs(_root.arm._yscale); _root.arm._x = this._x - 5; } }
Instance of Symbol 191 MovieClip "handi" in Frame 350
onClipEvent (load) { dy = 16; dx = 5; leftwall = 200; rightwall = 400; activated = false; fired = false; firerate = 12; bc = 300; jump = 10; } onClipEvent (enterFrame) { if (activated == true) { this._y = this._y + dy; if (this._x < _root._xmouse) { this._x = this._x + dx; this._xscale = -Math.abs(this._xscale); } if (this._x > _root._xmouse) { this._x = this._x - dx; this._xscale = Math.abs(this._xscale); } if (this._x < leftwall) { this._x = this._x + dx; _root.handi._x = this._x; } if (this._x > rightwall) { this._x = this._x - dx; _root.handi._x = this._x; } firerate++; if (firerate >= 12) { firerate = 12; } if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root["h.arm"]._xscale = -Math.abs(_root["h.arm"]._yscale); } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root["h.arm"]._xscale = Math.abs(_root["h.arm"]._yscale); } if (((_root.timer.shooting == true) and (fired == false)) and (firerate == 12)) { bc++; fired = true; firerate = 0; duplicateMovieClip (_root["bullet b"], "newbulletb" + bc, bc); _root["newbulletb" + bc]._x = this._x; _root["newbulletb" + bc]._y = this._y - 42; _root.sounds.gotoAndStop(3); _root["h.arm"].gotoAndPlay(2); } else { fired = false; } } if (_root.timer.gameover == true) { this._y = this._y - jump; activated = false; jump--; } }
Instance of Symbol 392 MovieClip "h.arm" in Frame 350
onClipEvent (enterFrame) { this._x = _root.handi._x; this._y = _root.handi._y - 25; xd = _root._xmouse - _x; yd = _root._ymouse - _y; radAngle = Math.atan2(yd, xd); _rotation = int(((radAngle * 360) / (Math.PI*2)) + 90); updateAfterEvent(); }
Instance of Symbol 191 MovieClip "handi" in Frame 370
onClipEvent (load) { dy = 16; dx = 5; leftwall = 200; rightwall = 400; activated = false; fired = false; firerate = 12; bc = 300; jump = 10; } onClipEvent (enterFrame) { if (activated == true) { this._y = this._y + dy; if (this._x < _root._xmouse) { this._x = this._x + dx; this._xscale = -Math.abs(this._xscale); } if (this._x > _root._xmouse) { this._x = this._x - dx; this._xscale = Math.abs(this._xscale); } if (this._x < leftwall) { this._x = this._x + dx; _root.handi._x = this._x; } if (this._x > rightwall) { this._x = this._x - dx; _root.handi._x = this._x; } firerate++; if (firerate >= 12) { firerate = 12; } if (_root._xmouse > this._x) { this._xscale = -Math.abs(this._xscale); _root["h.arm"]._xscale = -Math.abs(_root["h.arm"]._yscale); } if (_root._xmouse < this._x) { this._xscale = Math.abs(this._xscale); _root["h.arm"]._xscale = Math.abs(_root["h.arm"]._yscale); } if (((_root.timer.shooting == true) and (fired == false)) and (firerate == 12)) { bc++; fired = true; firerate = 0; duplicateMovieClip (_root["bullet b"], "newbulletb" + bc, bc); _root["newbulletb" + bc]._x = this._x; _root["newbulletb" + bc]._y = this._y - 42; _root.sounds.gotoAndStop(3); _root["h.arm"].gotoAndPlay(2); } else { fired = false; } } if (_root.timer.gameover == true) { this._y = this._y - jump; activated = false; jump--; } }
Frame 430
stop();
Symbol 24 Button
on (release) { _root.play(); }
Symbol 25 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 25 MovieClip Frame 2
gotoAndPlay (1);
Symbol 41 Button
on (press) { gotoAndStop ("instruction"); }
Symbol 45 Button
on (press) { stopAllSounds(); gotoAndPlay (69); }
Symbol 50 Button
on (press) { gotoAndStop ("insturctions"); }
Symbol 61 Button
on (press) { gotoAndStop ("insturctionss"); }
Symbol 74 Button
on (press) { gotoAndPlay (68); }
Symbol 80 Button
on (press) { play(); }
Symbol 84 Button
on (press) { gotoAndStop ("game"); }
Symbol 121 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 150 Button
on (rollOver) { _root.desc.gotoAndStop(6); } on (press) { if ((_root.money < 50) and (_root.gotcat == false)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money < 35) and (_root.gotcat == true)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money > 35) and (_root.gotcat == true)) { _root.money = _root.money - 35; _root.cats = _root.cats + 5; _root.sounds.gotoAndStop(2); _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(6); } if ((_root.money > 50) and (_root.gotcat == false)) { _root.gotcat = true; _root.cats = _root.cats + 5; _root.money = _root.money - 50; _root.sounds.gotoAndStop(2); _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(6); } }
Symbol 154 MovieClip Frame 1
stop();
Symbol 157 Button
on (rollOver) { _root.desc.gotoAndStop(3); } on (press) { if ((_root.money < 15) and (_root.gotmag == false)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money < 7) and (_root.gotmag == true)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 7) and (_root.gotmag == true)) { _root.sounds.gotoAndStop(2); _root.money = _root.money - 7; _root.magammo = _root.magammo + 15; _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(3); } if ((_root.actions.money >= 15) and (_root.gotmag == false)) { _root.gotmag = true; _root.magammo = _root.magammo + 15; _root.sounds.gotoAndStop(2); _root.money = _root.money - 15; _root.actions.cash = _root.actions.cash - 15; _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(3); } }
Symbol 171 Button
on (rollOver) { _root.desc.gotoAndStop(5); } on (press) { if (_root.money < 20) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if (_root.money >= 20) { _root.money = _root.money - 20; _root.sounds.gotoAndStop(2); _root.molotovs = _root.molotovs + 10; _root.gotmol = true; _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(5); } }
Symbol 175 MovieClip Frame 1
stop();
Symbol 178 Button
on (rollOver) { _root.desc.gotoAndStop(4); } on (press) { if ((_root.money < 12) and (_root.gotpaint == true)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money < 30) and (_root.gotpaint == false)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 12) and (_root.gotpaint == true)) { _root.sounds.gotoAndStop(2); _root.money = _root.money - 12; _root.actions.cash = _root.actions.cash - 15; _root.paintammo = _root.paintammo + 30; _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(4); } if ((_root.money >= 30) and (_root.gotpaint == false)) { _root.money = _root.money - 30; _root.actions.cash = _root.actions.cash - 30; _root.gotpaint = true; _root.paintammo = _root.paintammo + 30; _root.sounds.gotoAndStop(2); _root.desc.gotoAndStop(1); _root.desc.gotoAndStop(4); } }
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 27
this.removeMovieClip();
Symbol 185 Button
on (rollOver) { _root.desc.gotoAndStop(8); } on (rollOut) { _root.desc.gotoAndStop(7); } on (press) { if (_root.money < 85) { _root.desc.gotoAndStop(15); _root.sounds.gotoAndStop(3); } if (_root.money >= 85) { _root.item = 2; _root.money = _root.money - 85; _root.sounds.gotoAndStop(2); } }
Symbol 189 Button
on (rollOut) { _root.desc.gotoAndStop(7); } on (rollOver) { _root.desc.gotoAndStop(9); } on (press) { if (_root.money < 80) { _root.desc.gotoAndStop(15); _root.sounds.gotoAndStop(3); } if (_root.money >= 80) { _root.item = 3; _root.money = _root.money - 80; _root.sounds.gotoAndStop(2); } }
Symbol 191 MovieClip Frame 1
stop();
Symbol 195 Button
on (rollOver) { _root.desc.gotoAndStop(10); } on (rollOut) { _root.desc.gotoAndStop(7); } on (press) { if (_root.money < 100) { _root.desc.gotoAndStop(15); _root.sounds.gotoAndStop(3); } if (_root.money >= 100) { _root.handicap = true; _root.money = _root.money - 100; _root.sounds.gotoAndStop(2); } }
Symbol 201 Button
on (rollOver) { _root.desc.gotoAndStop(11); } on (rollOut) { _root.desc.gotoAndStop(7); } on (press) { if (_root.money < 90) { _root.desc.gotoAndStop(15); _root.sounds.gotoAndStop(3); } if (_root.money >= 90) { _root.item = 4; _root.money = _root.money - 90; _root.sounds.gotoAndStop(2); } }
Symbol 206 Button
on (rollOver) { _root.desc.gotoAndStop(12); } on (rollOut) { _root.desc.gotoAndStop(1); } on (press) { if ((_root.money < 60) and (_root.signlevel == 1)) { _root.sounds.gotoAndPlay(3); _root.desc.gotoAndStop(15); } if ((_root.money < 60) and (_root.signlevel == 0)) { _root.sounds.gotoAndPlay(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 60) and (_root.signlevel >= 1)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(16); } if ((_root.money >= 60) and (_root.signlevel == 0)) { _root.signlevel = 1; _root.defense = 3; _root.deflimit = 6; _root.money = _root.money - 60; _root.desc.gotoAndStop(12); _root.sounds.gotoAndStop(2); } }
Symbol 211 Button
on (rollOver) { _root.desc.gotoAndStop(13); } on (rollOut) { _root.desc.gotoAndStop(1); } on (press) { if ((_root.money < 75) and (_root.signlevel == 0)) { _root.sounds.gotoAndPlay(4); _root.desc.gotoAndStop(19); } if ((_root.money >= 75) and (_root.signlevel == 0)) { _root.sounds.gotoAndPlay(4); _root.desc.gotoAndStop(19); } if ((_root.money < 75) and (_root.signlevel == 1)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 75) and (_root.signlevel >= 2)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(16); } if ((_root.money >= 75) and (_root.signlevel == 1)) { _root.signlevel = 2; _root.defense = 5; _root.deflimit = 8; _root.money = _root.money - 75; _root.desc.gotoAndStop(13); _root.sounds.gotoAndStop(2); } }
Symbol 216 Button
on (rollOver) { _root.desc.gotoAndStop(14); } on (rollOut) { _root.desc.gotoAndStop(1); } on (press) { if ((_root.money < 80) and (_root.signlevel < 2)) { _root.sounds.gotoAndPlay(4); _root.desc.gotoAndStop(19); } if ((_root.money >= 80) and (_root.signlevel < 2)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(19); } if ((_root.money >= 80) and (_root.signlevel == 3)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(16); } if ((_root.money <= 80) and (_root.signlevel == 3)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(16); } if ((_root.money < 80) and (_root.signlevel == 2)) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 80) and (_root.signlevel == 2)) { _root.signlevel = 3; _root.defense = 7; _root.deflimit = 10; _root.money = _root.money - 80; _root.desc.gotoAndStop(14); _root.sounds.gotoAndStop(2); } }
Symbol 221 Button
on (rollOver) { _root.desc.gotoAndStop(17); } on (rollOut) { _root.desc.gotoAndStop(1); } on (press) { if (_root.money < 10) { _root.sounds.gotoAndPlay(3); _root.desc.gotoAndStop(15); } if ((_root.money >= 10) and (_root.hp < 600)) { _root.money = _root.money - 10; _root.hp = _root.hp + 50; _root.sounds.gotoAndStop(2); } if ((_root.money > 10) and (_root.hp >= 600)) { _root.sounds.gotoAndStop(4); _root.desc.gotoAndStop(18); } if (_root.hp > 600) { _root.hp = 600; } }
Symbol 226 Button
on (rollOver) { _root.desc.gotoAndStop(20); } on (rollOut) { _root.desc.gotoAndStop(1); } on (press) { if (_root.money >= 80) { _root.sounds.gotoAndStop(2); _root.money = _root.money - 80; _root.lives = _root.lives + 1; } if (_root.money < 80) { _root.sounds.gotoAndStop(3); _root.desc.gotoAndStop(15); } }
Symbol 227 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 293 Button
on (press) { _root["s.menu"].gotoAndStop(2); _root.desc.gotoAndStop(7); }
Symbol 297 Button
on (press) { _root["s.menu"].gotoAndStop(3); }
Symbol 301 Button
on (press) { _root["s.menu"].gotoAndStop(1); }
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 2
gotoAndStop (1);
Symbol 305 MovieClip Frame 3
gotoAndStop (1);
Symbol 312 Button
on (press) { if (_root.level == 20) { stopAllSounds(); } _root.gotoAndStop("level " + _root.level); }
Symbol 322 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
stop();
Instance of Symbol 13 MovieClip [star] "star" in Symbol 342 MovieClip Frame 1
onClipEvent (enterFrame) { gotoAndStop (1); }
Instance of Symbol 154 MovieClip in Symbol 342 MovieClip Frame 4
onClipEvent (enterFrame) { gotoAndStop (2); }
Instance of Symbol 175 MovieClip in Symbol 342 MovieClip Frame 6
onClipEvent (enterFrame) { gotoAndStop (2); }
Instance of Symbol 147 MovieClip in Symbol 342 MovieClip Frame 10
onClipEvent (enterFrame) { gotoAndStop (2); }
Symbol 351 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
gotoAndStop (1);
Symbol 365 MovieClip Frame 3
gotoAndStop (1);
Symbol 365 MovieClip Frame 4
gotoAndStop (1);
Symbol 365 MovieClip Frame 5
gotoAndStop (1);
Symbol 365 MovieClip Frame 6
gotoAndStop (1);
Symbol 365 MovieClip Frame 7
gotoAndStop (1);
Symbol 365 MovieClip Frame 8
gotoAndStop (1);
Symbol 365 MovieClip Frame 9
gotoAndStop (1);
Symbol 365 MovieClip Frame 11
gotoAndStop (1);
Symbol 365 MovieClip Frame 12
gotoAndStop (1);
Symbol 383 Button
on (press) { _root.timer.gameover = false; _root.money = 50; _root.level = 1; _root.hp = 600; _root.lives = 2; _root.handicaped = false; Mouse.show(); e = 200; while (e < 250) { removeMovieClip(_root["newenemy" + e]); e++; } _root.gotoAndStop("shop"); }
Symbol 390 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 1
stop();
Instance of Symbol 154 MovieClip in Symbol 392 MovieClip Frame 2
onClipEvent (enterFrame) { this.gotoAndStop(2); }
Instance of Symbol 154 MovieClip in Symbol 392 MovieClip Frame 3
onClipEvent (enterFrame) { this.gotoAndStop(2); }
Symbol 401 MovieClip Frame 1
stop();
Symbol 401 MovieClip Frame 2
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 506 Button
on (press) { stopAllSounds(); gotoAndPlay (70); }

Library Items

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

Instance Names

"s.menu"Frame 154Symbol 227 MovieClip
"desc"Frame 154Symbol 288 MovieClip
"sounds"Frame 154Symbol 305 MovieClip
"actions"Frame 154Symbol 307 MovieClip
"street"Frame 155Symbol 322 MovieClip
"hitler"Frame 155Symbol 104 MovieClip
"ground"Frame 155Symbol 328 MovieClip
"sign"Frame 155Symbol 332 MovieClip
"arm"Frame 155Symbol 342 MovieClip
"dungus"Frame 155Symbol 344 MovieClip
"timer"Frame 155Symbol 307 MovieClip
"bullet"Frame 155Symbol 349 MovieClip
"sounds"Frame 155Symbol 365 MovieClip
"fire"Frame 155Symbol 167 MovieClip
"mini-fire"Frame 155Symbol 167 MovieClip
"explo"Frame 155Symbol 373 MovieClip
"stick guy"Frame 155Symbol 133 MovieClip
"cash"Frame 155Symbol 376 MovieClip
"gun guy"Frame 155Symbol 121 MovieClip
"evil bullet"Frame 155Symbol 378 MovieClip
"stick guy b"Frame 155Symbol 133 MovieClip
"gun guy b"Frame 155Symbol 121 MovieClip
"m.bacon"Frame 155Symbol 181 MovieClip
"shield"Frame 155Symbol 197 MovieClip
"handi"Frame 155Symbol 191 MovieClip
"bullet b"Frame 155Symbol 346 MovieClip
"gameover"Frame 155Symbol 384 MovieClip
"levelcleared"Frame 155Symbol 390 MovieClip
"h.arm"Frame 155Symbol 392 MovieClip
"crosshair"Frame 155Symbol 396 MovieClip
"ground"Frame 156Symbol 328 MovieClip
"timer"Frame 156Symbol 307 MovieClip
"bullet"Frame 156Symbol 349 MovieClip
"stick guy"Frame 156Symbol 133 MovieClip
"gun guy"Frame 156Symbol 121 MovieClip
"stick guy b"Frame 156Symbol 133 MovieClip
"gun guy b"Frame 156Symbol 121 MovieClip
"m.bacon"Frame 156Symbol 181 MovieClip
"bullet b"Frame 156Symbol 346 MovieClip
"gameover"Frame 156Symbol 384 MovieClip
"duck"Frame 156Symbol 401 MovieClip
"dog"Frame 156Symbol 421 MovieClip
"duck 2"Frame 156Symbol 401 MovieClip
"levelcleared"Frame 156Symbol 390 MovieClip
"timer"Frame 157Symbol 307 MovieClip
"stick guy"Frame 157Symbol 133 MovieClip
"gun guy"Frame 157Symbol 121 MovieClip
"stick guy b"Frame 157Symbol 133 MovieClip
"gun guy b"Frame 157Symbol 121 MovieClip
"duck"Frame 157Symbol 401 MovieClip
"duck 2"Frame 157Symbol 401 MovieClip
"deer"Frame 157Symbol 427 MovieClip
"deer 2"Frame 157Symbol 427 MovieClip
"levelcleared"Frame 157Symbol 390 MovieClip
"timer"Frame 158Symbol 307 MovieClip
"stick guy b"Frame 158Symbol 133 MovieClip
"levelcleared"Frame 158Symbol 390 MovieClip
"timer"Frame 159Symbol 307 MovieClip
"deer"Frame 159Symbol 427 MovieClip
"levelcleared"Frame 159Symbol 390 MovieClip
"timer"Frame 160Symbol 307 MovieClip
"deer"Frame 160Symbol 427 MovieClip
"cow"Frame 160Symbol 438 MovieClip
"cow 2"Frame 160Symbol 438 MovieClip
"levelcleared"Frame 160Symbol 390 MovieClip
"timer"Frame 161Symbol 307 MovieClip
"dog"Frame 161Symbol 421 MovieClip
"duck 2"Frame 161Symbol 401 MovieClip
"deer"Frame 161Symbol 427 MovieClip
"deer 2"Frame 161Symbol 427 MovieClip
"cow"Frame 161Symbol 438 MovieClip
"cow 2"Frame 161Symbol 438 MovieClip
"levelcleared"Frame 161Symbol 390 MovieClip
"timer"Frame 162Symbol 307 MovieClip
"stick guy b"Frame 162Symbol 133 MovieClip
"deer"Frame 162Symbol 427 MovieClip
"levelcleared"Frame 162Symbol 390 MovieClip
"timer"Frame 163Symbol 307 MovieClip
"stick guy b"Frame 163Symbol 133 MovieClip
"deer"Frame 163Symbol 427 MovieClip
"levelcleared"Frame 163Symbol 390 MovieClip
"timer"Frame 164Symbol 307 MovieClip
"stick guy"Frame 164Symbol 133 MovieClip
"gun guy"Frame 164Symbol 121 MovieClip
"gun guy b"Frame 164Symbol 121 MovieClip
"deer"Frame 164Symbol 427 MovieClip
"truck"Frame 164Symbol 452 MovieClip
"truck 2"Frame 164Symbol 452 MovieClip
"levelcleared"Frame 164Symbol 390 MovieClip
"timer"Frame 165Symbol 307 MovieClip
"stick guy b"Frame 165Symbol 133 MovieClip
"truck"Frame 165Symbol 452 MovieClip
"levelcleared"Frame 165Symbol 390 MovieClip
"timer"Frame 166Symbol 307 MovieClip
"gun guy"Frame 166Symbol 121 MovieClip
"stick guy b"Frame 166Symbol 133 MovieClip
"gun guy b"Frame 166Symbol 121 MovieClip
"levelcleared"Frame 166Symbol 390 MovieClip
"timer"Frame 167Symbol 307 MovieClip
"levelcleared"Frame 167Symbol 390 MovieClip
"timer"Frame 168Symbol 307 MovieClip
"levelcleared"Frame 168Symbol 390 MovieClip
"timer"Frame 169Symbol 307 MovieClip
"levelcleared"Frame 169Symbol 390 MovieClip
"timer"Frame 170Symbol 307 MovieClip
"levelcleared"Frame 170Symbol 390 MovieClip
"timer"Frame 171Symbol 307 MovieClip
"levelcleared"Frame 171Symbol 390 MovieClip
"bullet"Frame 172Symbol 349 MovieClip
"sounds"Frame 172Symbol 365 MovieClip
"fire"Frame 172Symbol 167 MovieClip
"mini-fire"Frame 172Symbol 167 MovieClip
"explo"Frame 172Symbol 373 MovieClip
"stick guy"Frame 172Symbol 133 MovieClip
"cash"Frame 172Symbol 376 MovieClip
"gun guy"Frame 172Symbol 121 MovieClip
"evil bullet"Frame 172Symbol 378 MovieClip
"stick guy b"Frame 172Symbol 133 MovieClip
"gun guy b"Frame 172Symbol 121 MovieClip
"m.bacon"Frame 172Symbol 181 MovieClip
"shield"Frame 172Symbol 197 MovieClip
"bullet b"Frame 172Symbol 346 MovieClip
"gameover"Frame 172Symbol 384 MovieClip
"dog"Frame 172Symbol 421 MovieClip
"duck 2"Frame 172Symbol 401 MovieClip
"deer"Frame 172Symbol 427 MovieClip
"deer 2"Frame 172Symbol 427 MovieClip
"cow"Frame 172Symbol 438 MovieClip
"cow 2"Frame 172Symbol 438 MovieClip
"duck"Frame 172Symbol 401 MovieClip
"truck"Frame 172Symbol 452 MovieClip
"truck 2"Frame 172Symbol 452 MovieClip
"timer"Frame 172Symbol 307 MovieClip
"levelcleared"Frame 172Symbol 390 MovieClip
"truck"Frame 173Symbol 452 MovieClip
"truck 2"Frame 173Symbol 452 MovieClip
"timer"Frame 173Symbol 307 MovieClip
"levelcleared"Frame 173Symbol 390 MovieClip
"stick guy"Frame 174Symbol 133 MovieClip
"gun guy"Frame 174Symbol 121 MovieClip
"stick guy b"Frame 174Symbol 133 MovieClip
"gun guy b"Frame 174Symbol 121 MovieClip
"timer"Frame 174Symbol 307 MovieClip
"hand"Frame 174Symbol 109 MovieClip
"_root.hand.life"Frame 174Symbol 484 EditableText
"dungus"Frame 175Symbol 344 MovieClip
"hitler"Frame 289Symbol 104 MovieClip
"handi"Frame 333Symbol 191 MovieClip
"h.arm"Frame 333Symbol 392 MovieClip
"handi"Frame 337Symbol 191 MovieClip
"h.arm"Frame 337Symbol 392 MovieClip
"dungus"Frame 338Symbol 344 MovieClip
"handi"Frame 338Symbol 191 MovieClip
"h.arm"Frame 338Symbol 392 MovieClip
"dungus"Frame 339Symbol 344 MovieClip
"dungus"Frame 350Symbol 344 MovieClip
"handi"Frame 350Symbol 191 MovieClip
"h.arm"Frame 350Symbol 392 MovieClip
"dungus"Frame 351Symbol 344 MovieClip
"handi"Frame 351Symbol 191 MovieClip
"h.arm"Frame 351Symbol 392 MovieClip
"handi"Frame 370Symbol 191 MovieClip
"handi"Frame 371Symbol 191 MovieClip
"bar"Symbol 25 MovieClip Frame 1Symbol 16 MovieClip
"star"Symbol 342 MovieClip Frame 1Symbol 13 MovieClip [star]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 13 as "star"
ExportAssets (56)Timeline Frame 155Symbol 13 as "star"
ExportAssets (56)Timeline Frame 155Symbol 13 as "star"

Labels

"instruction"Frame 66
"insturctions"Frame 67
"insturctionss"Frame 68
"game"Frame 153
"shop"Frame 154
"level 1"Frame 155
"level 2"Frame 156
"level 3"Frame 157
"level 4"Frame 158
"level 5"Frame 159
"level 6"Frame 160
"level 7"Frame 161
"level 8"Frame 162
"level 9"Frame 163
"level 10"Frame 164
"level 11"Frame 165
"level 12"Frame 166
"level 13"Frame 167
"level 14"Frame 168
"level 15"Frame 169
"level 16"Frame 170
"level 17"Frame 171
"level 18"Frame 172
"level 19"Frame 173
"level 20"Frame 174
"loaded"Symbol 25 MovieClip Frame 3
"1"Symbol 332 MovieClip Frame 1
"hold1"Symbol 342 MovieClip Frame 1
"fire1"Symbol 342 MovieClip Frame 2
"hold2"Symbol 342 MovieClip Frame 3
"fire2"Symbol 342 MovieClip Frame 4
"hold3"Symbol 342 MovieClip Frame 5
"fire3"Symbol 342 MovieClip Frame 6
"hold4"Symbol 342 MovieClip Frame 7
"fire4"Symbol 342 MovieClip Frame 8
"hold5"Symbol 342 MovieClip Frame 9
"fire5"Symbol 342 MovieClip Frame 10

Dynamic Text Variables

_root.moneySymbol 141 EditableText"                                                  "
_root.ninjasSymbol 234 EditableText""
_root.magammoSymbol 239 EditableText""
_root.paintammoSymbol 243 EditableText""
_root.molotovsSymbol 245 EditableText""
_root.catsSymbol 250 EditableText""
_root.defenseSymbol 265 EditableText""
_root.defenseSymbol 269 EditableText""
_root.defenseSymbol 272 EditableText""
_root.hpSymbol 279 EditableText""
_root.livesSymbol 287 EditableText""
_root.levelSymbol 316 EditableText""
_root.timer.currentammoSymbol 323 EditableText"                  "
_root.hpSymbol 326 EditableText""
_root.levelSymbol 387 EditableText""
_root.levelSymbol 388 EditableText""
_root.levelSymbol 389 EditableText""
_root.livesSymbol 394 EditableText""
_root.timer.currentammoSymbol 397 EditableText"                  "
_root.hpSymbol 398 EditableText""
_root.livesSymbol 423 EditableText""
_root.timer.currentammoSymbol 424 EditableText"                  "
_root.hpSymbol 425 EditableText""
_root.livesSymbol 428 EditableText""
_root.timer.currentammoSymbol 429 EditableText"                  "
_root.hpSymbol 430 EditableText""
_root.livesSymbol 431 EditableText""
_root.timer.currentammoSymbol 432 EditableText"                  "
_root.hpSymbol 433 EditableText""
_root.livesSymbol 434 EditableText""
_root.timer.currentammoSymbol 435 EditableText"                  "
_root.hpSymbol 436 EditableText""
_root.livesSymbol 439 EditableText""
_root.timer.currentammoSymbol 440 EditableText"                  "
_root.hpSymbol 441 EditableText""
_root.livesSymbol 442 EditableText""
_root.timer.currentammoSymbol 443 EditableText"                  "
_root.hpSymbol 444 EditableText""
_root.livesSymbol 445 EditableText""
_root.timer.currentammoSymbol 446 EditableText"                  "
_root.hpSymbol 447 EditableText""
_root.livesSymbol 448 EditableText""
_root.timer.currentammoSymbol 449 EditableText"                  "
_root.hpSymbol 450 EditableText""
_root.livesSymbol 453 EditableText""
_root.timer.currentammoSymbol 454 EditableText"                  "
_root.hpSymbol 455 EditableText""
_root.livesSymbol 456 EditableText""
_root.timer.currentammoSymbol 457 EditableText"                  "
_root.hpSymbol 458 EditableText""
_root.livesSymbol 459 EditableText""
_root.timer.currentammoSymbol 460 EditableText"                  "
_root.hpSymbol 461 EditableText""
_root.livesSymbol 462 EditableText""
_root.timer.currentammoSymbol 463 EditableText"                  "
_root.hpSymbol 464 EditableText""
_root.livesSymbol 465 EditableText""
_root.timer.currentammoSymbol 466 EditableText"                  "
_root.hpSymbol 467 EditableText""
_root.livesSymbol 468 EditableText""
_root.timer.currentammoSymbol 469 EditableText"                  "
_root.hpSymbol 470 EditableText""
_root.livesSymbol 471 EditableText""
_root.timer.currentammoSymbol 472 EditableText"                  "
_root.hpSymbol 473 EditableText""
_root.livesSymbol 474 EditableText""
_root.timer.currentammoSymbol 475 EditableText"                  "
_root.hpSymbol 476 EditableText""
_root.livesSymbol 477 EditableText""
_root.timer.currentammoSymbol 478 EditableText"                  "
_root.hpSymbol 479 EditableText""
_root.livesSymbol 480 EditableText""
_root.timer.currentammoSymbol 481 EditableText"                  "
_root.hpSymbol 482 EditableText""
_root.hand.lifeSymbol 484 EditableText""
_root.livesSymbol 485 EditableText""




http://swfchan.com/10/49910/info.shtml
Created: 27/4 -2019 09:08:14 Last modified: 27/4 -2019 09:08:14 Server time: 16/05 -2024 08:57:20