Frame 1
stop();
Instance of Symbol 44 MovieClip in Frame 1
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 2
play();
Instance of Symbol 44 MovieClip in Frame 3
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 177
nextFrame();
Instance of Symbol 44 MovieClip in Frame 177
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 178
stop();
Frame 184
stop();
Frame 188
stop();
Frame 192
stop();
Frame 196
stop();
Instance of Symbol 44 MovieClip in Frame 197
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 201
stop();
Frame 202
stop();
tellTarget ("_root.mies.nuoli.eye") {
gotoAndStop (2);
};
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
Set("/gun:shootchance", 10);
shotspeed = 6;
Instance of Symbol 209 MovieClip "platform60" in Frame 202
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.feet)) {
stop();
} else {
play();
}
}
Instance of Symbol 212 MovieClip in Frame 202
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
play();
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , "-10");
setProperty("_root.mies", _x , "798");
};
}
}
Instance of Symbol 225 MovieClip "bullet" in Frame 202
onClipEvent (load) {
this._rotation = _root.mies.nuoli.eye._rotation - 90;
this._x = _root.mies._x;
this._y = _root.mies._y - 36;
}
onClipEvent (enterFrame) {
if (this.ammus.hitTest(_root.ufocraft.osuma)) {
stop();
tellTarget ("ammus") {
gotoAndStop (2);
};
}
if (this.ammus.hitTest(_root.ufocraft.shield)) {
gotoAndStop (218);
tellTarget ("_root.ufocraft.shield.color") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 99) {
if (this.ammus.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.hitTest(platform)) {
stop();
}
if (this.ammus.hitTest(platform)) {
tellTarget ("ammus") {
gotoAndStop (2);
_y = platform._y;
};
}
}
Instance of Symbol 234 MovieClip "star" in Frame 202
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
tellTarget ("area.light") {
gotoAndStop (2);
};
}
i = 0;
while (i < 99) {
if (this.area.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.area.hitTest(platform)) {
tellTarget ("area.light") {
gotoAndStop (2);
};
}
}
Instance of Symbol 247 MovieClip "beam" in Frame 202
onClipEvent (enterFrame) {
if (apu10.hitTest(apu11)) {
this._x = _root.guna._x;
this._y = _root.guna._y;
this._rotation = _root.guna._rotation;
}
}
Instance of Symbol 292 MovieClip "ufocraft" in Frame 202
onClipEvent (enterFrame) {
if (this._x > _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x - 1);
};
}
if (this._x < _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x + 1);
};
}
if ((((((((((((((((((((((((((((((((((this.hittest(_root.bullet1.ammus.viiva) or this.hittest(_root.bullet2.ammus.viiva)) or this.hittest(_root.bullet3.ammus.viiva)) or this.hittest(_root.bullet4.ammus.viiva)) or this.hittest(_root.bullet5.ammus.viiva)) or this.hittest(_root.bullet6.ammus.viiva)) or this.hittest(_root.bullet7.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet9.ammus.viiva)) or this.hittest(_root.bullet10.ammus.viiva)) or this.hittest(_root.bullet11.ammus.viiva)) or this.hittest(_root.bullet12.ammus.viiva)) or this.hittest(_root.bullet13.ammus.viiva)) or this.hittest(_root.bullet14.ammus.viiva)) or this.hittest(_root.bullet15.ammus.viiva)) or this.hittest(_root.bullet16.ammus.viiva)) or this.hittest(_root.bullet17.ammus.viiva)) or this.hittest(_root.bullet18.ammus.viiva)) or this.hittest(_root.bullet19.ammus.viiva)) or this.hittest(_root.bullet20.ammus.viiva)) or this.hittest(_root.bullet21.ammus.viiva)) or this.hittest(_root.bullet22.ammus.viiva)) or this.hittest(_root.bullet23.ammus.viiva)) or this.hittest(_root.bullet24.ammus.viiva)) or this.hittest(_root.bullet25.ammus.viiva)) or this.hittest(_root.bullet26.ammus.viiva)) or this.hittest(_root.bullet27.ammus.viiva)) or this.hittest(_root.bullet28.ammus.viiva)) or this.hittest(_root.bullet29.ammus.viiva)) or this.hittest(_root.bullet30.ammus.viiva)) or this.hittest(_root.bullet31.ammus.viiva)) or this.hittest(_root.bullet32.ammus.viiva)) or this.hittest(_root.bullet33.ammus.viiva)) or this.hittest(_root.bullet34.ammus.viiva)) {
nextFrame();
}
}
Instance of Symbol 306 MovieClip "gun" in Frame 202
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x - 3;
this._y = _root.ufocraft._y - 45;
}
Instance of Symbol 317 MovieClip "lisäpanoksetL2" in Frame 202
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.lis\u00E4panoksetL2") {
gotoAndStop (2);
};
tellTarget ("_root.mies.nuoli.eye") {
gotoAndStop (1);
};
tellTarget (_root) {
gotoAndStop ("kaksi");
};
}
}
Instance of Symbol 329 MovieClip "puhe" in Frame 202
onClipEvent (enterFrame) {
this._x = _root.mies._x + 140;
this._y = _root.mies._y - 100;
}
Instance of Symbol 331 MovieClip in Frame 202
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 382 MovieClip "mies" in Frame 202
onClipEvent (load) {
gravity = 3;
velocity = 0;
falling = true;
stop();
speed = 7;
}
onClipEvent (enterFrame) {
if ((Key.isDown(39) or Key.isDown(37)) and Key.isDown(38)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("voltti");
};
}
if (falling == true) {
velocity = velocity + gravity;
_y = (_y + velocity);
}
i = 0;
while (i < 99) {
if (this.feet.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.feet.hitTest(platform)) {
if (falling == true) {
_y = platform._y;
velocity = 0;
falling = false;
}
} else {
falling = true;
}
}
onClipEvent (enterFrame) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
setProperty("_root.mies", _y , _y - 3);
};
}
if (Key.isDown(38)) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
velocity = 0;
setProperty("_root.mies", _y , _y - 3);
};
}
if (falling == false) {
velocity = velocity - 27;
falling = true;
}
}
if (falling == true) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("hyppy");
};
}
if (_root.mies.apu1.hitTest(_root.mies.apubase)) {
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x + 6);
}
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x - 11);
}
} else {
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x - 6);
}
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x + 11);
}
}
setProperty("_root.mies.sisus", _xscale , 100);
tellTarget ("_root.mies.apu1") {
gotoAndStop (1);
};
if (_xmouse < _x_root.mies) {
tellTarget ("_root.mies.apu1") {
gotoAndStop (2);
};
tellTarget ("_root.mies") {
setProperty("_root.mies.sisus", _xscale , -100);
};
}
}
Frame 203
stop();
Instance of Symbol 44 MovieClip in Frame 203
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 400 MovieClip "lisäpanokset2" in Frame 203
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies)) {
tellTarget ("_root") {
gotoAndStop ("kolme");
};
}
}
Frame 204
stop();
Instance of Symbol 402 MovieClip "habntrha" in Frame 204
onClipEvent (enterFrame) {
if (_root.mies.apu40.hitTest(_root.mies.apu41)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
this._x = _root._xmouse;
this._y = _root._ymouse;
if (_root.ufocraft.apu30.hitTest(_root.ufocraft.apu31)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
}
on (press) {
tellTarget ("_root.dub") {
nextFrame();
};
}
Frame 205
play();
Instance of Symbol 44 MovieClip in Frame 205
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 239
stop();
Frame 251
play();
Frame 277
stop();
Instance of Symbol 44 MovieClip in Frame 278
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 281
stop();
Frame 283
stop();
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
Set("/gun:shootchance", 30);
shotspeed = 30;
Instance of Symbol 209 MovieClip "platform60" in Frame 283
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.feet)) {
stop();
} else {
play();
}
}
Instance of Symbol 212 MovieClip in Frame 283
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
play();
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , "-10");
setProperty("_root.mies", _x , "798");
};
}
}
Instance of Symbol 225 MovieClip "bullet" in Frame 283
onClipEvent (load) {
this._rotation = _root.mies.nuoli.eye._rotation - 90;
this._x = _root.mies._x;
this._y = _root.mies._y - 36;
}
onClipEvent (enterFrame) {
if (this.ammus.hitTest(_root.ufocraft.osuma)) {
stop();
tellTarget ("ammus") {
gotoAndStop (2);
};
}
if (this.ammus.hitTest(_root.ufocraft.shield)) {
gotoAndStop (299);
tellTarget ("_root.ufocraft.shield.color") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 99) {
if (this.ammus.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.hitTest(platform)) {
stop();
}
if (this.ammus.hitTest(platform)) {
tellTarget ("ammus") {
gotoAndStop (2);
_y = platform._y;
};
}
}
Instance of Symbol 234 MovieClip "star" in Frame 283
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
tellTarget ("area.light") {
gotoAndStop (2);
};
}
i = 0;
while (i < 99) {
if (this.area.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.area.hitTest(platform)) {
tellTarget ("area.light") {
gotoAndStop (2);
};
}
}
Instance of Symbol 247 MovieClip "beam" in Frame 283
onClipEvent (enterFrame) {
if (apu10.hitTest(apu11)) {
this._x = _root.guna._x;
this._y = _root.guna._y;
this._rotation = _root.guna._rotation;
}
}
Instance of Symbol 433 MovieClip "ufocraft" in Frame 283
onClipEvent (enterFrame) {
if (this._x > _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x - 1);
};
}
if (this._x < _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x + 1);
};
}
if ((((((((((((((((((((((((((((((((((this.hittest(_root.bullet1.ammus.viiva) or this.hittest(_root.bullet2.ammus.viiva)) or this.hittest(_root.bullet3.ammus.viiva)) or this.hittest(_root.bullet4.ammus.viiva)) or this.hittest(_root.bullet5.ammus.viiva)) or this.hittest(_root.bullet6.ammus.viiva)) or this.hittest(_root.bullet7.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet9.ammus.viiva)) or this.hittest(_root.bullet10.ammus.viiva)) or this.hittest(_root.bullet11.ammus.viiva)) or this.hittest(_root.bullet12.ammus.viiva)) or this.hittest(_root.bullet13.ammus.viiva)) or this.hittest(_root.bullet14.ammus.viiva)) or this.hittest(_root.bullet15.ammus.viiva)) or this.hittest(_root.bullet16.ammus.viiva)) or this.hittest(_root.bullet17.ammus.viiva)) or this.hittest(_root.bullet18.ammus.viiva)) or this.hittest(_root.bullet19.ammus.viiva)) or this.hittest(_root.bullet20.ammus.viiva)) or this.hittest(_root.bullet21.ammus.viiva)) or this.hittest(_root.bullet22.ammus.viiva)) or this.hittest(_root.bullet23.ammus.viiva)) or this.hittest(_root.bullet24.ammus.viiva)) or this.hittest(_root.bullet25.ammus.viiva)) or this.hittest(_root.bullet26.ammus.viiva)) or this.hittest(_root.bullet27.ammus.viiva)) or this.hittest(_root.bullet28.ammus.viiva)) or this.hittest(_root.bullet29.ammus.viiva)) or this.hittest(_root.bullet30.ammus.viiva)) or this.hittest(_root.bullet31.ammus.viiva)) or this.hittest(_root.bullet32.ammus.viiva)) or this.hittest(_root.bullet33.ammus.viiva)) or this.hittest(_root.bullet34.ammus.viiva)) {
nextFrame();
}
}
Instance of Symbol 306 MovieClip "gun" in Frame 283
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x - 95;
this._y = _root.ufocraft._y + 10;
}
Instance of Symbol 453 MovieClip "guna" in Frame 283
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x + 95;
this._y = _root.ufocraft._y + 10;
}
Instance of Symbol 402 MovieClip "habntrha" in Frame 283
onClipEvent (enterFrame) {
if (_root.mies.apu40.hitTest(_root.mies.apu41)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
this._x = _root._xmouse;
this._y = _root._ymouse;
if (_root.ufocraft.apu30.hitTest(_root.ufocraft.apu31)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
}
on (press) {
tellTarget ("_root.dub") {
nextFrame();
};
}
Instance of Symbol 44 MovieClip in Frame 283
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 462 MovieClip "puhe" in Frame 283
onClipEvent (enterFrame) {
this._x = _root.mies._x + 140;
this._y = _root.mies._y - 100;
}
Instance of Symbol 382 MovieClip "mies" in Frame 283
onClipEvent (load) {
gravity = 3;
velocity = 0;
falling = true;
stop();
speed = 7;
}
onClipEvent (enterFrame) {
if ((Key.isDown(39) or Key.isDown(37)) and Key.isDown(38)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("voltti");
};
}
if (falling == true) {
velocity = velocity + gravity;
_y = (_y + velocity);
}
i = 0;
while (i < 99) {
if (this.feet.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.feet.hitTest(platform)) {
if (falling == true) {
_y = platform._y;
velocity = 0;
falling = false;
}
} else {
falling = true;
}
}
onClipEvent (enterFrame) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
setProperty("_root.mies", _y , _y - 3);
};
}
if (Key.isDown(38)) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
velocity = 0;
setProperty("_root.mies", _y , _y - 3);
};
}
if (falling == false) {
velocity = velocity - 27;
falling = true;
}
}
if (falling == true) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("hyppy");
};
}
if (_root.mies.apu1.hitTest(_root.mies.apubase)) {
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x + 6);
}
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x - 11);
}
} else {
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x - 6);
}
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x + 11);
}
}
setProperty("_root.mies.sisus", _xscale , 100);
tellTarget ("_root.mies.apu1") {
gotoAndStop (1);
};
if (_xmouse < _x_root.mies) {
tellTarget ("_root.mies.apu1") {
gotoAndStop (2);
};
tellTarget ("_root.mies") {
setProperty("_root.mies.sisus", _xscale , -100);
};
}
}
Frame 284
play();
Frame 318
stop();
Frame 330
play();
Frame 356
stop();
Frame 436
stop();
Instance of Symbol 44 MovieClip in Frame 436
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 437
stop();
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
Set("/gun:shootchance", 15);
shotspeed = 35;
Instance of Symbol 209 MovieClip "platform60" in Frame 437
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.feet)) {
stop();
} else {
play();
}
}
Instance of Symbol 212 MovieClip in Frame 437
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
play();
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , "-10");
setProperty("_root.mies", _x , "798");
};
}
}
Instance of Symbol 225 MovieClip "bullet" in Frame 437
onClipEvent (load) {
this._rotation = _root.mies.nuoli.eye._rotation - 90;
this._x = _root.mies._x;
this._y = _root.mies._y - 36;
}
onClipEvent (enterFrame) {
if (this.ammus.hitTest(_root.ufocraft.osuma)) {
stop();
tellTarget ("ammus") {
gotoAndStop (2);
};
}
if (this.ammus.hitTest(_root.ufocraft.shield)) {
gotoAndStop (453);
tellTarget ("_root.ufocraft.shield.color") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 99) {
if (this.ammus.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.hitTest(platform)) {
stop();
}
if (this.ammus.hitTest(platform)) {
tellTarget ("ammus") {
gotoAndStop (2);
_y = platform._y;
};
}
}
Instance of Symbol 234 MovieClip "star" in Frame 437
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
tellTarget ("area.light") {
gotoAndStop (2);
};
}
i = 0;
while (i < 99) {
if (this.area.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.area.hitTest(platform)) {
tellTarget ("area.light") {
gotoAndStop (2);
};
}
}
Instance of Symbol 247 MovieClip "beam" in Frame 437
onClipEvent (enterFrame) {
if (apu10.hitTest(apu11)) {
this._x = _root.guna._x;
this._y = _root.guna._y;
this._rotation = _root.guna._rotation;
}
}
Instance of Symbol 471 MovieClip "ufocraft" in Frame 437
onClipEvent (enterFrame) {
if (this._x > _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x - 2);
};
}
if (this._x < _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x + 2);
};
}
if ((((((((((((((((((((((((((((((((((this.hittest(_root.bullet1.ammus.viiva) or this.hittest(_root.bullet2.ammus.viiva)) or this.hittest(_root.bullet3.ammus.viiva)) or this.hittest(_root.bullet4.ammus.viiva)) or this.hittest(_root.bullet5.ammus.viiva)) or this.hittest(_root.bullet6.ammus.viiva)) or this.hittest(_root.bullet7.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet9.ammus.viiva)) or this.hittest(_root.bullet10.ammus.viiva)) or this.hittest(_root.bullet11.ammus.viiva)) or this.hittest(_root.bullet12.ammus.viiva)) or this.hittest(_root.bullet13.ammus.viiva)) or this.hittest(_root.bullet14.ammus.viiva)) or this.hittest(_root.bullet15.ammus.viiva)) or this.hittest(_root.bullet16.ammus.viiva)) or this.hittest(_root.bullet17.ammus.viiva)) or this.hittest(_root.bullet18.ammus.viiva)) or this.hittest(_root.bullet19.ammus.viiva)) or this.hittest(_root.bullet20.ammus.viiva)) or this.hittest(_root.bullet21.ammus.viiva)) or this.hittest(_root.bullet22.ammus.viiva)) or this.hittest(_root.bullet23.ammus.viiva)) or this.hittest(_root.bullet24.ammus.viiva)) or this.hittest(_root.bullet25.ammus.viiva)) or this.hittest(_root.bullet26.ammus.viiva)) or this.hittest(_root.bullet27.ammus.viiva)) or this.hittest(_root.bullet28.ammus.viiva)) or this.hittest(_root.bullet29.ammus.viiva)) or this.hittest(_root.bullet30.ammus.viiva)) or this.hittest(_root.bullet31.ammus.viiva)) or this.hittest(_root.bullet32.ammus.viiva)) or this.hittest(_root.bullet33.ammus.viiva)) or this.hittest(_root.bullet34.ammus.viiva)) {
nextFrame();
}
}
Instance of Symbol 453 MovieClip "guna" in Frame 437
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x;
this._y = _root.ufocraft._y - 10;
}
Instance of Symbol 402 MovieClip "habntrha" in Frame 437
onClipEvent (enterFrame) {
if (_root.mies.apu40.hitTest(_root.mies.apu41)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
this._x = _root._xmouse;
this._y = _root._ymouse;
if (_root.ufocraft.apu30.hitTest(_root.ufocraft.apu31)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
}
on (press) {
tellTarget ("_root.dub") {
nextFrame();
};
}
Instance of Symbol 44 MovieClip in Frame 437
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 382 MovieClip "mies" in Frame 437
onClipEvent (load) {
gravity = 3;
velocity = 0;
falling = true;
stop();
speed = 7;
}
onClipEvent (enterFrame) {
if ((Key.isDown(39) or Key.isDown(37)) and Key.isDown(38)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("voltti");
};
}
if (falling == true) {
velocity = velocity + gravity;
_y = (_y + velocity);
}
i = 0;
while (i < 99) {
if (this.feet.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.feet.hitTest(platform)) {
if (falling == true) {
_y = platform._y;
velocity = 0;
falling = false;
}
} else {
falling = true;
}
}
onClipEvent (enterFrame) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
setProperty("_root.mies", _y , _y - 3);
};
}
if (Key.isDown(38)) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
velocity = 0;
setProperty("_root.mies", _y , _y - 3);
};
}
if (falling == false) {
velocity = velocity - 27;
falling = true;
}
}
if (falling == true) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("hyppy");
};
}
if (_root.mies.apu1.hitTest(_root.mies.apubase)) {
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x + 6);
}
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x - 11);
}
} else {
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x - 6);
}
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x + 11);
}
}
setProperty("_root.mies.sisus", _xscale , 100);
tellTarget ("_root.mies.apu1") {
gotoAndStop (1);
};
if (_xmouse < _x_root.mies) {
tellTarget ("_root.mies.apu1") {
gotoAndStop (2);
};
tellTarget ("_root.mies") {
setProperty("_root.mies.sisus", _xscale , -100);
};
}
}
Instance of Symbol 481 MovieClip "puhe" in Frame 437
onClipEvent (enterFrame) {
this._x = _root.mies._x + 140;
this._y = _root.mies._y - 100;
}
Frame 438
play();
Frame 472
stop();
Frame 510
stop();
Instance of Symbol 44 MovieClip in Frame 511
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 516
stop();
Frame 517
stop();
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
Set("/gun:shootchance", 50);
shotspeed = 10;
Instance of Symbol 212 MovieClip in Frame 517
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
play();
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , "-10");
setProperty("_root.mies", _x , "798");
};
}
}
Instance of Symbol 225 MovieClip "bullet" in Frame 517
onClipEvent (load) {
this._rotation = _root.mies.nuoli.eye._rotation - 90;
this._x = _root.mies._x;
this._y = _root.mies._y - 36;
}
onClipEvent (enterFrame) {
if (this.ammus.hitTest(_root.ufocraft.osuma)) {
stop();
tellTarget ("ammus") {
gotoAndStop (2);
};
}
if (this.ammus.hitTest(_root.ufocraft.shield)) {
gotoAndStop (533);
tellTarget ("_root.ufocraft.shield.color") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 99) {
if (this.ammus.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.hitTest(platform)) {
stop();
}
if (this.ammus.hitTest(platform)) {
tellTarget ("ammus") {
gotoAndStop (2);
_y = platform._y;
};
}
}
Instance of Symbol 501 MovieClip "ufocraft" in Frame 517
onClipEvent (enterFrame) {
if ((((((((((((((((((((((((((((((((((this.hittest(_root.bullet1.ammus.viiva) or this.hittest(_root.bullet2.ammus.viiva)) or this.hittest(_root.bullet3.ammus.viiva)) or this.hittest(_root.bullet4.ammus.viiva)) or this.hittest(_root.bullet5.ammus.viiva)) or this.hittest(_root.bullet6.ammus.viiva)) or this.hittest(_root.bullet7.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet9.ammus.viiva)) or this.hittest(_root.bullet10.ammus.viiva)) or this.hittest(_root.bullet11.ammus.viiva)) or this.hittest(_root.bullet12.ammus.viiva)) or this.hittest(_root.bullet13.ammus.viiva)) or this.hittest(_root.bullet14.ammus.viiva)) or this.hittest(_root.bullet15.ammus.viiva)) or this.hittest(_root.bullet16.ammus.viiva)) or this.hittest(_root.bullet17.ammus.viiva)) or this.hittest(_root.bullet18.ammus.viiva)) or this.hittest(_root.bullet19.ammus.viiva)) or this.hittest(_root.bullet20.ammus.viiva)) or this.hittest(_root.bullet21.ammus.viiva)) or this.hittest(_root.bullet22.ammus.viiva)) or this.hittest(_root.bullet23.ammus.viiva)) or this.hittest(_root.bullet24.ammus.viiva)) or this.hittest(_root.bullet25.ammus.viiva)) or this.hittest(_root.bullet26.ammus.viiva)) or this.hittest(_root.bullet27.ammus.viiva)) or this.hittest(_root.bullet28.ammus.viiva)) or this.hittest(_root.bullet29.ammus.viiva)) or this.hittest(_root.bullet30.ammus.viiva)) or this.hittest(_root.bullet31.ammus.viiva)) or this.hittest(_root.bullet32.ammus.viiva)) or this.hittest(_root.bullet33.ammus.viiva)) or this.hittest(_root.bullet34.ammus.viiva)) {
nextFrame();
}
}
onClipEvent (enterFrame) {
if (this._x > _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x - 3);
};
}
if (this._x < _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x + 3);
};
}
}
Instance of Symbol 511 MovieClip "puhe" in Frame 517
onClipEvent (enterFrame) {
this._x = _root.mies._x + 140;
this._y = _root.mies._y - 100;
}
Instance of Symbol 518 MovieClip "star" in Frame 517
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
}
i = 0;
while (i < 99) {
if (this.area.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.area.hitTest(platform)) {
tellTarget ("area.light") {
gotoAndStop (2);
};
}
}
Instance of Symbol 549 MovieClip "gun" in Frame 517
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x + 100;
this._y = _root.ufocraft._y - 75;
}
Instance of Symbol 402 MovieClip "habntrha" in Frame 517
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
on (press) {
tellTarget ("_root.dub") {
nextFrame();
};
}
Instance of Symbol 44 MovieClip in Frame 517
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 382 MovieClip "mies" in Frame 517
onClipEvent (load) {
gravity = 3;
velocity = 0;
falling = true;
stop();
speed = 7;
}
onClipEvent (enterFrame) {
if (falling == true) {
velocity = velocity + gravity;
_y = (_y + velocity);
}
i = 0;
while (i < 99) {
if (this.feet.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.feet.hitTest(platform)) {
if (falling == true) {
_y = platform._y;
velocity = 0;
falling = false;
}
} else {
falling = true;
}
}
onClipEvent (enterFrame) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , _y - 3);
falling = false;
};
}
if (Key.isDown(38)) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
velocity = 0;
setProperty("_root.mies", _y , _y - 3);
};
}
if (falling == false) {
velocity = velocity - 27;
falling = true;
}
}
if (falling == true) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("hyppy");
};
}
if (_root.mies.apu1.hitTest(_root.mies.apubase)) {
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x + 6);
}
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x - 11);
}
} else {
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x - 6);
}
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x + 11);
}
}
setProperty("_root.mies.sisus", _xscale , 100);
tellTarget ("_root.mies.apu1") {
gotoAndStop (1);
};
if (_xmouse < _x_root.mies) {
tellTarget ("_root.mies.apu1") {
gotoAndStop (2);
};
tellTarget ("_root.mies") {
setProperty("_root.mies.sisus", _xscale , -100);
};
}
}
Instance of Symbol 551 MovieClip in Frame 517
onClipEvent (enterFrame) {
if (_root.mies.apu40.hitTest(_root.mies.apu41)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
if (_root.ufocraft.apu30.hitTest(_root.ufocraft.apu31)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
}
Frame 518
play();
Frame 552
stop();
Frame 590
stop();
Instance of Symbol 44 MovieClip in Frame 666
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 670
stop();
Frame 672
stop();
sine_lookup_table = "0.000/.0175/.0349/.0523/.0698/.0872/.1045/.1219/.1392/.1564/.1736/.1908/.2079/.2250/.2419/.2588/.2756/.2924/.3090/.3256/.3420/.3584/.3746/.3907/.4067/.4226/.4384/.4540/.4695/.4848/.5000/.5150/.5299/.5446/.5592/.5736/.5878/.6018/.6157/.6428/.6561/.6691/.6820/.6947/.7071/.7193/.7314/.7431/.7547/.7660/.7771/.7880/.7986/.8090/.8192/.8290/.8387/.8480/.8572/.8660/.8746/.8829/.8910/.8988/.9063/.9135/.9205/.9272/.9336/.9397/.9455/.9511/.9563/.9613/.9659/.9703/.9744/.9781/.9816/.9848/.9877/.9903/.9925/.9945/.9962/.9976/.9986/.9994/.9998/1.000";
Set("/gun:shootchance", 15);
shotspeed = 35;
Instance of Symbol 481 MovieClip "puhe" in Frame 672
onClipEvent (enterFrame) {
this._x = _root.mies._x + 140;
this._y = _root.mies._y - 100;
}
Instance of Symbol 225 MovieClip "bullet" in Frame 672
onClipEvent (load) {
this._rotation = _root.mies.nuoli.eye._rotation - 90;
this._x = _root.mies._x;
this._y = _root.mies._y - 36;
}
onClipEvent (enterFrame) {
if (this.ammus.hitTest(_root.ufocraft.osuma)) {
stop();
tellTarget ("ammus") {
gotoAndStop (2);
};
}
if (this.ammus.hitTest(_root.ufocraft.shield)) {
gotoAndStop (688);
tellTarget ("_root.ufocraft.shield.color") {
gotoAndPlay (2);
};
}
i = 0;
while (i < 99) {
if (this.ammus.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.hitTest(platform)) {
stop();
}
if (this.ammus.hitTest(platform)) {
tellTarget ("ammus") {
gotoAndStop (2);
_y = platform._y;
};
}
}
Instance of Symbol 402 MovieClip "habntrha" in Frame 672
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
on (press) {
tellTarget ("_root.dub") {
nextFrame();
};
}
Instance of Symbol 569 MovieClip "ufocraft" in Frame 672
onClipEvent (enterFrame) {
if ((((((((((((((((((((((((((((((((((this.hittest(_root.bullet1.ammus.viiva) or this.hittest(_root.bullet2.ammus.viiva)) or this.hittest(_root.bullet3.ammus.viiva)) or this.hittest(_root.bullet4.ammus.viiva)) or this.hittest(_root.bullet5.ammus.viiva)) or this.hittest(_root.bullet6.ammus.viiva)) or this.hittest(_root.bullet7.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet8.ammus.viiva)) or this.hittest(_root.bullet9.ammus.viiva)) or this.hittest(_root.bullet10.ammus.viiva)) or this.hittest(_root.bullet11.ammus.viiva)) or this.hittest(_root.bullet12.ammus.viiva)) or this.hittest(_root.bullet13.ammus.viiva)) or this.hittest(_root.bullet14.ammus.viiva)) or this.hittest(_root.bullet15.ammus.viiva)) or this.hittest(_root.bullet16.ammus.viiva)) or this.hittest(_root.bullet17.ammus.viiva)) or this.hittest(_root.bullet18.ammus.viiva)) or this.hittest(_root.bullet19.ammus.viiva)) or this.hittest(_root.bullet20.ammus.viiva)) or this.hittest(_root.bullet21.ammus.viiva)) or this.hittest(_root.bullet22.ammus.viiva)) or this.hittest(_root.bullet23.ammus.viiva)) or this.hittest(_root.bullet24.ammus.viiva)) or this.hittest(_root.bullet25.ammus.viiva)) or this.hittest(_root.bullet26.ammus.viiva)) or this.hittest(_root.bullet27.ammus.viiva)) or this.hittest(_root.bullet28.ammus.viiva)) or this.hittest(_root.bullet29.ammus.viiva)) or this.hittest(_root.bullet30.ammus.viiva)) or this.hittest(_root.bullet31.ammus.viiva)) or this.hittest(_root.bullet32.ammus.viiva)) or this.hittest(_root.bullet33.ammus.viiva)) or this.hittest(_root.bullet34.ammus.viiva)) {
nextFrame();
}
}
onClipEvent (enterFrame) {
if (this._x > _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x - 4);
};
}
if (this._x < _root.mies._x) {
tellTarget ("_root.ufocraft") {
setProperty("_root.ufocraft", _x , _x + 4);
};
}
}
Instance of Symbol 578 MovieClip "alieni1" in Frame 672
onClipEvent (enterFrame) {
if (avut.apu4.hitTest(avut.apu5)) {
play();
}
if (_root.alieni1.leg.hitTest(_root.mies.target)) {
tellTarget ("_root.alieni1") {
gotoAndPlay (2);
};
}
if (_root.mies._y < this._y) {
_y = (_y - 1);
}
if (_root.mies._y > this._y) {
_y = (_y + 3);
}
if (_root.mies._x > this._x) {
_x = (_x + 3);
}
if (_root.mies._x < this._x) {
_x = (_x - 3);
}
}
Instance of Symbol 212 MovieClip in Frame 672
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
play();
tellTarget ("_root.mies") {
setProperty("_root.mies", _y , "-10");
setProperty("_root.mies", _x , "798");
};
}
}
Instance of Symbol 234 MovieClip "star" in Frame 672
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
tellTarget ("area.light") {
gotoAndStop (2);
};
}
i = 0;
while (i < 99) {
if (this.area.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.area.hitTest(platform)) {
tellTarget ("area.light") {
gotoAndStop (2);
};
}
}
Instance of Symbol 306 MovieClip "gun" in Frame 672
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x - 90;
this._y = _root.ufocraft._y + 20;
}
Instance of Symbol 247 MovieClip "beam" in Frame 672
onClipEvent (enterFrame) {
if (apu10.hitTest(apu11)) {
this._x = _root.guna._x;
this._y = _root.guna._y;
this._rotation = _root.guna._rotation;
}
}
Instance of Symbol 453 MovieClip "guna" in Frame 672
onClipEvent (enterFrame) {
this._x = _root.ufocraft._x + 80;
this._y = _root.ufocraft._y + 20;
}
Instance of Symbol 44 MovieClip in Frame 672
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Instance of Symbol 382 MovieClip "mies" in Frame 672
onClipEvent (load) {
gravity = 3;
velocity = 0;
falling = true;
stop();
speed = 7;
}
onClipEvent (enterFrame) {
if (falling == true) {
velocity = velocity + gravity;
_y = (_y + velocity);
}
i = 0;
while (i < 99) {
if (this.feet.hitTest("_root.platform" + i)) {
platform = eval ("_root.platform" + i);
}
i++;
}
if (this.feet.hitTest(platform)) {
if (falling == true) {
_y = platform._y;
velocity = 0;
falling = false;
}
} else {
falling = true;
}
}
onClipEvent (enterFrame) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
setProperty("_root.mies", _y , _y - 3);
};
}
if (Key.isDown(38)) {
if (target.hitTest(_root.ufocraft.booom.tuhosade)) {
tellTarget ("_root.mies") {
falling = false;
velocity = 0;
setProperty("_root.mies", _y , _y - 3);
};
}
if (falling == false) {
velocity = velocity - 27;
falling = true;
}
}
if (falling == true) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("hyppy");
};
}
if (_root.mies.apu1.hitTest(_root.mies.apubase)) {
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x + 6);
}
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x - 11);
}
} else {
if (Key.isDown(37)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu2");
};
_x = (_x - 6);
}
if (Key.isDown(39)) {
tellTarget ("_root.mies.sisus") {
gotoAndPlay ("juoksu");
};
_x = (_x + 11);
}
}
setProperty("_root.mies.sisus", _xscale , 100);
tellTarget ("_root.mies.apu1") {
gotoAndStop (1);
};
if (_xmouse < _x_root.mies) {
tellTarget ("_root.mies.apu1") {
gotoAndStop (2);
};
tellTarget ("_root.mies") {
setProperty("_root.mies.sisus", _xscale , -100);
};
}
}
Instance of Symbol 13 MovieClip "pullo" in Frame 672
onClipEvent (enterFrame) {
if (_root.pullo.hitTest(_root.mies)) {
tellTarget ("_root.pullo") {
play();
};
}
}
Instance of Symbol 551 MovieClip in Frame 672
onClipEvent (enterFrame) {
if (_root.mies.apu40.hitTest(_root.mies.apu41)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
if (_root.ufocraft.apu30.hitTest(_root.ufocraft.apu31)) {
tellTarget ("_root.habntrha") {
gotoAndStop (2);
};
}
}
Frame 673
play();
Frame 707
stop();
Frame 719
stopAllSounds();
Frame 745
stop();
Instance of Symbol 44 MovieClip in Frame 748
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (load) {
Mouse.hide();
}
Frame 754
stop();
Symbol 5 MovieClip Frame 4
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Instance of Symbol 8 MovieClip "sydan" in Symbol 13 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pullo.sydan.hitTest(_root.mies)) {
tellTarget ("_root.pullo") {
play();
};
}
}
Symbol 13 MovieClip Frame 3
play();
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 13 MovieClip Frame 5
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 13 MovieClip Frame 9
tellTarget ("_root.pullo") {
setProperty("_root.pullo", _y , _y + 500);
};
Symbol 13 MovieClip Frame 10
stop();
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 14 MovieClip [bottle] Frame 1
stop();
Instance of Symbol 13 MovieClip "pullo" in Symbol 14 MovieClip [bottle] Frame 1
onClipEvent (enterFrame) {
if (_root.bottle.pullo.hitTest(_root.mies)) {
tellTarget ("_root.bottle.pullo") {
play();
};
}
}
Symbol 14 MovieClip [bottle] Frame 18
gotoAndStop (1);
Symbol 33 MovieClip Frame 18
stop();
Symbol 37 Button
on (release) {
_root.play();
}
Symbol 39 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 39 MovieClip Frame 2
gotoAndPlay (1);
Symbol 61 MovieClip Frame 10
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 6
stop();
Symbol 105 Button
on (rollOver) {
tellTarget ("_root.valo1") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndPlay ("play");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 113 MovieClip Frame 8
stop();
Symbol 114 Button
on (rollOver) {
tellTarget ("_root.valo2") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndPlay ("controls");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 120 MovieClip Frame 6
stop();
Symbol 121 Button
on (rollOver) {
tellTarget ("_root.valo3") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndPlay ("options");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 127 MovieClip Frame 6
stop();
Symbol 128 Button
on (rollOver) {
tellTarget ("_root.valo4") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndPlay ("credits");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 140 MovieClip Frame 6
stop();
Symbol 141 Button
on (press) {
tellTarget ("_root.") {
gotoAndStop ("menu");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 146 MovieClip Frame 7
stop();
Symbol 147 Button
on (release) {
gotoAndPlay (197);
}
Symbol 148 Button
on (release) {
gotoAndPlay (278);
}
Symbol 149 Button
on (release) {
gotoAndPlay (432);
}
Symbol 150 Button
on (release) {
gotoAndPlay (511);
}
Symbol 151 Button
on (release) {
gotoAndPlay (666);
}
Symbol 157 Button
on (press) {
tellTarget ("_root.") {
gotoAndStop ("menu");
};
tellTarget ("_root.taustaq") {
play();
};
}
on (rollOver) {
tellTarget ("_root.valo2") {
play();
};
}
Symbol 158 Button
on (release) {
gotoAndPlay (197);
}
on (rollOver) {
tellTarget ("_root.valo1") {
play();
};
}
Symbol 159 Button
on (release) {
gotoAndPlay (278);
}
on (rollOver) {
tellTarget ("_root.valo5") {
play();
};
}
Symbol 160 Button
on (release) {
gotoAndPlay (432);
}
on (rollOver) {
tellTarget ("_root.valo3") {
play();
};
}
Symbol 161 Button
on (release) {
gotoAndPlay (511);
}
on (rollOver) {
tellTarget ("_root.valo4") {
play();
};
}
Symbol 162 Button
on (release) {
gotoAndPlay (666);
}
on (rollOver) {
tellTarget ("_root.valo6") {
play();
};
}
Symbol 169 Button
on (rollOver) {
tellTarget ("_root.valo7") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndStop ("menu");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 171 Button
on (rollOver) {
tellTarget ("_root.valo3") {
play();
};
}
on (release) {
toggleHighQuality();
}
Symbol 174 Button
on (rollOver) {
tellTarget ("_root.valo2") {
play();
};
}
on (press) {
tellTarget ("_root.") {
gotoAndStop ("menu");
};
tellTarget ("_root.taustaq") {
play();
};
}
Symbol 191 MovieClip Frame 5
stop();
Symbol 192 Button
on (release) {
stopAllSounds();
gotoAndStop (202);
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 24
gotoAndStop (1);
Symbol 218 MovieClip Frame 1
play();
Symbol 218 MovieClip Frame 3
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 225 MovieClip Frame 1
play();
Symbol 225 MovieClip Frame 16
stop();
Symbol 225 MovieClip Frame 18
play();
Symbol 225 MovieClip Frame 20
stop();
Symbol 230 MovieClip Frame 4
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 26
stop();
Symbol 247 MovieClip Frame 1
stop();
Instance of Symbol 243 MovieClip in Symbol 247 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
}
}
Symbol 247 MovieClip Frame 14
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
play();
removeMovieClip("_root.y1");
Symbol 251 MovieClip Frame 3
removeMovieClip("_root.y2");
Symbol 251 MovieClip Frame 4
removeMovieClip("_root.y3");
Symbol 251 MovieClip Frame 5
removeMovieClip("_root.y4");
Symbol 251 MovieClip Frame 6
removeMovieClip("_root.y5");
Symbol 251 MovieClip Frame 7
removeMovieClip("_root.y6");
Symbol 251 MovieClip Frame 8
removeMovieClip("_root.y7");
Symbol 251 MovieClip Frame 9
removeMovieClip("_root.y8");
Symbol 251 MovieClip Frame 10
removeMovieClip("_root.y9");
removeMovieClip("_root.y10");
removeMovieClip("_root.y11");
removeMovieClip("_root.y12");
removeMovieClip("_root.y13");
removeMovieClip("_root.y14");
removeMovieClip("_root.y15");
removeMovieClip("_root.y16");
Symbol 251 MovieClip Frame 11
removeMovieClip("_root.y9");
Symbol 251 MovieClip Frame 12
removeMovieClip("_root.y10");
Symbol 251 MovieClip Frame 13
removeMovieClip("_root.y11");
Symbol 251 MovieClip Frame 14
removeMovieClip("_root.y12");
Symbol 251 MovieClip Frame 15
removeMovieClip("_root.y13");
Symbol 251 MovieClip Frame 16
removeMovieClip("_root.y14");
Symbol 251 MovieClip Frame 17
removeMovieClip("_root.y15");
Symbol 251 MovieClip Frame 18
removeMovieClip("_root.y1");
removeMovieClip("_root.y2");
removeMovieClip("_root.y3");
removeMovieClip("_root.y4");
removeMovieClip("_root.y5");
removeMovieClip("_root.y6");
removeMovieClip("_root.y7");
removeMovieClip("_root.y8");
removeMovieClip("_root.y16");
Symbol 251 MovieClip Frame 19
gotoAndStop (1);
Symbol 252 MovieClip Frame 1
shotname2 = shotname2 + 1;
if (shotname2 > 5) {
shotname2 = 1;
}
duplicateMovieClip ("_root.star", "star" + shotname2, shotname2);
stop();
Symbol 252 MovieClip Frame 2
shotname2 = shotname2 + 1;
if (shotname2 > 5) {
shotname2 = 1;
}
duplicateMovieClip ("_root.star", "star" + shotname2, shotname2);
Symbol 252 MovieClip Frame 3
shotname2 = shotname2 + 1;
if (shotname2 > 5) {
shotname2 = 1;
}
duplicateMovieClip ("_root.star", "star" + shotname2, shotname2);
Symbol 252 MovieClip Frame 4
shotname2 = shotname2 + 1;
if (shotname2 > 5) {
shotname2 = 1;
}
duplicateMovieClip ("_root.star", "star" + shotname2, shotname2);
gotoAndStop (1);
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 2
play();
Symbol 260 MovieClip Frame 3
gotoAndStop (1);
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
play();
Symbol 261 MovieClip Frame 4
gotoAndStop (1);
Instance of Symbol 265 MovieClip "valoputous" in Symbol 266 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
}
}
Symbol 281 MovieClip Frame 1
play();
Symbol 281 MovieClip Frame 148
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 149
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 150
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 218
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 219
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 220
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 294
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 295
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 296
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 338
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 339
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 340
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 358
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 359
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 360
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 402
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 403
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 404
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 464
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 465
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 466
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 281 MovieClip Frame 508
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 509
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 281 MovieClip Frame 510
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 286 MovieClip Frame 5
stop();
Instance of Symbol 286 MovieClip "hsghshtbhhsffd" in Symbol 287 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
}
}
Symbol 289 Button
on (press, release) {
if (_root.apu60.hitTest(_root.apu61)) {
tellTarget ("_root") {
gotoAndPlay ("voitto1");
};
}
}
on (press, release) {
if (_root.apu660.hitTest(_root.apu661)) {
tellTarget ("_root") {
gotoAndPlay ("voitto3");
};
}
}
on (press, release) {
if (_root.apu560.hitTest(_root.apu561)) {
tellTarget ("_root") {
gotoAndPlay ("voitto4");
};
}
}
on (press, release) {
if (_root.apu50.hitTest(_root.apu51)) {
tellTarget ("_root") {
gotoAndPlay ("voitto2");
};
}
}
on (press, release) {
if (_root.apu70.hitTest(_root.apu71)) {
tellTarget ("_root") {
gotoAndPlay ("voitto5");
};
}
}
Symbol 292 MovieClip Frame 1
stop();
if (hit1.hitTest(energia.hit2)) {
gotoAndStop (1);
}
Instance of Symbol 261 MovieClip "shield" in Symbol 292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ufocraft.booom.apu21.hitTest(_root.ufocraft.booom.apu20)) {
tellTarget ("_root.ufocraft.shield") {
gotoAndPlay (2);
};
}
}
Symbol 292 MovieClip Frame 68
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 292 MovieClip Frame 69
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 292 MovieClip Frame 70
stop();
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 300 MovieClip Frame 2
tellTarget ("_root.aliendub.kaikkipois") {
play();
};
Symbol 300 MovieClip Frame 3
removeMovieClip("_root.y9");
removeMovieClip("_root.y10");
removeMovieClip("_root.y11");
removeMovieClip("_root.y12");
removeMovieClip("_root.y13");
removeMovieClip("_root.y14");
removeMovieClip("_root.y15");
removeMovieClip("_root.y16");
removeMovieClip("_root.y1");
removeMovieClip("_root.y2");
removeMovieClip("_root.y3");
removeMovieClip("_root.y4");
removeMovieClip("_root.y5");
removeMovieClip("_root.y6");
removeMovieClip("_root.y7");
removeMovieClip("_root.y8");
Symbol 300 MovieClip Frame 5
tellTarget ("_root.aliendub.kaikkipois") {
play();
};
Symbol 300 MovieClip Frame 6
stop();
removeMovieClip("\"../shot\" add shotname");
Symbol 305 MovieClip Frame 6
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
gunx = _x;
guny = _y;
sx = getProperty("../mies", _x);
sy = getProperty("../mies", _y);
mouse_x = getProperty("../mies", _x) - gunx;
mouse_y = getProperty("../mies", _y) - guny;
if (Number(mouse_x) < 0) {
abs_mouse_x = Number(mouse_x) + Number(mouse_x * -2);
xsign = -1;
} else {
abs_mouse_x = mouse_x;
xsign = 1;
}
if (Number(mouse_y) < 0) {
abs_mouse_y = Number(mouse_y) + Number(mouse_y * -2);
ysign = -1;
} else {
abs_mouse_y = mouse_y;
ysign = 1;
}
input = Number(abs_mouse_x * abs_mouse_x) + Number(abs_mouse_y * abs_mouse_y);
call("sqrt");
hyp = output;
sin_theta = abs_mouse_y / hyp;
counter = 0;
found = 0;
while (!found) {
if (Number(substring(..:sine_lookup_table, Number(counter * 6) + 1, 5)) <= Number(sin_theta)) {
angle = counter;
} else {
found = 1;
}
counter = Number(counter) + 1;
}
if (Number(sx) < Number(gunx)) {
angle = Number(90 - angle) + 90;
}
if (Number(sy) > Number(guny)) {
angle = Number(angle) + 180;
} else {
angle = Number(90 - angle) + 90;
}
_rotation = angle;
shootnow = Number(random(150)) + 1;
if (Number(shootnow) <= Number(shootchance)) {
shotname = Number(shotname) + 1;
if (Number(shotname) >= 10) {
shotname = 1;
}
duplicateMovieClip ("../star", "shot" add shotname, shotname);
setProperty("../shot" add shotname, _rotation , angle);
setProperty("../shot" add shotname, _x , gunx);
setProperty("../shot" add shotname, _y , guny);
}
Symbol 306 MovieClip Frame 3
gotoAndPlay (2);
Symbol 306 MovieClip Frame 10
n = 1;
counter = 0;
while (Number(counter) < 11) {
n = n - (((n * n) - input) / (2 * n));
counter = Number(counter) + 1;
}
output = n;
Symbol 306 MovieClip Frame 14
gotoAndStop (1);
Symbol 306 MovieClip Frame 15
stop();
Symbol 311 MovieClip Frame 8
stop();
Symbol 316 MovieClip Frame 5
stop();
Symbol 317 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 17
stop();
Symbol 329 MovieClip Frame 32
stop();
Symbol 329 MovieClip Frame 48
stop();
Symbol 329 MovieClip Frame 65
stop();
Symbol 329 MovieClip Frame 82
stop();
Symbol 329 MovieClip Frame 101
stop();
Symbol 329 MovieClip Frame 120
stop();
Symbol 329 MovieClip Frame 140
stop();
Symbol 329 MovieClip Frame 158
gotoAndStop (1);
Symbol 341 MovieClip Frame 1
play();
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
play();
Symbol 353 MovieClip Frame 4
gotoAndStop (1);
Symbol 353 MovieClip Frame 5
play();
Symbol 353 MovieClip Frame 7
gotoAndStop (1);
Symbol 353 MovieClip Frame 8
play();
Symbol 353 MovieClip Frame 10
gotoAndStop (1);
Symbol 353 MovieClip Frame 11
play();
Symbol 353 MovieClip Frame 13
gotoAndStop (1);
Symbol 353 MovieClip Frame 14
play();
Symbol 353 MovieClip Frame 17
gotoAndStop (1);
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 1
a = eye._y - _ymouse;
b = eye._x - _xmouse;
angleA = Math.atan2(a, b);
degrees = angleA / (Math.pi / 180);
setProperty("eye", _rotation , degrees);
a2 = eye2._y - _ymouse;
b2 = eye2._x - _xmouse;
angleA2 = Math.atan2(a2, b2);
degrees2 = angleA2 / (Math.pi / 180);
setProperty("eye2", _rotation , degrees2);
Symbol 357 MovieClip Frame 2
gotoAndPlay (1);
Symbol 379 MovieClip Frame 35
stop();
Symbol 379 MovieClip Frame 36
stop();
Symbol 381 Button
on (press, release) {
if (_root.apu60.hitTest(_root.apu61)) {
tellTarget ("_root") {
gotoAndPlay ("gameover");
};
}
}
on (press, release) {
if (_root.apu660.hitTest(_root.apu661)) {
tellTarget ("_root") {
gotoAndPlay ("gameover0");
};
}
}
on (press, release) {
if (_root.apu560.hitTest(_root.apu561)) {
tellTarget ("_root") {
gotoAndPlay ("gameover7");
};
}
}
on (rollOver, rollOut, press, release, dragOut, dragOver, releaseOutside) {
if (_root.apu50.hitTest(_root.apu51)) {
tellTarget ("_root") {
gotoAndPlay ("gameover2");
};
}
}
on (press, release) {
if (_root.apu70.hitTest(_root.apu71)) {
tellTarget ("_root") {
gotoAndPlay ("gameover3");
};
}
}
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
play();
Symbol 382 MovieClip Frame 4
gotoAndStop (1);
if (Key.isDown(40)) {
gotoAndPlay (2);
}
Symbol 382 MovieClip Frame 11
stop();
Symbol 384 MovieClip Frame 16
stop();
removeMovieClip("_root.musta");
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 5
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 16
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 27
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 37
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 48
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 60
tellTarget ("_root.puhe") {
play();
};
Symbol 389 MovieClip Frame 70
tellTarget ("_root.mies") {
gotoAndPlay ("kuolo");
};
stop();
Symbol 389 MovieClip Frame 80
gotoAndStop (71);
Symbol 399 MovieClip Frame 8
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 1
stop();
Instance of Symbol 400 MovieClip "lisäpanoksetL2" in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
gotoAndStop (2);
tellTarget ("_root.dub") {
gotoAndStop (1);
};
}
}
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 2
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 3
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 4
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 5
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 6
removeMovieClip("_root.bullet6");
removeMovieClip("_root.bullet7");
removeMovieClip("_root.bullet8");
removeMovieClip("_root.bullet9");
removeMovieClip("_root.bullet10");
removeMovieClip("_root.bullet11");
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 7
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 8
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 9
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 10
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 11
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 12
removeMovieClip("_root.bullet1");
removeMovieClip("_root.bullet2");
removeMovieClip("_root.bullet3");
removeMovieClip("_root.bullet4");
removeMovieClip("_root.bullet5");
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 13
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 14
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 15
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 16
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 17
removeMovieClip("_root.bullet6");
removeMovieClip("_root.bullet7");
removeMovieClip("_root.bullet8");
removeMovieClip("_root.bullet9");
removeMovieClip("_root.bullet10");
removeMovieClip("_root.bullet11");
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 18
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 19
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 20
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 21
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 22
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 23
removeMovieClip("_root.bullet1");
removeMovieClip("_root.bullet2");
removeMovieClip("_root.bullet3");
removeMovieClip("_root.bullet4");
removeMovieClip("_root.bullet5");
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 24
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 25
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 26
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 27
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 28
removeMovieClip("_root.bullet6");
removeMovieClip("_root.bullet7");
removeMovieClip("_root.bullet8");
removeMovieClip("_root.bullet9");
removeMovieClip("_root.bullet10");
removeMovieClip("_root.bullet11");
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 29
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 30
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 31
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 32
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 33
shotname = shotname + 1;
if (shotname > 5) {
shotname = 1;
}
duplicateMovieClip ("_root.bullet", "bullet" + shotname, shotname);
Symbol 406 MovieClip Frame 34
tellTarget ("_root.lis\u00E4panokset") {
nextFrame();
};
tellTarget ("_root.lis\u00E4panokset.lis\u00E4panoksetL2") {
gotoAndStop (1);
};
Symbol 406 MovieClip Frame 36
gotoAndStop (35);
Symbol 410 Button
on (release) {
gotoAndStop (177);
stopAllSounds();
}
Symbol 412 Button
on (release) {
gotoAndStop (197);
stopAllSounds();
}
Symbol 416 Button
on (release) {
gotoAndStop (278);
stopAllSounds();
}
Symbol 421 Button
on (release) {
stopAllSounds();
gotoAndStop (283);
}
Symbol 431 MovieClip Frame 1
play();
Symbol 431 MovieClip Frame 148
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 149
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 150
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 316
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 317
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 318
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 482
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 483
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 484
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 494
tellTarget ("_root.beam") {
play();
};
Symbol 431 MovieClip Frame 528
tellTarget ("_root.beam") {
play();
};
Symbol 431 MovieClip Frame 588
tellTarget ("_root.beam") {
play();
};
Symbol 431 MovieClip Frame 602
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 603
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 604
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 618
tellTarget ("_root.beam") {
play();
};
Symbol 431 MovieClip Frame 623
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 624
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 625
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 682
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 683
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 684
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 770
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 771
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 772
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 431 MovieClip Frame 850
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 851
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 431 MovieClip Frame 852
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 433 MovieClip Frame 1
stop();
if (hit1.hitTest(energia.hit2)) {
gotoAndStop (1);
}
Instance of Symbol 261 MovieClip "shield" in Symbol 433 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ufocraft.booom.apu21.hitTest(_root.ufocraft.booom.apu20)) {
tellTarget ("_root.ufocraft.shield") {
gotoAndPlay (2);
};
}
}
Symbol 433 MovieClip Frame 48
tellTarget ("_root.pullo") {
gotoAndStop (2);
};
Symbol 433 MovieClip Frame 92
tellTarget ("_root.pullo") {
gotoAndPlay (2);
};
Symbol 433 MovieClip Frame 98
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 433 MovieClip Frame 99
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 433 MovieClip Frame 100
stop();
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 440 MovieClip Frame 8
stop();
Symbol 452 MovieClip Frame 5
stop();
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 2
gunax = _x;
gunay = _y;
sx = getProperty("../mies", _x);
sy = getProperty("../mies", _y);
mouse_x = getProperty("../mies", _x) - gunax;
mouse_y = getProperty("../mies", _y) - gunay;
if (Number(mouse_x) < 0) {
abs_mouse_x = Number(mouse_x) + Number(mouse_x * -2);
xsign = -1;
} else {
abs_mouse_x = mouse_x;
xsign = 1;
}
if (Number(mouse_y) < 0) {
abs_mouse_y = Number(mouse_y) + Number(mouse_y * -2);
ysign = -1;
} else {
abs_mouse_y = mouse_y;
ysign = 1;
}
input = Number(abs_mouse_x * abs_mouse_x) + Number(abs_mouse_y * abs_mouse_y);
call("sqrt");
hyp = output;
sin_theta = abs_mouse_y / hyp;
counter = 0;
found = 0;
while (!found) {
if (Number(substring(..:sine_lookup_table, Number(counter * 6) + 1, 5)) <= Number(sin_theta)) {
angle = counter;
} else {
found = 1;
}
counter = Number(counter) + 1;
}
if (Number(sx) < Number(gunax)) {
angle = Number(90 - angle) + 90;
}
if (Number(sy) > Number(gunay)) {
angle = Number(angle) + 180;
} else {
angle = Number(90 - angle) + 90;
}
_rotation = angle;
shootnow = Number(random(100)) + 1;
if (Number(shootnow) <= Number(shootchance)) {
shotname = Number(shotname) + 1;
if (Number(shotname) >= 30) {
shotname = 1;
}
duplicateMovieClip (_root.beam, beam, 47);
}
Symbol 453 MovieClip Frame 3
gotoAndPlay (2);
Symbol 453 MovieClip Frame 10
n = 1;
counter = 0;
while (Number(counter) < 11) {
n = n - (((n * n) - input) / (2 * n));
counter = Number(counter) + 1;
}
output = n;
Symbol 453 MovieClip Frame 14
gotoAndStop (1);
Symbol 453 MovieClip Frame 15
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 17
stop();
Symbol 462 MovieClip Frame 32
stop();
Symbol 462 MovieClip Frame 48
stop();
Symbol 462 MovieClip Frame 65
stop();
Symbol 462 MovieClip Frame 82
stop();
Symbol 462 MovieClip Frame 101
stop();
Symbol 462 MovieClip Frame 120
stop();
Symbol 462 MovieClip Frame 140
stop();
Symbol 462 MovieClip Frame 158
gotoAndStop (1);
Symbol 464 Button
on (release) {
gotoAndStop (278);
stopAllSounds();
}
Symbol 465 Button
on (release) {
gotoAndStop (432);
stopAllSounds();
}
Symbol 466 Button
on (release) {
stopAllSounds();
gotoAndStop (437);
}
Symbol 470 MovieClip Frame 51
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 52
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 53
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 62
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 92
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 154
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 184
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 208
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 219
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 220
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 221
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 268
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 269
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 270
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 280
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 305
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 348
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 370
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 414
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 432
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 436
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 437
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 438
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 528
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 529
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 530
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 532
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 542
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 553
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 605
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 657
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 692
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 696
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 697
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 698
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 760
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 761
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 762
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 470 MovieClip Frame 764
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 771
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 780
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 787
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 887
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 894
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 901
tellTarget ("_root.beam") {
play();
};
Symbol 470 MovieClip Frame 905
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 906
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 470 MovieClip Frame 907
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 471 MovieClip Frame 1
stop();
if (hit1.hitTest(energia.hit2)) {
gotoAndStop (1);
}
Instance of Symbol 261 MovieClip "shield" in Symbol 471 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ufocraft.booom.apu21.hitTest(_root.ufocraft.booom.apu20)) {
tellTarget ("_root.ufocraft.shield") {
gotoAndPlay (2);
};
}
}
Symbol 471 MovieClip Frame 82
tellTarget ("_root.pullo") {
gotoAndPlay (2);
};
Symbol 471 MovieClip Frame 185
tellTarget ("_root.pullo2") {
gotoAndPlay (2);
};
Symbol 471 MovieClip Frame 224
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 471 MovieClip Frame 225
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 471 MovieClip Frame 226
stop();
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 481 MovieClip Frame 1
stop();
Symbol 481 MovieClip Frame 17
stop();
Symbol 481 MovieClip Frame 32
stop();
Symbol 481 MovieClip Frame 48
stop();
Symbol 481 MovieClip Frame 73
stop();
Symbol 481 MovieClip Frame 90
stop();
Symbol 481 MovieClip Frame 109
stop();
Symbol 481 MovieClip Frame 128
stop();
Symbol 481 MovieClip Frame 148
stop();
Symbol 481 MovieClip Frame 166
gotoAndStop (1);
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
stop();
Instance of Symbol 8 MovieClip "sydan" in Symbol 484 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pullo2.sydan.hitTest(_root.mies)) {
tellTarget ("_root.pullo2") {
play();
};
}
}
Symbol 484 MovieClip Frame 3
play();
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 484 MovieClip Frame 5
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 484 MovieClip Frame 9
tellTarget ("_root.pullo") {
setProperty("_root.pullo", _y , _y + 500);
};
Symbol 484 MovieClip Frame 10
stop();
tellTarget ("_root.health") {
gotoAndStop (1);
};
Symbol 488 Button
on (release) {
gotoAndStop (432);
stopAllSounds();
}
Symbol 489 Button
on (release) {
gotoAndStop (511);
stopAllSounds();
}
Symbol 490 Button
on (release) {
stopAllSounds();
gotoAndStop (517);
}
Symbol 498 MovieClip Frame 1
play();
Symbol 498 MovieClip Frame 146
tellTarget ("_root.gun.sahko") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 190
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 191
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 192
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 243
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 244
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 245
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 246
tellTarget ("_root.bottle") {
nextFrame();
};
tellTarget ("_root.bottle.pullo") {
gotoAndStop (2);
};
Symbol 498 MovieClip Frame 343
tellTarget ("_root.gun.sahko") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 384
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 385
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 386
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 498 MovieClip Frame 437
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 438
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 439
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 498 MovieClip Frame 440
tellTarget ("_root.bottle") {
nextFrame();
};
tellTarget ("_root.bottle.pullo") {
gotoAndStop (2);
};
Symbol 501 MovieClip Frame 1
stop();
if (hit1.hitTest(energia.hit2)) {
gotoAndStop (1);
}
Instance of Symbol 261 MovieClip "shield" in Symbol 501 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ufocraft.booom.apu21.hitTest(_root.ufocraft.booom.apu20)) {
tellTarget ("_root.ufocraft.shield") {
gotoAndPlay (2);
};
}
}
Symbol 501 MovieClip Frame 248
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 501 MovieClip Frame 249
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 501 MovieClip Frame 250
stop();
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 17
stop();
Symbol 511 MovieClip Frame 32
stop();
Symbol 511 MovieClip Frame 48
stop();
Symbol 511 MovieClip Frame 65
stop();
Symbol 511 MovieClip Frame 82
stop();
Symbol 511 MovieClip Frame 101
stop();
Symbol 511 MovieClip Frame 120
stop();
Symbol 511 MovieClip Frame 140
stop();
Symbol 511 MovieClip Frame 158
gotoAndStop (1);
Symbol 517 MovieClip Frame 5
stop();
Symbol 518 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(350)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(650))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
_x = (Number(my_x) + Number(xmov));
_y = (Number(my_y) + Number(ymov));
}
Symbol 518 MovieClip Frame 2
shipx = getProperty("../ship", _x);
shipy = getProperty("../ship", _y);
shipwidth = getProperty("../ship", _width);
shipheight = getProperty("../ship", _height);
shiptop = shipy - (shipheight / 2);
shipbottom = Number(shipy) + Number(shipheight / 2);
shipleft = shipx - (shipwidth / 2);
shipright = Number(shipx) + Number(shipwidth / 2);
if ((((Number(my_x) > Number(shipleft)) and (Number(my_x) < Number(shipright))) and (Number(my_y) > Number(shiptop))) and (Number(my_y) < Number(shipbottom))) {
tellTarget ("../ship/hitdisplay") {
play();
};
}
Symbol 518 MovieClip Frame 3
gotoAndPlay (1);
Symbol 518 MovieClip Frame 4
stop();
Symbol 525 MovieClip Frame 6
stop();
Symbol 543 MovieClip Frame 1
stop();
Symbol 543 MovieClip Frame 45
stop();
Symbol 548 MovieClip Frame 6
stop();
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
gunx = _x;
guny = _y;
sx = getProperty("../mies", _x);
sy = getProperty("../mies", _y);
mouse_x = getProperty("../mies", _x) - gunx;
mouse_y = getProperty("../mies", _y) - guny;
if (Number(mouse_x) < 0) {
abs_mouse_x = Number(mouse_x) + Number(mouse_x * -2);
xsign = -1;
} else {
abs_mouse_x = mouse_x;
xsign = 1;
}
if (Number(mouse_y) < 0) {
abs_mouse_y = Number(mouse_y) + Number(mouse_y * -2);
ysign = -1;
} else {
abs_mouse_y = mouse_y;
ysign = 1;
}
input = Number(abs_mouse_x * abs_mouse_x) + Number(abs_mouse_y * abs_mouse_y);
call("sqrt");
hyp = output;
sin_theta = abs_mouse_y / hyp;
counter = 0;
found = 0;
while (!found) {
if (Number(substring(..:sine_lookup_table, Number(counter * 6) + 1, 5)) <= Number(sin_theta)) {
angle = counter;
} else {
found = 1;
}
counter = Number(counter) + 1;
}
if (Number(sx) < Number(gunx)) {
angle = Number(90 - angle) + 90;
}
if (Number(sy) > Number(guny)) {
angle = Number(angle) + 180;
} else {
angle = Number(90 - angle) + 90;
}
_rotation = angle;
shootnow = Number(random(150)) + 1;
if (Number(shootnow) <= Number(shootchance)) {
shotname = Number(shotname) + 1;
if (Number(shotname) >= 10) {
shotname = 1;
}
duplicateMovieClip ("../star", "shot" add shotname, shotname);
setProperty("../shot" add shotname, _rotation , angle);
setProperty("../shot" add shotname, _x , gunx);
setProperty("../shot" add shotname, _y , guny);
}
Symbol 549 MovieClip Frame 3
gotoAndPlay (2);
Symbol 549 MovieClip Frame 10
n = 1;
counter = 0;
while (Number(counter) < 11) {
n = n - (((n * n) - input) / (2 * n));
counter = Number(counter) + 1;
}
output = n;
Symbol 552 MovieClip Frame 1
stop();
Instance of Symbol 400 MovieClip "lisäpanoksetL2" in Symbol 552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
gotoAndStop (2);
tellTarget ("_root.dub") {
gotoAndStop (1);
};
}
}
Symbol 554 Button
on (release) {
gotoAndStop (511);
stopAllSounds();
}
Symbol 555 Button
on (release) {
gotoAndStop (666);
stopAllSounds();
}
Symbol 556 Button
on (release) {
stopAllSounds();
gotoAndStop (672);
}
Symbol 564 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 5
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 20
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 36
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 49
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 62
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 82
tellTarget ("_root.puhe") {
play();
};
Symbol 564 MovieClip Frame 90
tellTarget ("_root.mies") {
gotoAndPlay ("kuolo");
};
stop();
Symbol 564 MovieClip Frame 100
gotoAndStop (91);
Symbol 567 MovieClip Frame 1
play();
Symbol 567 MovieClip Frame 59
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 60
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 61
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 71
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 105
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 165
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 195
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 222
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 227
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 228
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 229
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 421
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 422
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 423
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 433
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 450
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 468
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 496
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 520
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 540
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 562
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 587
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 589
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 590
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 591
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 602
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 603
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 604
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 722
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 723
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 724
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 779
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 780
tellTarget ("_root.beam") {
play();
};
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 781
tellTarget ("_root.guna") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 805
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 832
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 858
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 886
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 914
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 946
tellTarget ("_root.beam") {
play();
};
Symbol 567 MovieClip Frame 947
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 948
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 949
tellTarget ("_root.guna") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 994
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 995
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 996
tellTarget ("_root.gun") {
gotoAndPlay (2);
};
Symbol 567 MovieClip Frame 1074
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 1075
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 567 MovieClip Frame 1076
tellTarget ("_root.gun") {
gotoAndStop (1);
};
Symbol 569 MovieClip Frame 1
stop();
if (hit1.hitTest(energia.hit2)) {
gotoAndStop (1);
}
Instance of Symbol 261 MovieClip "shield" in Symbol 569 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ufocraft.booom.apu21.hitTest(_root.ufocraft.booom.apu20)) {
tellTarget ("_root.ufocraft.shield") {
gotoAndPlay (2);
};
}
}
Symbol 569 MovieClip Frame 80
tellTarget ("_root.pullo") {
gotoAndPlay (2);
};
Symbol 569 MovieClip Frame 157
tellTarget ("_root.pullo2") {
gotoAndPlay (2);
};
Symbol 569 MovieClip Frame 229
tellTarget ("_root.pullo") {
gotoAndPlay (2);
};
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 569 MovieClip Frame 230
tellTarget ("_root.gun") {
gotoAndStop (15);
};
tellTarget ("_root.guna") {
gotoAndStop (15);
};
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 569 MovieClip Frame 231
stop();
removeMovieClip("_root.gun");
removeMovieClip("_root.guna");
Symbol 576 MovieClip Frame 1
stop();
Instance of Symbol 573 MovieClip in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.tausta)) {
play();
}
}
Symbol 576 MovieClip Frame 2
play();
Symbol 576 MovieClip Frame 300
stop();
Symbol 578 MovieClip Frame 1
stop();
Symbol 578 MovieClip Frame 20
stop();
Instance of Symbol 286 MovieClip "hsghshtbhhsffd" in Symbol 578 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
tellTarget ("_root.health") {
nextFrame();
};
}
}
Symbol 579 MovieClip Frame 1
stop();
Instance of Symbol 400 MovieClip "lisäpanoksetL2" in Symbol 579 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mies.target)) {
gotoAndStop (2);
tellTarget ("_root.dub") {
gotoAndStop (1);
};
}
}
Symbol 581 Button
on (release) {
gotoAndStop (666);
stopAllSounds();
}
Symbol 583 Button
on (release) {
gotoAndStop (748);
stopAllSounds();
}