Frame 1
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("FK | animation", itemHandler1);
myMenu.customItems.push(item1);
_root.menu = myMenu;
Frame 2
shots = 55;
Frame 3
stopAllSounds();
Frame 5
gotoAndStop (2);
Frame 6
shots = 55;
Frame 7
shots = 55;
Frame 8
shots = 10;
Frame 9
shots = 55;
Frame 10
shots = 55;
Frame 11
shots = 55;
Frame 12
shots = 55;
Symbol 8 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 15 Button
on (release) {
_root.gotoAndStop(14);
}
Symbol 16 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 16 MovieClip Frame 2
gotoAndPlay (1);
Symbol 20 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 36 MovieClip Frame 19
stop();
Symbol 51 MovieClip Frame 15
stop();
Symbol 52 MovieClip Frame 1
stop();
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha) && (_currentframe == 3)) {
_root.world.man.health = _root.world.man.health - 20;
}
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
_parent._x = _root.world.tank._x;
_parent._y = _root.world.tank._y;
Symbol 60 MovieClip Frame 3
_parent._x = _root.world.tank._x;
_parent._y = _root.world.tank._y;
Symbol 60 MovieClip Frame 4
_parent._x = _root.world.tank._x;
_parent._y = _root.world.tank._y;
gotoAndPlay (2);
Instance of Symbol 67 MovieClip "bulleto" in Symbol 74 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Symbol 91 MovieClip Frame 9
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 2
_root.shots = _root.shots - 1;
Symbol 107 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 115 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 121 MovieClip Frame 2
_root.shots = _root.shots - 1;
Symbol 121 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 123 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 130 MovieClip Frame 2
_root.shots = _root.shots - 1;
Symbol 130 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 137 MovieClip Frame 5
_parent.gotoAndStop(11);
Symbol 142 MovieClip Frame 7
_parent.gotoAndStop(11);
Symbol 143 MovieClip Frame 7
_parent.gotoAndStop(11);
Symbol 145 MovieClip Frame 2
_root.shots = _root.shots - 1;
Symbol 145 MovieClip Frame 5
_parent.gotoAndStop(11);
Symbol 152 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 158 MovieClip Frame 1
_parent.gotoAndStop(1);
Symbol 158 MovieClip Frame 2
_parent.gotoAndStop(1);
Symbol 174 MovieClip Frame 10
stop();
_root.death.play();
Symbol 175 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 176 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 6
_parent.gotoAndStop(4);
Symbol 184 MovieClip Frame 6
_parent.gotoAndStop(5);
Symbol 185 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 186 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 187 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 8
stop();
Symbol 211 MovieClip Frame 29
stop();
_root.gotoAndStop(6);
Symbol 212 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
function camControl() {
var _local2 = _parent;
var _local3 = this;
parentColor.setTransform(camColor.getTransform());
var _local1 = sX / _local3._width;
var scaleY = (sY / _local3._height);
_local2._x = cX - (_local3._x * _local1);
_local2._y = cY - (_local3._y * scaleY);
_local2._xscale = 100 * _local1;
_local2._yscale = 100 * scaleY;
}
function resetStage() {
var _local1 = _parent;
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_local1._xscale = 100;
_local1._yscale = 100;
_local1._x = 0;
_local1._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
stop();
Symbol 215 MovieClip Frame 20
stop();
Symbol 222 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 222 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Symbol 222 MovieClip Frame 143
stop();
Instance of Symbol 32 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 187 MovieClip "tank" in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 4;
gotoAndStop (2);
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 4;
gotoAndStop (3);
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 212 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Instance of Symbol 222 MovieClip in Symbol 223 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man) && (_currentframe != 142)) {
play();
}
}
Symbol 237 Button
on (release) {
_root.gotoAndPlay(3);
}
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 7
stop();
Symbol 240 MovieClip Frame 23
stop();
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
}
Instance of Symbol 51 MovieClip in Symbol 264 MovieClip Frame 10
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha) && (_currentframe == 3)) {
_root.world.man.health = _root.world.man.health - 20;
}
}
Symbol 275 MovieClip Frame 9
stop();
Symbol 276 MovieClip Frame 1
stop();
Instance of Symbol 250 MovieClip "waller2" in Symbol 276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 67 MovieClip "bulleto" in Symbol 283 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 67 MovieClip "bulleto" in Symbol 283 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Symbol 291 MovieClip Frame 7
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 15
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 29
stop();
_root.nextFrame();
Symbol 315 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
}
Instance of Symbol 92 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (_root.world.spray.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 276 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
}
Instance of Symbol 92 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 276 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
}
Instance of Symbol 92 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 92 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 292 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
}
Instance of Symbol 292 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
}
Instance of Symbol 308 MovieClip "spray" in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 315 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 215 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Instance of Symbol 67 MovieClip "bulleto" in Symbol 325 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Symbol 334 MovieClip Frame 8
stop();
Symbol 335 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
}
Instance of Symbol 92 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 315 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
}
Instance of Symbol 92 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 292 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
}
Instance of Symbol 292 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
}
Instance of Symbol 292 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
}
Instance of Symbol 92 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 276 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
}
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 215 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 347 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 92 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 315 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 335 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 347 MovieClip "tank" in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man.ha) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 1;
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 1;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 348 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 352 Button
on (release) {
_root.gotoAndStop(8);
gotoAndStop (1);
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 7
stop();
Symbol 365 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 365 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Symbol 365 MovieClip Frame 11
stop();
Instance of Symbol 32 MovieClip in Symbol 365 MovieClip Frame 11
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 365 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank)) {
nextFrame();
}
}
Instance of Symbol 315 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 347 MovieClip "tank" in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man.ha) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 1;
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 1;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 370 MovieClip "filla" in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_alpha = 30;
} else {
_alpha = 100;
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 385 MovieClip Frame 11
stop();
Symbol 386 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 365 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank)) {
nextFrame();
}
}
Instance of Symbol 315 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 276 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 52 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 347 MovieClip "tank" in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man.ha) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 1;
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 1;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
if (this.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (2);
}
}
Instance of Symbol 370 MovieClip "filla" in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_alpha = 30;
} else {
_alpha = 100;
}
}
Instance of Symbol 308 MovieClip "spray" in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 391 Button
on (release) {
_root.gotoAndStop(9);
gotoAndStop (1);
}
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 7
stop();
Instance of Symbol 32 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 315 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 276 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 52 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 386 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
if (this.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (2);
}
}
Instance of Symbol 222 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man) && (_currentframe != 142)) {
play();
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 187 MovieClip "tank" in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 4;
gotoAndStop (2);
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 4;
gotoAndStop (3);
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 32 MovieClip in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 396 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 402 MovieClip Frame 13
stop();
Symbol 412 MovieClip Frame 13
stop();
Symbol 413 MovieClip Frame 1
stop();
Instance of Symbol 32 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x - _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x - _root.world.tank.speed;
}
}
Instance of Symbol 32 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_root.world.man._x = _root.world.man._x + _root.world.man.speed;
}
if (this.hitTest(_root.world.tank.hehaha)) {
_root.world.tank._x = _root.world.tank._x + _root.world.tank.speed;
}
}
Instance of Symbol 413 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank)) {
nextFrame();
}
}
Instance of Symbol 413 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank)) {
nextFrame();
}
}
Instance of Symbol 413 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.tank)) {
nextFrame();
}
}
Instance of Symbol 315 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
}
Instance of Symbol 276 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack) && (this.waller2._currentframe == 12)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
if (this.waller2.hitTest(_root.world.tank.hehaha)) {
this.waller2.gotoAndStop(12);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 292 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
nextFrame();
}
if ((((this.ai.hitTest(_root.world.man.ha) && (_currentframe != 5)) && (_currentframe != 4)) && (_currentframe != 3)) && (_root.world.man._currentframe != 16)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha) && (_root.world.man.insidetank == false)) {
_root.world.man.health = _root.world.man.health - 5;
}
if ((_root.world.man._currentframe == 16) && (_currentframe != 5)) {
gotoAndStop (1);
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 335 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 176 MovieClip "man" in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((Key.isDown(32) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (2);
}
if (((((((((((Key.isDown(39) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (3);
_x = (_x + speed);
}
if (((((((((((Key.isDown(37) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (5);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (6);
_x = (_x - speed);
}
if ((((((((((((Key.isDown(32) && (Key.isDown(39))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (4);
_x = (_x + speed);
}
if (((((((((((((Key.isDown(40) && (!Key.isDown(39))) && (!Key.isDown(32))) && (!Key.isDown(37))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (_currentframe != 16)) {
gotoAndStop (7);
}
if ((Key.isDown(37) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (8);
_x = (_x - speed);
}
if ((Key.isDown(39) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (9);
_x = (_x + speed);
}
if (((Key.isDown(32) && (_currentframe == 11)) && (_currentframe != 16)) && (_root.shots >= 1)) {
gotoAndStop (10);
}
if ((Key.isDown(38) && (_currentframe == 11)) && (_currentframe != 16)) {
gotoAndStop (12);
}
if (((((((((((((Key.isDown(38) && (!Key.isDown(32))) && (_currentframe != 7)) && (_currentframe != 8)) && (_currentframe != 9)) && (_currentframe != 10)) && (_currentframe != 11)) && (_currentframe != 12)) && (_currentframe != 13)) && (_currentframe != 14)) && (_currentframe != 15)) && (!Key.isDown(39))) && (!Key.isDown(37))) && (_currentframe != 16)) {
gotoAndStop (13);
}
if (((Key.isDown(32) && (_currentframe != 11)) && (_currentframe != 16)) && (_root.shots <= 0)) {
gotoAndStop (17);
}
if (this.hitTest(_root.world.tank.hehaha) && (Key.isDown(67))) {
this.isot.play();
insidetank = true;
_root.world.tank.gotoAndStop(2);
}
if ((insidetank == true) && (Key.isDown(66))) {
insidetank = false;
this.isot.gotoAndStop(1);
_root.world.tank.gotoAndStop(1);
gotoAndStop (1);
_y = (_y + 18);
}
if (health <= 0) {
health = 0;
gotoAndStop (16);
}
}
onClipEvent (load) {
speed = 5;
health = 100;
insidetank = false;
}
Instance of Symbol 347 MovieClip "tank" in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man.ha) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.ai.hitTest(_root.world.man.ha) && (_root.world.cam._currentframe <= 19)) {
_root.world.cam.play();
} else if ((!this.ai.hitTest(_root.world.man.ha)) && (_root.world.cam._currentframe == 20)) {
_root.world.cam.play();
}
if ((Key.isDown(39) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed + 1;
}
if ((Key.isDown(37) && (_root.world.man.insidetank == true)) && (_root.world.man._currentframe != 16)) {
speed = speed - 1;
}
if (Math.abs(speed) > 25) {
speed = speed * 0.6;
}
speed = speed * 0.9;
x = Math.sin(_rotation * (Math.PI/180)) * speed;
y = (Math.cos(_rotation * (Math.PI/180)) * speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
_x = (_x + x);
_y = (_y + y);
} else {
speed = speed * -0.3;
}
}
Instance of Symbol 386 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
if (this.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (2);
}
}
Instance of Symbol 386 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
if (this.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (2);
}
}
Instance of Symbol 386 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
if (this.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (2);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 92 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hehe.hitTest(_root.world.man.man.attack)) {
gotoAndStop (3);
}
if (this.ai.hitTest(_root.world.man) && (_currentframe != 3)) {
gotoAndStop (2);
}
if (this.man.bulleto.hitTest(_root.world.man.ha)) {
_root.world.man.health = _root.world.man.health - 5;
}
if (this.hehe.hitTest(_root.world.tank.hehaha)) {
gotoAndStop (5);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 52 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 370 MovieClip "filla" in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man)) {
_alpha = 30;
} else {
_alpha = 100;
}
}
Instance of Symbol 308 MovieClip "spray" in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.world.man.man.attack)) {
gotoAndStop (2);
}
}
Instance of Symbol 215 MovieClip "cam" in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + ((_root.world.man._x - this._x) * 0.05);
this._y = this._y + ((_root.world.man._y - this._y) * 0.05);
}
Symbol 425 Button
on (release) {
gotoAndStop (1);
}
Symbol 445 MovieClip Frame 53
_root.gotoAndStop(2);