Combined Code
frame 1 {
}
frame 1 {
stop();
/:lives = 70;
/:points = 0;
/:deflects = 0;
/progress._xscale = /:lives;
/progress._visible = true;
loadMovie('spree_sounds.swf', 'bg_music');
c1 = _url.indexOf('://') + 3;
c2 = _url.indexOf('/', c1);
domain = _url.substring(c1, c2);
c3 = domain.lastIndexOf('.') - 1;
c4 = domain.lastIndexOf('.', c3) + 1;
domain = domain.substring(c4, domain.length);
if (domain != 'kidscom.com') {
_root.gotoAndStop('illegal');
}
}
movieClip 5 {
}
movieClip 8 {
}
button 11 {
on (release) {
_root.how_to_play.gotoAndStop('on');
_root.gotoAndPlay(2);
}
}
movieClip 12 {
frame 30 {
gotoAndPlay(1);
}
frame 31 {
stop();
}
}
instance loading of movieClip 12 {
onClipEvent (enterFrame) {
/:percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
/:FrameLoad = Math.round(/:percent) + '%';
if (/:percent >= 100) {
tellTarget ('_root.loading') {
gotoAndStop(31);
}
}
}
onClipEvent (mouseMove) {
if (/:percent >= 100) {
tellTarget ('_root.loading') {
gotoAndStop(31);
}
}
}
}
movieClip 28 {
}
movieClip 29 {
}
movieClip 40 {
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 58 {
}
movieClip 68 {
}
button 84 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 85 {
frame 398 {
stop();
}
frame 399 {
stop();
}
}
movieClip 87 {
}
button 102 {
on (release) {
how_to_play.gotoAndStop('on');
}
}
button 106 {
on (release) {
gotoAndPlay(16);
}
}
button 109 {
on (release) {
gotoAndPlay(1);
}
}
button 112 {
on (release) {
getURL('/games/games.html', '');
}
}
button 127 {
on (release) {
gotoAndStop(1);
}
}
button 132 {
on (release) {
gotoAndPlay(1);
}
}
movieClip 134 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 137 {
}
movieClip 138 {
}
movieClip 142 {
frame 1 {
stop();
}
frame 13 {
gotoAndStop(1);
}
}
frame 2 {
stop();
/progress._xscale = /:lives;
stopAllSounds();
_root.bg_music.gotoAndStop(2);
}
movieClip 147 {
}
movieClip 148 {
}
movieClip 151 {
frame 9 {
gotoAndPlay(1);
}
frame 20 {
_root.gotoAndPlay('level1');
gotoAndPlay(1);
}
}
button 152 {
on (release) {
fraz.gotoAndPlay('go');
how_to_play.gotoAndStop('off');
}
}
frame 3 {
function initiate() {
/:speed = 15;
i = 0;
a = 0;
}
function check_placement() {
/progress._xscale = /:lives;
if (0 >= /:lives) {
/progress._visible = false;
_root.gotoAndStop('game_over');
}
if (bg._x < -300) {
bg._x = 1335.5;
collisions._x = 1335.5;
collisions.pu1.gotoAndPlay(1);
collisions.pu2.gotoAndPlay(1);
collisions.pu3.gotoAndPlay(1);
collisions.pu4.gotoAndPlay(1);
++i;
if (i == 3) {
gotoAndStop(4);
}
}
if (Key.isDown(32)) {
tra.gotoandPlay(2);
}
if (Key.isDown(68)) {
_root.cheat.gotoAndPlay(2);
/:speed += 5;
}
if (Key.isDown(65)) {
_root.cheat.gotoAndPlay(2);
if (15 < /:speed) {
/:speed -= 5;
}
}
if (Key.isDown(Key.UP)) {
tra._y -= 10;
}
if (Key.isDown(Key.DOWN)) {
tra._y += 10;
}
if (Key.isDown(75)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('pre_battle');
}
if (Key.isDown(74)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('elevator');
}
if (Key.isDown(84)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('bonus');
}
if (Key.isDown(76)) {
_root.cheat.gotoAndPlay(2);
/:lives = 70;
}
if (/:stand == 1) {
if (tra._y < 117) {
tra._y = 117;
}
} else {
if (tra._y < 100) {
tra._y = 100;
}
}
if (325 < tra._y) {
tra._y = 325;
}
tra._x = 140;
if (_ymouse < 40) {
Mouse.show();
} else {
Mouse.hide();
}
}
stop();
}
movieClip 161 {
}
instance bg of movieClip 161 {
}
movieClip 166 {
}
instance of movieClip 166 {
onClipEvent (load) {
_root.initiate();
}
onClipEvent (enterFrame) {
_root.bg._x -= /:speed;
_root.collisions._x -= /:speed;
_root.check_placement();
}
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 172 {
}
movieClip 174 {
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 181 {
}
movieClip 183 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 185 {
}
movieClip 187 {
}
movieClip 190 {
}
movieClip 191 {
}
movieClip 193 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 195 {
}
movieClip 196 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 197 {
}
movieClip 198 {
}
movieClip 199 {
}
movieClip 202 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 203 {
}
movieClip 204 {
}
movieClip 205 {
}
movieClip 206 {
instance of movieClip 168 {
onClipEvent (enterFrame) {
_root.status1a = this.hitTest(_root.tra.hit);
if (_root.status1a eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 170 {
onClipEvent (enterFrame) {
_root.status1b = this.hitTest(_root.tra.hit);
if (_root.status1b eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 172 {
onClipEvent (enterFrame) {
_root.status1c = this.hitTest(_root.tra.hit);
if (_root.status1c eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 5;
}
}
}
instance of movieClip 177 {
onClipEvent (enterFrame) {
_root.status1d = this.hitTest(_root.tra.hit);
if (_root.status1d eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance pu1 of movieClip 183 {
onClipEvent (enterFrame) {
_root.status1e = this.hitTest(_root.tra.hit);
if (_root.status1e eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
_root.status1f = this.hit_foun.hitTest(_root.tra.hit);
if (_root.status1f eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 191 {
onClipEvent (enterFrame) {
_root.status1k = this.hitTest(_root.tra.hit);
if (_root.status1k eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance pu2 of movieClip 193 {
onClipEvent (enterFrame) {
_root.status1h = this.hitTest(_root.tra.hit);
if (_root.status1h eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance pu3 of movieClip 196 {
onClipEvent (enterFrame) {
_root.status_lip = this.hitTest(_root.tra.hit);
if (_root.status_lip eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 197 {
onClipEvent (enterFrame) {
_root.status1l = this.hitTest(_root.tra.hit);
if (_root.status1l eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 198 {
onClipEvent (enterFrame) {
_root.status1m = this.hitTest(_root.tra.hit);
if (_root.status1m eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 199 {
onClipEvent (enterFrame) {
_root.status1n = this.hitTest(_root.tra.hit);
if (_root.status1n eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance pu4 of movieClip 202 {
onClipEvent (enterFrame) {
_root.status_riz = this.hitTest(_root.tra.hit);
if (_root.status_riz eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
_root.status1g = this.hitTest(_root.tra.hit);
if (_root.status1g eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 204 {
onClipEvent (enterFrame) {
_root.status1o = this.hitTest(_root.tra.hit);
if (_root.status1o eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 5;
}
}
}
instance of movieClip 205 {
onClipEvent (enterFrame) {
_root.status1i = this.hitTest(_root.tra.hit);
if (_root.status1i eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
}
movieClip 209 {
frame 1 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 212 {
}
movieClip 213 {
frame 1 {
stop();
/:stand = 1;
}
frame 2 {
/:stand = 0;
}
frame 4 {
gotoAndPlay(1);
/:stand = 0;
}
frame 5 {
/:stand = 1;
}
frame 12 {
gotoAndStop(1);
}
}
frame 4 {
stop();
Mouse.show();
}
movieClip 217 {
}
button 218 {
on (release) {
gotoAndPlay(5);
}
}
frame 5 {
stop();
}
instance bg of movieClip 161 {
}
movieClip 220 {
frame 38 {
_root.gotoAndStop('pre_level2_b');
}
}
frame 6 {
stop();
stopAllSounds();
_root.bg_music.gotoAndStop(3);
}
movieClip 223 {
}
movieClip 224 {
frame 19 {
_root.gotoAndStop('level2');
}
}
frame 7 {
function check_placement2() {
/progress._xscale = /:lives;
if (0 >= /:lives) {
/progress._visible = false;
_root.gotoAndStop('game_over');
}
if (bg2._x < -300) {
bg2._x = 1335.5;
collisions2._x = 1335.5;
collisions2.t_pu1.gotoAndPlay(1);
collisions2.t_pu2.gotoAndPlay(1);
collisions2.t_pu3.gotoAndPlay(1);
collisions2.t_pu4.gotoAndPlay(1);
collisions2.t_pu5.gotoAndPlay(1);
collisions2.t_pu6.gotoAndPlay(1);
collisions2.t_pu7.gotoAndPlay(1);
collisions2.t_pu8.gotoAndPlay(1);
collisions2.t_pu9.gotoAndPlay(1);
++a;
if (a == 3) {
gotoAndStop(8);
}
}
if (Key.isDown(32)) {
tra.gotoandPlay(2);
}
if (Key.isDown(68)) {
_root.cheat.gotoAndPlay(2);
/:speed += 5;
}
if (Key.isDown(65)) {
_root.cheat.gotoAndPlay(2);
if (15 < /:speed) {
/:speed -= 5;
}
}
if (Key.isDown(Key.UP)) {
tra._y -= 10;
}
if (Key.isDown(Key.DOWN)) {
tra._y += 10;
}
if (Key.isDown(75)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('pre_battle');
}
if (Key.isDown(74)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('elevator');
}
if (Key.isDown(84)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('bonus');
}
if (Key.isDown(76)) {
_root.cheat.gotoAndPlay(2);
/:lives = 70;
}
if (/:stand == 1) {
if (tra._y < 117) {
tra._y = 117;
}
} else {
if (tra._y < 100) {
tra._y = 100;
}
}
if (325 < tra._y) {
tra._y = 325;
}
tra._x = 140;
if (_ymouse < 40) {
Mouse.show();
} else {
Mouse.hide();
}
}
stop();
}
movieClip 226 {
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
_root.bg2._x -= /:speed;
_root.collisions2._x -= /:speed;
_root.check_placement2();
}
}
movieClip 227 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 228 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 229 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 235 {
}
movieClip 236 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 237 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 239 {
}
movieClip 243 {
}
movieClip 244 {
}
movieClip 245 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 246 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 247 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 248 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 249 {
}
movieClip 250 {
}
movieClip 251 {
}
movieClip 252 {
}
movieClip 253 {
}
movieClip 254 {
instance t_pu5 of movieClip 227 {
onClipEvent (enterFrame) {
_root.status2h = this.hitTest(_root.tra.hit);
if (_root.status2h eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance t_pu1 of movieClip 228 {
onClipEvent (enterFrame) {
_root.status2a = this.hitTest(_root.tra.hit);
if (_root.status2a eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance t_pu2 of movieClip 229 {
onClipEvent (enterFrame) {
_root.status2b = this.hitTest(_root.tra.hit);
if (_root.status2b eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 231 {
onClipEvent (enterFrame) {
_root.status2d = this.hitTest(_root.tra.hit);
if (_root.status2d eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 233 {
onClipEvent (enterFrame) {
_root.status2e = this.hitTest(_root.tra.hit);
if (_root.status2e eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 235 {
onClipEvent (enterFrame) {
_root.status2f = this.hitTest(_root.tra.hit);
if (_root.status2f eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance t_pu4 of movieClip 236 {
onClipEvent (enterFrame) {
_root.status2g = this.hitTest(_root.tra.hit);
if (_root.status2g eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance t_pu6 of movieClip 237 {
onClipEvent (enterFrame) {
_root.status2i = this.hitTest(_root.tra.hit);
if (_root.status2i eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 239 {
onClipEvent (enterFrame) {
_root.status2j = this.hitTest(_root.tra.hit);
if (_root.status2j eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 243 {
onClipEvent (enterFrame) {
_root.status2m = this.hitTest(_root.tra.hit);
if (_root.status2m eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 244 {
onClipEvent (enterFrame) {
_root.status2n = this.hitTest(_root.tra.hit);
if (_root.status2n eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance t_pu3 of movieClip 245 {
onClipEvent (enterFrame) {
_root.status2c = this.hitTest(_root.tra.hit);
if (_root.status2c eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance t_pu7 of movieClip 246 {
onClipEvent (enterFrame) {
_root.status2o = this.hitTest(_root.tra.hit);
if (_root.status2o eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance t_pu8 of movieClip 247 {
onClipEvent (enterFrame) {
_root.status2p = this.hitTest(_root.tra.hit);
if (_root.status2p eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance t_pu9 of movieClip 248 {
onClipEvent (enterFrame) {
_root.status2q = this.hitTest(_root.tra.hit);
if (_root.status2q eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 249 {
onClipEvent (enterFrame) {
_root.status2p = this.hitTest(_root.tra.hit);
if (_root.status2p eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 250 {
onClipEvent (enterFrame) {
_root.status2p = this.hitTest(_root.tra.hit);
if (_root.status2p eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 251 {
onClipEvent (enterFrame) {
_root.status2k = this.hitTest(_root.tra.hit);
if (_root.status2k eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 252 {
onClipEvent (enterFrame) {
_root.status2o = this.hitTest(_root.tra.hit);
if (_root.status2o eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
instance of movieClip 253 {
onClipEvent (enterFrame) {
_root.status2l = this.hitTest(_root.tra.hit);
if (_root.status2l eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 1;
}
}
}
}
frame 8 {
stop();
Mouse.show();
}
movieClip 259 {
}
button 260 {
on (release) {
stopAllSounds();
gotoAndPlay(9);
}
}
frame 9 {
stop();
how_to_play.gotoAndStop('boss_instr');
_root.bg_music.gotoAndStop(5);
}
button 261 {
on (release) {
how_to_play.gotoAndStop(1);
_root.gotoAndPlay('battle');
}
}
movieClip 267 {
}
movieClip 268 {
}
movieClip 270 {
frame 1 {
stop();
}
frame 7 {
stop();
gotoAndStop(1);
}
frame 17 {
stop();
_root.gotoAndPlay('pre_bonus');
}
}
movieClip 275 {
}
frame 10 {
function check_placement_battle() {
/progress._xscale = /:lives;
if (0 >= /:lives) {
/progress._visible = false;
_root.gotoAndStop('game_over');
}
if (Key.isDown(Key.Right)) {
tra._x += 10;
}
if (Key.isDown(Key.Left)) {
tra._x -= 10;
}
if (Key.isDown(Key.UP)) {
tra._y -= 10;
}
if (Key.isDown(Key.DOWN)) {
tra._y += 10;
}
if (Key.isDown(32)) {
tra.gotoAndPlay('sheild');
}
if (Key.isDown(75)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('pre_battle');
}
if (Key.isDown(74)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('elevator');
}
if (Key.isDown(84)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('bonus');
}
if (Key.isDown(76)) {
_root.cheat.gotoAndPlay(2);
/:lives = 70;
}
if (/:stand == 1) {
if (tra._y < 117) {
tra._y = 117;
}
} else {
if (tra._y < 100) {
tra._y = 100;
}
}
if (325 < tra._y) {
tra._y = 325;
}
if (tra._x < 0) {
tra._x = 1;
}
if (250 < tra._x) {
tra._x = 249;
}
if (_ymouse < 40) {
Mouse.show();
} else {
Mouse.hide();
}
}
stop();
how_to_play.gotoAndStop('off');
}
frame 10 {
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';
/gun11:shootchance = 5;
shotspeed = 10;
startDrag('/ship', true);
}
movieClip 279 {
}
movieClip 280 {
}
movieClip 282 {
frame 1 {
if (15 < /:deflects) {
removeMovieClip('');
}
my_x = _x;
my_y = _y;
if (Number(350) < Number(my_y) or Number(my_y) < Number(0) or Number(650) < Number(my_x) or Number(my_x) < Number(0)) {
removeMovieClip('');
} else {
_x = Number(my_x) + Number(xmov);
_y = Number(my_y) + Number(ymov);
}
_root.statussheild1 = this.hitTest(_root.tra.sheild);
if (_root.statussheild1 eq 'true') {
this.gotoAndPlay('bounce');
}
}
frame 2 {
_root.statusstar = this.hitTest(_root.tra.hit);
if (_root.statusstar eq 'true') {
_root.tra.ouch.gotoAndPlay('ouch');
/:lives -= 3;
}
gotoAndPlay(1);
}
frame 13 {
_root.jealousy.gotoAndPlay('hurt');
/:deflects += 1;
}
frame 30 {
removeMovieClip('');
if (/:deflects >= 15) {
_root.jealousy.gotoAndPlay('gone');
}
}
}
movieClip 283 {
frame 1 {
gunx = _x;
guny = _y;
sx = ../tra._x;
sy = ../tra._y;
mouse_x = ../tra._x - gunx;
mouse_y = ../tra._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(sin_theta) >= Number(substring(..:sine_lookup_table, Number(counter * 6) + 1, 5))) {
angle = counter;
} else {
found = 1;
}
counter = Number(counter) + 1;
}
if (Number(sx) < Number(gunx)) {
angle = Number(90 - angle) + 90;
} else {}
if (Number(guny) < Number(sy)) {
angle = Number(angle) + 180;
} else {
angle = Number(90 - angle) + 90;
}
_rotation = angle;
shootnow = Number(random(100)) + 1;
if (Number(shootchance) >= Number(shootnow)) {
shotname = Number(shotname) + 1;
duplicateMovieClip('../star', 'shot' add shotname, shotname);
if (Number(abs_mouse_x) >= Number(abs_mouse_y)) {
eval('../shot' add shotname add ':xmov') = ..:shotspeed * xsign;
eval('../shot' add shotname add ':ymov') = ..:shotspeed * (abs_mouse_y / abs_mouse_x) * ysign;
} else {
eval('../shot' add shotname add ':ymov') = ..:shotspeed * ysign;
eval('../shot' add shotname add ':xmov') = ..:shotspeed * (abs_mouse_x / abs_mouse_y) * xsign;
}
eval('../shot' add shotname)._rotation = angle;
eval('../shot' add shotname)._x = gunx;
eval('../shot' add shotname)._y = guny;
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
n = 1;
counter = 0;
while (Number(counter) < 11) {
n -= (n * n - input) / 2 * n;
counter = Number(counter) + 1;
}
output = n;
}
}
movieClip 285 {
}
instance of movieClip 285 {
onClipEvent (enterFrame) {
_root.check_placement_battle();
}
}
frame 11 {
stop();
stopAllSounds();
_root.bg_music.gotoAndStop(6);
t = 1;
while (t < 25) {
_root['shot' + t].removeMovieClip();
++t;
}
tellTarget ('timer') {
delay = '3000';
}
}
movieClip 289 {
frame 1 {
x = getTimer();
}
frame 3 {
if (Number(Number(x) + Number(delay)) < Number(getTimer())) {
tellTarget ('../') {
nextFrame();
play();
}
gotoAndStop(4);
} else {
prevFrame();
play();
}
}
frame 4 {
stop();
}
}
frame 12 {
function initiate_bonus() {
/:speed += 15;
}
function check_placement3() {
if (collisions_bonus._x < -1000) {
gotoAndStop(13);
}
if (Key.isDown(32)) {
tra.gotoandPlay(2);
}
if (Key.isDown(68)) {
_root.cheat.gotoAndPlay(2);
/:speed += 5;
}
if (Key.isDown(65)) {
_root.cheat.gotoAndPlay(2);
if (15 < /:speed) {
/:speed -= 5;
}
}
if (Key.isDown(Key.UP)) {
tra._y -= 10;
}
if (Key.isDown(Key.DOWN)) {
tra._y += 10;
}
if (Key.isDown(75)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('pre_battle');
}
if (Key.isDown(74)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('elevator');
}
if (Key.isDown(84)) {
_root.cheat.gotoAndPlay(2);
_root.gotoAndStop('bonus');
}
if (Key.isDown(76)) {
_root.cheat.gotoAndPlay(2);
/:lives = 100;
}
if (/:stand == 1) {
if (tra._y < 117) {
tra._y = 117;
}
} else {
if (tra._y < 100) {
tra._y = 100;
}
}
if (325 < tra._y) {
tra._y = 325;
}
tra._x = 140;
if (_ymouse < 40) {
Mouse.show();
} else {
Mouse.hide();
}
}
stop();
}
movieClip 292 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 293 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 294 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 295 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 296 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 297 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 298 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 299 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 300 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 301 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 302 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 303 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 304 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 305 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 306 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 307 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 309 {
}
movieClip 310 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 311 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 312 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 313 {
frame 4 {
gotoAndPlay(1);
}
frame 5 {
stop();
}
}
movieClip 315 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 316 {
frame 5 {
gotoAndPlay(1);
}
frame 6 {
stop();
}
}
movieClip 317 {
instance of movieClip 292 {
onClipEvent (enterFrame) {
_root.statusbv = this.hitTest(_root.tra.hit);
if (_root.statusbv eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 293 {
onClipEvent (enterFrame) {
_root.statusbk = this.hitTest(_root.tra.hit);
if (_root.statusbk eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 294 {
onClipEvent (enterFrame) {
_root.statusbo = this.hitTest(_root.tra.hit);
if (_root.statusbo eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
_root.statusbc = this.hitTest(_root.tra.hit);
if (_root.statusbc eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 296 {
onClipEvent (enterFrame) {
_root.statusbb = this.hitTest(_root.tra.hit);
if (_root.statusbb eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 297 {
onClipEvent (enterFrame) {
_root.statusbd = this.hitTest(_root.tra.hit);
if (_root.statusbd eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 298 {
onClipEvent (enterFrame) {
_root.statusbe = this.hitTest(_root.tra.hit);
if (_root.statusbe eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 299 {
onClipEvent (enterFrame) {
_root.statusbi = this.hitTest(_root.tra.hit);
if (_root.statusbi eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 300 {
onClipEvent (enterFrame) {
_root.statusbh = this.hitTest(_root.tra.hit);
if (_root.statusbh eq 'true') {
/:points += 500;
this.gotoAndStop('off');
}
}
}
instance of movieClip 301 {
onClipEvent (enterFrame) {
_root.statusbs = this.hitTest(_root.tra.hit);
if (_root.statusbs eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 302 {
onClipEvent (enterFrame) {
_root.statusbl = this.hitTest(_root.tra.hit);
if (_root.statusbl eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 303 {
onClipEvent (enterFrame) {
_root.statusbp = this.hitTest(_root.tra.hit);
if (_root.statusbp eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 304 {
onClipEvent (enterFrame) {
_root.statusbt = this.hitTest(_root.tra.hit);
if (_root.statusbt eq 'true') {
/:points += 200;
this.gotoAndStop('off');
}
}
}
instance of movieClip 305 {
onClipEvent (enterFrame) {
_root.statusbx = this.hitTest(_root.tra.hit);
if (_root.statusbx eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
_root.statusby = this.hitTest(_root.tra.hit);
if (_root.statusby eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 307 {
onClipEvent (enterFrame) {
_root.statusbz = this.hitTest(_root.tra.hit);
if (_root.statusbz eq 'true') {
/:points += 100;
this.gotoAndStop('off');
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
_root.statusbm = this.hitTest(_root.tra.hit);
if (_root.statusbm eq 'true') {
/:points += 300;
this.gotoAndStop('off');
}
}
}
instance of movieClip 311 {
onClipEvent (enterFrame) {
_root.statusbq = this.hitTest(_root.tra.hit);
if (_root.statusbq eq 'true') {
/:points += 300;
this.gotoAndStop('off');
}
}
}
instance of movieClip 312 {
onClipEvent (enterFrame) {
_root.statusbn = this.hitTest(_root.tra.hit);
if (_root.statusbn eq 'true') {
/:points += 300;
this.gotoAndStop('off');
}
}
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
_root.statusbr = this.hitTest(_root.tra.hit);
if (_root.statusbr eq 'true') {
/:points += 300;
this.gotoAndStop('off');
}
}
}
instance of movieClip 315 {
onClipEvent (enterFrame) {
_root.statusbu = this.hitTest(_root.tra.hit);
if (_root.statusbu eq 'true') {
/:points += 400;
this.gotoAndStop('off');
}
}
}
instance of movieClip 316 {
onClipEvent (enterFrame) {
_root.statusbw = this.hitTest(_root.tra.hit);
if (_root.statusbw eq 'true') {
/:points += 400;
this.gotoAndStop('off');
}
}
}
}
movieClip 319 {
}
instance of movieClip 319 {
onClipEvent (load) {
_root.initiate_bonus();
}
onClipEvent (enterFrame) {
_root.collisions_bonus._x -= /:speed;
_root.check_placement3();
}
}
frame 13 {
stop();
Mouse.show();
stopAllSounds();
_root.bg_music.gotoAndStop(1);
tellTarget ('timer') {
delay = '4000';
}
}
movieClip 324 {
}
button 325 {
on (release) {
gotoAndPlay(14);
}
}
frame 14 {
stop();
}
movieClip 338 {
frame 440 {
_root.gotoAndStop('highscores');
}
}
movieClip 340 {
}
frame 15 {
stop();
Mouse.show();
}
button 348 {
on (release) {
gotoAndPlay(1);
}
}
frame 16 {
Score = /:points;
Name = /:Name;
loadVariables('/cgi-bin/highscores/score_tramall.pl', '_root', 'POST');
Mouse.show();
}
button 355 {
on (release) {
_root.gotoAndstop('start');
}
}
frame 19 {
if (Number(eof) == Number('true')) {
eof = '';
stop();
}
stop();
}
frame 20 {
stop();
}
movieClip 361 {
}
button 363 {
on (release) {
getURL('http://www.kidscom.com/', '');
}
}
button 364 {
on (release) {
getURL('http://www.kidscom.com/', '');
}
}