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

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

culling-pests.swf

This is the info page for
Flash #116477

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 rankbar { } movieClip 7 shot { } movieClip 9 { } movieClip 11 { } movieClip 13 { } movieClip 19 enemy_parent { frame 1 { stop(); } frame 8 { stop(); } instance of movieClip 11 { onClipEvent (load) { angle = 0; speed = 5; wide = speed * 5; posi_x = this._x; rotation = 1; } onClipEvent (enterFrame) { if (zhanting) { angle += speed; rotation += Math.cos(angle * 3.141593 / 90) / 20; this._x = posi_x + Math.sin(angle * 3.141593 / 90) * wide; if (this._rotation >= 20 || this._rotation <= -20) { rotation = -rotation; } this._rotation += rotation; } } } frame 15 { stop(); } instance of movieClip 13 { onClipEvent (load) { angle = 0; speed = 4; wide = speed * 10; posi_x = this._x; rotation = 1; } onClipEvent (enterFrame) { if (zhanting) { angle += speed; rotation += Math.cos(angle * 3.141593 / 90) / 20; this._x = posi_x + Math.sin(angle * 3.141593 / 90) * wide; if (this._rotation >= 20 || this._rotation <= -20) { rotation = -rotation; } this._rotation += rotation; } } } frame 22 { stop(); } frame 27 { stop(); } frame 37 { stop(); } frame 47 { stop(); } frame 57 { stop(); } frame 64 { stop(); } } movieClip 30 num_r { frame 1 { stop(); } } frame 1 { stop(); this._lockroot = true; fscommand('fullscreen', 'false'); fscommand('allowscale', 'false'); fscommand('showmenu', 'false'); Stage.scaleMode = 'noScale'; Stage.showMenu = false; _root._focusrect = false; _root.zhanting = true; sl = 1; gamekey = 'shachong'; } movieClip 33 { } movieClip 35 { } movieClip 41 { frame 30 { gotoAndPlay(1); } } movieClip 42 { frame 1 { stop(); } instance of movieClip 33 { onClipEvent (enterFrame) { this._x -= 0.5; if (this._x < -400) { this._x = 300; } } } instance of movieClip 35 { onClipEvent (enterFrame) { this._x -= 0.2; if (this._x < -300) { this._x = 300; } } } instance of movieClip 35 { onClipEvent (enterFrame) { this._x -= 0.2; if (this._x < -300) { this._x = 300; } } } frame 7 { stop(); } frame 13 { stop(); } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 30); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } instance of movieClip 41 { onClipEvent (load) { var n = Math.floor(Math.random() * 20); this.gotoAndPlay(n); } } } movieClip 45 { frame 1 { stop(); } frame 7 { stop(); } frame 13 { stop(); } } movieClip 48 { } movieClip 49 { } movieClip 51 { instance sky of movieClip 42 { onClipEvent (load) { if (_root.sky == 0) { this.gotoAndPlay('sky2'); } else { if (_root.sky == 1) { this.gotoAndPlay('sky3'); } } } } instance of movieClip 45 { onClipEvent (load) { if (_root.BG == 'BG2') { this.gotoAndPlay('BG2'); } else { if (_root.BG == 'BG3') { this.gotoAndPlay('BG3'); } } } } } button 57 { on (release) { play(); } } movieClip 60 { frame 1 { stop(); } frame 2 { stop(); } } instance of movieClip 60 { onClipEvent (load) { Mouse.hide(); this.useHandCursor = false; } onClipEvent (mouseDown) { this.gotoAndStop(2); } onClipEvent (mouseUp) { this.gotoAndStop(1); } onClipEvent (enterFrame) { this.swapDepths(_root.mask_depth - 1); this._x += _xmouse; this._y += _ymouse; } } movieClip 63 { } instance mask_u of movieClip 63 { onClipEvent (enterFrame) { this.swapDepths(_root.mask_depth); } } frame 2 { function mouse_in(x1, y1) { if (_level2) { return 0; } else { if (_level1) { if (mask.hitTest(x1 + _level1._x, y1 + _level1._y, true)) { return 1; } else { return 0; } } else { if (mask.hitTest(x1, y1, true)) { return 1; } else { return 0; } } } } this._lockroot = true; game_over = false; titleFlag = true; stopAllSounds(); puu = false; count = 0; wide_x = 550; wide_y = 400; speed_c = 7; mask_depth = 1000; click_check = false; pose = undefined; sky = undefined; BG = undefined; muteki = false; game_start = false; _root.k = 1; _root.isDead = false; _root.b = false; stop(); } movieClip 67 { } movieClip 69 { } button 74 { on (release) { play(); } } button 79 { on (release) { _root.play(); } } movieClip 84 { } movieClip 86 { frame 1 { stop(); } frame 2 { stop(); } } frame 3 { titleFlag = false; sky = Math.floor(Math.random() * 3); BG = Math.floor(Math.random() * 20); if (BG == 0) { BG = 'BG2'; } else { if (BG == 1) { BG = 'BG3'; } else { BG = 'BG1'; } } stop(); } instance sky of movieClip 42 { onClipEvent (load) { if (_root.sky == 0) { this.gotoAndPlay('sky2'); } else { if (_root.sky == 1) { this.gotoAndPlay('sky3'); } } } } instance of movieClip 45 { onClipEvent (load) { if (_root.BG == 'BG2') { this.gotoAndPlay('BG2'); } else { if (_root.BG == 'BG3') { this.gotoAndPlay('BG3'); } } } } movieClip 88 { } movieClip 90 { frame 1 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 13 { stop(); } } movieClip 92 { } movieClip 95 { frame 5 { stop(); } } movieClip 97 { } movieClip 99 { } movieClip 101 { } movieClip 105 { frame 5 { stop(); } } movieClip 106 { frame 1 { stop(); _root.k = 1; this.hoispray._x = 36.3; this.hoispray._y = -50.3; _root.b = false; } instance hoispray of movieClip 48 { onClipEvent (load) { n = 20; myColor = new Color(this); myList = myColor.getTransform(); } onClipEvent (enterFrame) { if (_root.timer.power_up == true) { myList.rb += n; myList.gb += n; myList.bb += n; myColor.setTransform(myList); if (myList.gb <= 0 || myList.gb >= 200) { n = -n; } } else { if (_root.timer.power_re == true) { myList.gb += n; myColor.setTransform(myList); if (myList.gb <= 0 || myList.gb >= 200) { n = -n; } } else { myList.rb = 0; myList.gb = 0; myList.bb = 0; myColor.setTransform(myList); } } } } frame 4 { stop(); _root.k = 1; this.hoispray._x = -57.4; this.hoispray._y = -50.3; _root.b = false; } frame 8 { _root.b = true; _root.k = 1; this.hoispray0._x = -57.4; this.hoispray0._y = -50.3; this.hoispray1._x = 36.3; this.hoispray1._y = -50.3; stop(); } instance kemuri of movieClip 90 { onClipEvent (load) { spray_alpha = 100; spray_re = 30; empty = false; spray_color = new Color(this); spray_color.setRGB(16777215); } onClipEvent (enterFrame) { this._alpha = spray_alpha + 10; if (_root.click_check == true && spray_alpha <= 0 && empty == false) { time_e = 0; empty = true; _root.gage.gotoAndPlay('empty'); _root.objSound_01.stop('spray'); } else { if (empty == true) { ++time_e; if (_root.timer.power_re == true) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } if (time_e > 150) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } } else { if (_root.click_check == true && spray_alpha > 0) { spray_alpha -= 1; } else { if (_root.click_check == false && spray_alpha < 100 && empty == false) { spray_alpha += 0.7; } } } } if (_root.timer.power_re == true) { spray_alpha = 100; spray_color.setRGB(6750054); } else { if (!_root.timer.power_re && !_root.timer.power_up) { if (_root.count < 100) { this._xscale = 100; this._yscale = 100; spray_color.setRGB(16777215); } else { if (_root.count < 200 && _root.count >= 100) { this._xscale = 100; this._yscale = 110; spray_color.setRGB(6750154); } else { if (_root.count < 300 && _root.count >= 200) { this._xscale = 100; this._yscale = 120; spray_color.setRGB(6750254); } else { if (_root.count < 400 && _root.count >= 300) { this._xscale = 100; this._yscale = 130; spray_color.setRGB(6750354); } else { if (_root.count > 500) { this._xscale = 100; this._yscale = 150; spray_color.setRGB(6750454); } } } } } } else { spray_color.setRGB(16777215); } } if (_root.puu == true) { _root.objSound_01.stop('spray'); this.gotoAndPlay('no'); } } onClipEvent (mouseDown) { if (!_root.puu && _root.mouse_in(_root._xmouse, _root._ymouse)) { if (!empty) { _root.objSound_01.start(0, 1000); } _root.click_check = true; this.gotoAndPlay('down'); } else { this.gotoAndPlay('no'); } } onClipEvent (mouseUp) { _root.objSound_01.stop('spray'); _root.click_check = false; this.gotoAndPlay('up'); } } frame 14 { stop(); } frame 15 { stop(); _root.k = 2; this.hoispray._x = 36.3; this.hoispray._y = -50.3; _root.b = false; } frame 18 { stop(); _root.k = 2; this.hoispray._x = -57.4; this.hoispray._y = -50.3; _root.b = false; } frame 22 { _root.b = true; _root.k = 2; this.hoispray0._x = -57.4; this.hoispray0._y = -50.3; this.hoispray1._x = 36.3; this.hoispray1._y = -50.3; stop(); } instance kemuri of movieClip 90 { onClipEvent (load) { spray_alpha = 100; spray_re = 30; empty = false; spray_color = new Color(this); spray_color.setRGB(16777215); } onClipEvent (enterFrame) { this._alpha = spray_alpha + 10; if (_root.click_check == true && spray_alpha <= 0 && empty == false) { time_e = 0; empty = true; _root.gage.gotoAndPlay('empty'); _root.objSound_01.stop('spray'); } else { if (empty == true) { ++time_e; if (_root.timer.power_re == true) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } if (time_e > 150) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } } else { if (_root.click_check == true && spray_alpha > 0) { spray_alpha -= 1; } else { if (_root.click_check == false && spray_alpha < 100 && empty == false) { spray_alpha += 0.7; } } } } if (_root.timer.power_re == true) { spray_alpha = 100; spray_color.setRGB(6750054); } else { if (!_root.timer.power_re && !_root.timer.power_up) { if (_root.count < 100) { this._xscale = 100; this._yscale = 100; spray_color.setRGB(16777215); } else { if (_root.count < 200 && _root.count >= 100) { this._xscale = 100; this._yscale = 110; spray_color.setRGB(6750154); } else { if (_root.count < 300 && _root.count >= 200) { this._xscale = 100; this._yscale = 120; spray_color.setRGB(6750254); } else { if (_root.count < 400 && _root.count >= 300) { this._xscale = 100; this._yscale = 130; spray_color.setRGB(6750354); } else { if (_root.count > 500) { this._xscale = 100; this._yscale = 150; spray_color.setRGB(6750454); } } } } } } else { spray_color.setRGB(16777215); } } if (_root.puu == true) { _root.objSound_01.stop('spray'); this.gotoAndPlay('no'); } } onClipEvent (mouseDown) { if (!_root.puu && _root.mouse_in(_root._xmouse, _root._ymouse)) { if (!empty) { _root.objSound_01.start(0, 1000); } _root.click_check = true; this.gotoAndPlay('down'); } else { this.gotoAndPlay('no'); } } onClipEvent (mouseUp) { _root.objSound_01.stop('spray'); _root.click_check = false; this.gotoAndPlay('up'); } } frame 29 { stop(); _root.chara.removeMovieClip(); } } instance kutar of movieClip 106 { onClipEvent (load) { _root.pose = Math.floor(Math.random() * 2); if (_root.pose == 0) { _root.pose = 'navy'; this.gotoAndPlay('navy1'); } else { _root.pose = 'kutar'; this.gotoAndPlay('kutar1'); } this.swapDepths(_root.mask_depth - 6); this._x = _root.wide_x / 2; r = true; trace('hh' + r); } onClipEvent (enterFrame) { if (_root.pose == 'kutar' && !_root.isDead) { if (_root.timer.speed_up == true) { _root.kutar.gotoAndPlay('kutar2'); } else { if (r) { _root.kutar.gotoAndPlay('kutar1'); } else { _root.kutar.gotoAndPlay('kutar0'); } } } else { if (_root.pose == 'navy' && !_root.isDead) { if (_root.timer.speed_up == true) { _root.kutar.gotoAndPlay('navy2'); } else { if (r) { _root.kutar.gotoAndPlay('navy1'); } else { _root.kutar.gotoAndPlay('navy0'); } } } } if (_root.timer.power_up == true) { this.hoispray._xscale = 120; this.hoispray._yscale = 120; _root.kemuri.spray._xscale = 110; _root.kemuri.spray._yscale = 120; _root.kutar.kemuri.spray._xscale = 140; _root.kutar.kemuri.spray._yscale = 160; } else { this.hoispray._xscale = 100; this.hoispray._yscale = 100; } } } movieClip 108 { } movieClip 112 { frame 1 { stop(); } instance of movieClip 108 { onClipEvent (load) { this._xscale = _root.kemuri.spray_re; this._visible = false; } onClipEvent (enterFrame) { this._xscale = _root.kemuri.spray_alpha; } } frame 20 { gotoAndPlay('empty'); } } instance gage of movieClip 112 { onClipEvent (load) { this.swapDepths(_root.mask_depth - 3); } } movieClip 114 { frame 1 { n0._visible = true; n1._visible = false; n2._visible = false; n3._visible = false; } frame 2 { var i = 0; while (i < 4) { var j = 1 + Math.floor(_root.count / Math.pow(10, i) % 10); this['n' + i].gotoAndStop(j); if (!this['n' + i]._visible && j > 1) { this['n' + i]._visible = true; } ++i; } } frame 3 { gotoAndPlay(2); } } movieClip 117 { } movieClip 118 { frame 16 { _root.se_ready.start(); } frame 60 { _root.se_go.start(); } frame 77 { _root.gotoAndPlay('game'); } } movieClip 134 { } // unknown tag 88 length 104 button 137 { on (release) { _root.p_mc.visible = 0; this.gotoAndStop(1); _root.zhanting = true; _root.sound.BGM.start(); } } movieClip 141 { } button 143 { on (release) { _root.gotoAndPlay('reset'); this.gotoAndStop(1); _root.p_mc.removeMovieClip(); } } movieClip 144 { frame 1 { stop(); } frame 2 { _root.p_mc.swapDepths(_root.mask_depth - 5); } frame 76 { stop(); } } movieClip 159 { frame 1 { stop(); } frame 15 { stop(); } } instance sound of movieClip 159 { onClipEvent (load) { this._visible = false; this.gotoAndStop(15); BGM = new Sound(this); BGM.attachSound('BGM'); _root.se_ready = new Sound(this); _root.se_ready.attachSound('ready'); _root.se_go = new Sound(this); _root.se_go.attachSound('go'); _root.se_puu = new Sound(this); _root.se_puu.attachSound('puu'); _root.se_buu = new Sound(this); _root.se_buu.attachSound('buu'); _root.se_crush = new Sound(this); _root.se_crush.attachSound('crush'); _root.objSound_01 = new Sound(this); _root.objSound_01.attachSound('spray'); _root.objSound_02 = new Sound(this); _root.objSound_02.attachSound('kill'); _root.objSound_03 = new Sound(this); _root.objSound_03.attachSound('item'); _root.objSound_04 = new Sound(this); _root.objSound_04.attachSound('BOMB'); _root.objSound_05 = new Sound(this); _root.objSound_05.attachSound('erace'); } } frame 4 { _root.sound.BGM.start(); _root.sound.BGM.onSoundComplete = function () { this.start(); }; game_start = true; stop(); var bb = 0; var isClick = false; this.onEnterFrame = function () { if (isClick) { ++bb; if (bb > 15) { isClick = false; } } }; var keyListener = new Object(); keyListener.onKeyDown = function () { if (!isClick) { if (Key.isDown(80)) { isClick = true; if (zhanting) { _root.sound.BGM.stop(); _root.p_mc.play(); } else { _root.sound.BGM.start(); _root.p_mc.gotoAndStop(1); } zhanting = !zhanting; trace('var zhanting=false;=' + !zhanting); } } }; Key.addListener(keyListener); } instance enemy_parent of movieClip 19 enemy_parent { onClipEvent (load) { if (this._name == 'enemy_parent') { time = 0; _root.n = 0; while (_root.n < 2) { syoki = {'_x': _root.wide_x - 100, '_y': _root.wide_y - 100, '_xscale': 0, '_yscale': 0, '_alpha': 100, '_rotation': 0}; this.duplicateMovieClip('enemy' + _root.n, _root.n, syoki); ++_root.n; } } else { if (this._name != 'enemy_parent') { syoki = {'_x': _root.wide_y - 100, '_y': _root.wide_y - 100, '_xscale': 0, '_yscale': 0, '_alpha': 100, '_rotation': 0}; hp = 20; c = 0; indicate = Math.floor(Math.random() * 40); switch (indicate) { case 1: this.gotoAndStop('speed_up'); break; case 2: this.gotoAndStop('power_up'); break; case 3: this.gotoAndStop('power_re'); break; case 4: this.gotoAndStop('bomb'); break; case 5: var n = Math.floor(Math.random() * 40); if (n == 0) { this.gotoAndStop('gold'); } else { ++_root.n; if (_root.puu == false) { this.duplicateMovieClip('enemy' + _root.n, _root.n, syoki); } this.removeMovieClip(); } break; default: this.gotoAndStop('musi'); indicate = 0; enemy_no = Math.floor(Math.random() * 100); if (enemy_no < 10) { enemy_no = 0; hp = 100; c = 5; this.gotoAndStop('musi0'); } else { if (enemy_no < 35) { enemy_no = 1; hp = 80; c = 2; this.gotoAndStop('musi1'); } else { if (enemy_no < 70) { enemy_no = 2; hp = 50; c = 1; this.gotoAndStop('musi2'); } else { if (enemy_no < 74) { enemy_no = 4; hp = 20; c = 0; this.gotoAndStop('ufo'); } else { enemy_no = 0; hp = 100; c = 5; this.gotoAndStop('musi0'); } } } } } on_check = false; hit = false; this._alpha = 100; this._rotation = 0; x_max = 5; speed = 0.02; this._xscale = 0; this._yscale = 0; this._y = _root.wide_y - Math.floor(Math.random() * 300); this._y -= _root.wide_y; rnd_x1 = _root.wide_x / 4 + Math.floor(Math.random() * _root.wide_x / 2); this._x = rnd_x1; rnd_x2 = Math.floor(Math.random() * _root.wide_x); } } } onClipEvent (enterFrame) { if (_root.zhanting) { if (_root.n > 50) { _root.n -= 50; } if (this._name == 'enemy_parent' && _root.puu == false) { ++time; if (time > 0 && time % 600 == 0 && time < 60000) { ++_root.n; this.duplicateMovieClip('enemy' + _root.n, _root.n, syoki); } } else { if (this._name != 'enemy_parent') { this._xscale = 100 * this._y / _root.wide_y; this._yscale = 100 * this._y / _root.wide_y; if (this._x > 0 && this._x < _root.wide_x && this._y > 0 && this._y < _root.wide_y) { on_check = true; } else { on_check = false; } if (this._y > _root.wide_y || this._alpha <= 0 || this._x < -10 || this._x > _root.wide_x + 10) { ++_root.n; if (!_root.puu) { this.duplicateMovieClip('enemy' + _root.n, _root.n, syoki); } this.removeMovieClip(); } else { if (hit == true) { this._alpha -= 20; this._rotation -= 20; } else { if (this.hitTest(_root.chara) && !_root.puu) { switch (indicate) { case 0: if (_root.muteki == false) { hit = true; _root.sound.BGM.stop(); _root.puu = true; _root.chara.gotoAndPlay(2); } break; case 1: _root.timer.time_s = 0; _root.speed_c = 15; _root.objSound_03.start(); _root.timer.speed_up = true; break; case 2: _root.timer.time_u = 0; _root.kemuri._xscale *= 1.5; _root.kemuri._yscale *= 1.5; _root.objSound_03.start(); _root.timer.power_up = true; break; case 3: _root.timer.time_r = 0; _root.objSound_03.start(); _root.timer.power_re = true; break; case 4: _root.timer.time_b = 0; _root.timer.gotoAndPlay(2); _root.objSound_04.start(); _root.timer.bomb = true; break; case 5: _root.timer.time_s = 0; _root.speed_c = 15; _root.timer.time_u = 0; _root.kemuri._xscale *= 2.5; _root.kemuri._yscale *= 2; _root.timer.time_r = 0; _root.objSound_03.start(); _root.timer.speed_up = true; _root.timer.power_up = true; _root.timer.power_re = true; break; default: } hit = true; } else { if (_root.timer.bomb == true && on_check == true) { speed = 0; this._rotation += 10 - Math.floor(Math.random() * 20); hp -= 25; if (hp <= 0) { if (indicate == 0) { _root.objSound_02.start(); _root.count = _root.count + 1 + c; } hit = true; } } else { if (this.hitTest(_root.kemuri.spray) == true || this.hitTest(_root.kutar.kemuri.spray) == true && _root.kemuri.empty == false && on_check == true) { speed = Math.abs(speed - 6); this._rotation += 10 - Math.floor(Math.random() * 20); if (_root.timer.power_re == true) { hp -= 25; } else { hp -= 10; } if (hp <= 0) { if (indicate == 0) { _root.objSound_02.start(); _root.count = _root.count + 1 + c; } else { _root.objSound_05.start(); } hit = true; } } } } } } if (rnd_x2 - rnd_x1 >= 0) { this._x -= x_max * Math.abs(rnd_x2 - rnd_x1) / _root.wide_x; } else { this._x += x_max * Math.abs(rnd_x2 - rnd_x1) / _root.wide_x; } this._x += rnd_x; if (_root.count < 50) { if (enemy_no == 0 || enemy_no == 3 || enemy_no == 5) { this._y += speed / 5; } else { if (enemy_no == 1) { this._y += speed / 7; } else { if (enemy_no == 4) { this._y += speed / 10; } else { this._y += speed / 6; } } } } if (_root.count >= 50 && _root.count < 100) { if (enemy_no == 0 || enemy_no == 3 || enemy_no == 5) { this._y += speed / 3; } else { if (enemy_no == 1) { this._y += speed / 5; } else { if (enemy_no == 4) { this._y += speed / 9; } else { this._y += speed / 4; } } } } else { if (_root.count >= 100) { if (enemy_no == 0 || enemy_no == 3 || enemy_no == 5) { this._y += speed; } else { if (enemy_no == 1) { this._y += speed / 5; } else { if (enemy_no == 4) { this._y += speed / 8; } else { this._y += speed / 3; } } } } } speed += Math.random() * 10 / 40; } } } } } movieClip 162 { } movieClip 163 { frame 1 { stop(); } frame 15 { gotoAndPlay(1); } } instance timer of movieClip 163 { onClipEvent (load) { time_s = 0; time_u = 0; time_r = 0; time_b = 0; speed_up = false; power_up = false; power_re = false; bomb = false; } onClipEvent (enterFrame) { if (speed_up == true) { ++time_s; if (time_s > 1000) { if (_root.pose == 'kutar' && !_root.isDead) { _root.kutar.gotoAndPlay('kutar1'); } else { if (_root.pose == 'navy') { _root.kutar.gotoAndPlay('navy1'); } } speed_up = false; time_s = 0; _root.speed_c = 7; } } if (power_up == true) { ++time_u; if (time_u > 300) { if (_root.pose == 'kutar' && !_root.isDead) { _root.kutar.gotoAndPlay('kutar1'); } else { if (_root.pose == 'navy') { _root.kutar.gotoAndPlay('navy1'); } } power_up = false; time_u = 0; _root.kemuri._xscale = 100; _root.kemuri._yscale = 100; } } if (power_re == true) { ++time_r; if (time_r > 500) { if (_root.pose == 'kutar' && !_root.isDead) { _root.kutar.gotoAndPlay('kutar1'); } else { if (_root.pose == 'navy') { _root.kutar.gotoAndPlay('navy1'); } } power_re = false; time_r = 0; } } if (bomb == true) { ++time_b; if (time_b > 10) { bomb = false; time_b = 0; } } } } instance kemuri of movieClip 90 { onClipEvent (load) { spray_alpha = 100; spray_re = 30; empty = false; spray_color = new Color(this); spray_color.setRGB(16777215); } onClipEvent (enterFrame) { this._alpha = spray_alpha + 10; if (_root.click_check == true && spray_alpha <= 0 && empty == false) { time_e = 0; empty = true; _root.gage.gotoAndPlay('empty'); _root.objSound_01.stop('spray'); } else { if (empty == true) { ++time_e; if (_root.timer.power_re == true) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } if (time_e > 150) { time_e = 0; spray_alpha = spray_re; _root.gage.gotoAndPlay('nomal'); empty = false; } } else { if (_root.click_check == true && spray_alpha > 0) { spray_alpha -= 1; } else { if (_root.click_check == false && spray_alpha < 100 && empty == false) { spray_alpha += 0.7; } } } } if (_root.timer.power_re == true) { spray_alpha = 100; spray_color.setRGB(6750054); } else { if (!_root.timer.power_re && !_root.timer.power_up) { if (_root.count < 100) { this._xscale = 100; this._yscale = 100; spray_color.setRGB(16777215); } else { if (_root.count < 200 && _root.count >= 100) { this._xscale = 100; this._yscale = 110; spray_color.setRGB(6750154); } else { if (_root.count < 300 && _root.count >= 200) { this._xscale = 100; this._yscale = 120; spray_color.setRGB(6750254); } else { if (_root.count < 400 && _root.count >= 300) { this._xscale = 100; this._yscale = 130; spray_color.setRGB(6750354); } else { if (_root.count > 500) { this._xscale = 100; this._yscale = 150; spray_color.setRGB(6750454); } } } } } } else { spray_color.setRGB(16777215); } } if (_root.puu == true) { _root.objSound_01.stop('spray'); this.gotoAndPlay('no'); } } onClipEvent (mouseDown) { if (_root.zhanting) { if (!_root.puu && _root.mouse_in(_root._xmouse, _root._ymouse)) { if (!empty) { _root.objSound_01.start(0, 1000); } _root.click_check = true; this.gotoAndPlay('down'); } else { this.gotoAndPlay('no'); } } } onClipEvent (mouseUp) { if (_root.zhanting) { _root.objSound_01.stop('spray'); _root.click_check = false; this.gotoAndPlay('up'); } } } movieClip 166 { } movieClip 167 { frame 1 { stop(); } frame 6 { _root.se_crush.start(); _root.chara.removeMovieClip(); Key.removeListener(_parent.keyListener); } frame 97 { if (_root.kutar._currentframe < 14) { _root.kutar.gotoAndStop('kutar3'); } else { _root.kutar.gotoAndStop('navy3'); } _root.isDead = true; _root.se_puu.start(); } frame 168 { _root.game_over = true; _root.gotoAndStop('ending'); stop(); } } instance chara of movieClip 167 { onClipEvent (load) { wide = 20; this._x = _root.wide_x / 2; } onClipEvent (enterFrame) { if (_root._xmouse > 0 && _root._xmouse < 550) { if (_root.puu == false && _root.zhanting && !_root.isDead && _root.kutar._currentframe != 14 && _root.kutar._currentframe != 29) { _root.kutar._x = this._x; var keyListener = new Object(); keyListener.onKeyDown = function () { trace('isDead' + _root.isDead); if (Key.isDown(37) && !_root.isDead) { _root.kutar.r = false; _root.kutar.gotoAndStop('kutar0'); } if (Key.isDown(39) && !_root.isDead) { _root.kutar.r = true; _root.kutar.gotoAndStop('kutar1'); } }; if (_root.kutar._currentframe == 1 || _root.kutar._currentframe == 15 || _root.kutar._currentframe == 4 || _root.kutar._currentframe == 18) { Key.addListener(keyListener); } else { Key.removeListener(keyListener); } if (!_root.kutar.r && !_root.b) { _root.kemuri._x = this._x - 70; } else { _root.kemuri._x = this._x + 33; } this._x = _root._xmouse; } } } } movieClip 169 { } movieClip 170 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 171 { frame 1 { stop(); } frame 9 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { posi_x = this._x; posi_y = this._y + 90; angle = 270; speed = 2; } onClipEvent (enterFrame) { if (_root.zhanting) { angle += speed; if (angle >= 360) { angle -= 360; } if (this._y < _root.wide_y - 100) { this._x = posi_x + Math.cos(angle * 3.141593 / 180) * 300; this._y = posi_y + Math.sin(angle * 3.141593 / 180) * 90; this._rotation = -Math.atan2(Math.cos(angle * 3.141593 / 180) - Math.cos((angle - speed) * 3.141593 / 180), Math.sin(angle * 3.141593 / 180) - Math.sin((angle - speed) * 3.141593 / 180)) * 180 / 3.141593; } } } } frame 17 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { posi_x = this._x; posi_y = this._y; angle = 0; speed = 2; n_n = 0; n_x = 5 - Math.floor(Math.random() * 10); n_y = 5 - Math.floor(Math.random() * 10); } onClipEvent (enterFrame) { if (_root.zhanting) { this._x += n_x; this._y += n_y; ++n; if (n > 10) { n = -10; n_x = -n_x; n_y = -n_y; } angle += speed; if (angle >= 360) { angle -= 360; } if (this._y < _root.wide_y - 100) { this._x += Math.cos(angle * 3.141593 / 180) * 10; this._y += Math.sin(angle * 3.141593 / 180) * 10; this._rotation = 90 - angle; } } } } frame 25 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { posi_x = this._x; posi_y = this._y; angle = 0; speed = 2; rnd_n = 5 - Math.floor(Math.random() * 10); n = rnd_n; n_n = 0; } onClipEvent (enterFrame) { if (_root.zhanting) { ++n_n; if (n_n > 13) { n = -n; n_n = -13; } this._x += n; angle += 1; if (angle >= 360) { _root.angle -= 360; } if (this._y < _root.wide_y - 100) { this._y += Math.cos(angle * 3.141593 / 180) * 5; } } } } frame 33 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { angle = 0; speed = 0.4; posi_x = this._x; posi_y = this._y; } onClipEvent (enterFrame) { if (_root.zhanting) { angle += speed; if (angle >= 360) { angle -= 360; } if (this._y < _root.wide_y - 100) { this._x = posi_x + Math.sin(angle * 10 * 3.141593 / 180) * 200; this._y = posi_y + Math.sin(angle * 3.141593 / 180) * 160; rad = Math.atan2(Math.sin(angle * 10 * 3.141593 / 180), Math.sin((angle - speed) * 3.141593 / 180)); this._rotation = rad * 180 / 3.141593; } } } } frame 41 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { angle = 0; speed = 0.4; posi_x = this._x; posi_y = this._y; state = 0; counter = 0; counter2 = 0; } onClipEvent (enterFrame) { if (_root.zhanting) { if (this._y < _root.wide_y - 100) { switch (state) { case 0: state = 1; i = counter / 2; this._x = posi_x + Math.random() * i - i / 2; this._y = posi_y + Math.random() * i - i / 2; _rotation = _rotation - 8; counter += 2; if (counter > 100) { counter = 0; state = 1; } break; case 1: i = counter; angle += 20; this._x = posi_x + Math.sin(angle * 3.141593 / 180) * i / 2; this._y = posi_y + Math.cos(angle * 3.141593 / 180) * i / 2; _rotation = -Math.atan2(Math.sin(angle * 3.141593 / 180) * i / 2 - Math.sin((angle - 20) * 3.141593 / 180) * i / 2, Math.cos(angle * 3.141593 / 180) * i / 2 - Math.cos((angle - 20) * 3.141593 / 180) * i / 2) * 180 / 3.141593; counter += 2; if (counter > 500) { angle = 0; counter = 0; state = 2; } break; case 2: i = counter; this._x = posi_x + Math.sin(angle * 3.141593 / 180) * i / 2 + Math.random() * 30 - 15; this._y = posi_y + counter - 300 + Math.random() * 30 - 15; _rotation = _rotation - 16; counter += 20; if (counter > 800) { counter = 0; angle = Math.random() * 90 - 45; ++counter2; if (counter2 > 10) { this._x = 0; this._y = -150; state = 3; counter2 = 0; _rotation = 0; } } break; case 3: this._x = (this._x - posi_x) / 30; this._y = (this._y - posi_y) / 30; counter += 1; if (counter > 10) { this._x = posi_x; this._y = posi_y; counter = 0; state = 0; } } } } } } frame 49 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { n = 0; angle = 270; speed = 3; posi_x = this._x; posi_y = this._y - (Math.abs(Math.sin(angle * 3.141593 / 180) * 110) - n); } onClipEvent (enterFrame) { if (_root.zhanting) { angle += speed; if (angle >= 360) { angle -= 360; } if (this._y < _root.wide_y - 100) { this._x = posi_x + Math.cos(angle * 3.141593 / 180) * 350; this._y = posi_y + Math.abs(Math.sin(angle * 3.141593 / 180) * 110) + n; } if (angle < 10 || angle > 350) { n = 50 + 15 * Math.floor(Math.random() * 10); } this._rotation = -Math.atan2(Math.cos(angle * 3.141593 / 180) - Math.cos((angle - speed) * 3.141593 / 180), Math.abs(Math.sin(angle * 3.141593 / 180)) - Math.abs(Math.sin((angle - speed) * 3.141593 / 180))) * 180 / 3.141593; } } } frame 57 { stop(); } instance boss of movieClip 169 { onClipEvent (load) { posi_x = this._x; posi_y = this._y - Math.abs(Math.sin((angle - 45) * 3.141593 / 180) * 800); angle = 270; speed = 2; } onClipEvent (enterFrame) { if (_root.zhanting) { angle += speed; if (angle >= 360) { angle -= 360; } if (this._y < _root.wide_y - 100) { this._x = posi_x + Math.cos(angle * 3.141593 / 180) * 300; this._y = posi_y + Math.abs(Math.sin((angle - 45) * 3.141593 / 180) * 800); this._rotation = -Math.atan2(Math.cos(angle * 3.141593 / 180) - Math.cos((angle - speed) * 3.141593 / 180), Math.abs(Math.sin((angle - 45) * 3.141593 / 180)) - Math.abs(Math.sin((angle - 45 - speed) * 3.141593 / 180))) * 180 / 3.141593; } } } } frame 65 { stop(); } frame 73 { stop(); } frame 83 { stop(); } instance ufo_parent of movieClip 170 { onClipEvent (load) { if (_name == 'ufo_parent') { shot_m = Math.floor(Math.random() * 2); posi_x = this._x; posi_y = this._y - Math.sin(angle * n * 3.141593 / 180) * 8; angle = 0; speed = 2; n = 5; counter = 0; _root.u = 100; } else { angle = 0; speed = 5; hit = false; hp = 20; this.gotoAndPlay(2); } } onClipEvent (enterFrame) { if (_root.zhanting) { if (_name == 'ufo_parent') { if (_root.u > 100) { _root.u -= 100; } angle += speed; if (angle >= 360) { n = 2 + Math.floor(Math.random() * 6); angle -= 360; } this._x += Math.cos(angle * 3.141593 / 180) * 5; this._y += Math.sin(angle * n * 3.141593 / 180) * 8; ++counter; if (!_root.puu && counter > 20) { ++_root.u; var t = Math.floor(Math.random() * 10); counter -= 20 - t; this.duplicateMovieClip('shot' + _root.u, _root.boss_depth - _root.u - 1); } } else { angle += speed; if (angle >= 360) { angle -= 360; } switch (this._parent.ufo_parent.shot_m) { case 0: ++this._y; break; case 1: this._x += Math.cos(angle * 3.141593 / 180) * 2; ++this._y; break; default: } this._rotation += 5; this._xscale += Math.cos(angle * 3 * 3.141593 / 180) * 2; this._yscale += Math.cos(angle * 3 * 3.141593 / 180) * 2; if (this._y > _root.wide_y + _root.wide_y / 4) { this.removeMovieClip(); } else { if (hit) { this._alpha -= 20; if (this._alpha < 0) { this.removeMovieClip(); } } else { if (this.hitTest(_root.chara) && !_root.puu) { if (_root.muteki == false) { hit = true; _root.objSound.stop('BGM'); _root.puu = true; _root.chara.gotoAndPlay(2); } } else { if (hp <= 0) { hit = true; } else { if (_root.timer.bomb) { speed = 0; hp -= 25; } else { if (this.hitTest(_root.kemuri.spray) || this.hitTest(_root.kutar.kemuri.spray) && !_root.kemuri.empty) { speed = Math.abs(speed - 6); this._rotation += 10 - Math.floor(Math.random() * 20); if (_root.timer.power_re) { hp -= 25; } else { hp -= 10; } } } } } } } } } } } frame 93 { stop(); } instance ufo_parent of movieClip 170 { onClipEvent (load) { if (_name == 'ufo_parent') { shot_m = Math.floor(Math.random() * 2); posi_x = this._x; posi_y = this._y - Math.sin(angle * n * 3.141593 / 180) * 8; angle = 0; speed = 2; n = 5; counter = 0; _root.u = 100; } else { angle = 0; speed = 5; hit = false; hp = 20; this.gotoAndPlay(2); } } onClipEvent (enterFrame) { if (_root.zhanting) { if (_name == 'ufo_parent') { if (_root.u > 100) { _root.u -= 100; } angle += speed; if (angle >= 360) { n = 2 + Math.floor(Math.random() * 6); angle -= 360; } this._x += Math.cos(angle * 3.141593 / 180) * 5; this._y += Math.sin(angle * n * 3.141593 / 180) * 8; this._x += Math.cos(angle * 3.141593 / 180) * 5; this._y += Math.sin(angle * 3.141593 / 180) * 5; ++counter; if (!_root.puu && counter > 20) { ++_root.u; var t = Math.floor(Math.random() * 10); counter -= 20 - t; this.duplicateMovieClip('shot' + _root.u, _root.boss_depth - _root.u - 1); } } else { angle += speed; if (angle >= 360) { angle -= 360; } switch (this._parent.ufo_parent.shot_m) { case 0: ++this._y; break; case 1: this._x += Math.cos(angle * 3.141593 / 180) * 2; ++this._y; break; default: } this._rotation += 5; this._xscale += Math.cos(angle * 3 * 3.141593 / 180) * 2; this._yscale += Math.cos(angle * 3 * 3.141593 / 180) * 2; if (this._y > _root.wide_y + _root.wide_y / 4) { this.removeMovieClip(); } else { if (hit) { this._alpha -= 20; if (this._alpha < 0) { this.removeMovieClip(); } } else { if (this.hitTest(_root.chara) && !_root.puu) { if (_root.muteki == false) { hit = true; _root.objSound.stop('BGM'); _root.puu = true; _root.chara.gotoAndPlay(2); } } else { if (hp <= 0) { hit = true; } else { if (_root.timer.bomb) { speed = 0; hp -= 25; } else { if (this.hitTest(_root.kemuri.spray) || this.hitTest(_root.kutar.kemuri.spray) && !_root.kemuri.empty) { speed = Math.abs(speed - 6); this._rotation += 10 - Math.floor(Math.random() * 20); if (_root.timer.power_re) { hp -= 25; } else { hp -= 10; } } } } } } } } } } } } instance boss_parent of movieClip 171 { onClipEvent (load) { if (this._name == 'boss_parent') { _root.boss = false; time_boss = 0; _root.boss_depth = 500; } else { syoki = {'_x': -500, '_y': -500, '_xscale': 0, '_yscale': 0, '_alpha': 100, '_rotation': 0}; on_check = false; advent = false; hit = false; erace = false; this._alpha = 100; this._rotation = 0; this._xscale = 0; this._yscale = 0; this._x = _root.wide_x / 2; this._y -= Math.floor(Math.random() * 30); myColor = new Color(this); ufo = false; var ufo = Math.floor(Math.random() * 20); if (ufo == 0) { ufo = true; this.gotoAndPlay('move_u0'); } else { ufo = false; } } } onClipEvent (enterFrame) { if (_root.zhanting) { if (this._name == 'boss_parent' && _root.puu == false) { ++time_boss; if (time_boss > 400 && _root.boss == false && _root.puu == false) { time_boss = 0; _root.boss = true; ++_root.n; this.duplicateMovieClip('boss' + _root.boss_depth, _root.boss_depth, syoki); } else { if (time_boss > 800 && _root.puu == false && !ufo) { _root.boss = false; time_boss = 0; erace = false; } else { if (time_boss > 600 && _root.puu == false && !ufo) { erace = true; } } } } if (this._name != 'boss_parent') { if (_root.timer.bomb) { hit = true; } this._xscale = 100 * (this._y + 100) / _root.wide_y; this._yscale = 100 * (this._y + 100) / _root.wide_y; if (this._x > 0 && this._x < _root.wide_x && this._y > 0 && this._y < _root.wide_y - 100) { on_check = true; } else { on_check = false; } if (!advent) { if (_root.puu) { advent = true; } this._xscale = 100 * (this._y + 100) / _root.wide_y; this._yscale = 100 * (this._y + 100) / _root.wide_y; ++this._y; if (this._y > _root.wide_y / 3 + 10) { trace('开始飘'); boss_num = 1 + Math.floor(Math.random() * 7); if (ufo && boss_num < 4) { trace('move_u1'); this.gotoAndPlay('move_u1'); } else { if (ufo) { trace('move_u2'); this.gotoAndPlay('move_u2'); } else { if (boss_num == 1 || boss_num == 2) { trace('move1'); this.gotoAndPlay('move1'); } else { if (boss_num == 4 || boss_num == 3) { trace('move4'); boss_num = Math.floor(Math.random() * 20); if (boss_num == 0) { trace('move5'); boss_num = 5; this.gotoAndPlay('move5'); } else { trace('move41'); boss_num = 4; this.gotoAndPlay('move4'); } } else { if (boss_num == 6) { trace('move6'); this.gotoAndPlay('move6'); } else { if (boss_num == 7) { trace('move7'); this.gotoAndPlay('move7'); } else { trace('move11'); this.gotoAndPlay('move1'); } } } } } } _root.boss_parent.time_boss = 0; advent = true; } } else { if (hit) { this._alpha -= 10; this._xscale += 30; this._yscale += 30; if (this._alpha <= 0) { if (!_root.puu && !ufo) { _root.objSound_02.start(); _root.count += 10; } else { if (!_root.puu) { _root.objSound_02.start(); _root.count += 20; } } _root.boss = false; _root.boss_parent.time_boss = 0; this.removeMovieClip(); } } else { if (_root.boss_parent.erace || _root.puu) { this._alpha -= 10; this._xscale -= 10; this._yscale -= 10; if (this._alpha <= 0) { _root.boss = false; _root.boss_parent.time_boss = 0; _root.boss_parent.erace = false; this.removeMovieClip(); } } else { if (this.hitTest(_root.chara) && !_root.puu && !ufo) { if (_root.muteki == false) { _root.boss_parent.erace = true; _root.sound.BGM.stop(); _root.puu = true; _root.chara.gotoAndPlay(2); } } else { if (this.hitTest(_root.kemuri.spray) || this.hitTest(_root.kutar.kemuri.spray) && !_root.kemuri.empty && on_check) { this.boss._rotation += 20 - Math.floor(Math.random() * 40); myList = myColor.getTransform(); if (_root.time_bossr.power_re) { myList.rb += 10; if (ufo) { myList.rb -= 5; } } else { myList.rb += 5; if (ufo) { myList.rb -= 3; } } myColor.setTransform(myList); if (myList.rb >= 255) { hit = true; } } } } } } } } } } movieClip 173 { } frame 5 { stop(); game_start = false; n = 0; while (_root.n < 51) { _root['enemy' + n].removeMovieClip(); ++n; } _root['boss' + _root.boss_depth].removeMovieClip(); score.removeMovieClip(); gage.removeMovieClip(); locati.removeMovieClip(); itemgage.removeMovieClip(); itembox.removeMovieClip(); kutar.removeMovieClip(); black.removeMovieClip(); sky_color.removeMovieClip(); p_mc.removeMovieClip(); } movieClip 178 { } button 180 { on (release) { _root.gotoAndStop(1); } } movieClip 184 { } button 186 { on (release) { FNsend(); } } movieClip 193 { frame 1 { if (_root.count >= 400) { stop(); } else { play(); } } frame 2 { if (_root.count < 400 && _root.count >= 300) { stop(); } else { play(); } } frame 3 { if (_root.count < 300 && _root.count >= 200) { stop(); } else { play(); } } frame 4 { if (_root.count < 200 && _root.count >= 100) { stop(); } else { play(); } } frame 5 { if (_root.count < 100) { stop(); } else { play(); } } } movieClip 205 { } movieClip 206 { } movieClip 207 { } movieClip 208 { frame 1 { function FNsend() { trace('提交成绩'); if (username.text != '') { var LVwrite = new LoadVars(); LVwrite.action = 'send'; LVwrite.gamekey = _root.gamekey; LVwrite.username = username.text; LVwrite.score = Number(_root.count); trace('username: ' + username.text); trace('score:' + _root.count); trace('gameKey:' + _root.gamekey); LVwrite.onLoad = function () { _root.count = 0; _root.gotoAndStop('rank'); FNshow(LVwrite.h); trace('2 服务器返回:' + LVwrite.h); _root.showRank(); }; LVwrite.sendAndLoad(PATHURL + '/submit.php?action=send&gamekey=' + _root.gamekey, LVwrite, 'POST'); trace('提交地址: ' + PATHURL + '/submit.php?action=send&gamekey=' + _root.gamekey); } } function display_number(p, p2) { k = 1; while (k <= 8) { p2['m' + k]._visible = true; ++k; } a = String(p); b = a.length; k = b + 1; while (k <= 8) { p2['m' + k]._visible = false; ++k; } k = 1; while (k <= b) { c = Number(a.charAt(b - k)); p2['m' + k].gotoAndStop(c + 1); p2['m' + k]._x -= (3 - b) * 48; ++k; } } PATHURL = 'http://www.razon.cc'; display_number(_root.count, numberBox); var keyListener = new Object(); keyListener.onKeyDown = function () { if (Key.isDown(13)) { trace('Enter'); FNsend(); } }; Key.addListener(keyListener); } instance sky of movieClip 42 { onClipEvent (load) { if (_root.sky == 0) { this.gotoAndPlay('sky2'); } else { if (_root.sky == 1) { this.gotoAndPlay('sky3'); } } } } instance of movieClip 45 { onClipEvent (load) { if (_root.BG == 'BG2') { this.gotoAndPlay('BG2'); } else { if (_root.BG == 'BG3') { this.gotoAndPlay('BG3'); } } } } instance of movieClip 207 { onClipEvent (keyDown) { trace('你按下的键的ASCII码为: ' + Key.getCode()); trace('username.: ' + ord(_parent.username.text)); if (ord(_parent.username.text) < 255) { _parent.username.maxChars = 8; } else { _parent.username.maxChars = 4; } } } } frame 6 { function FNload() { LVwrite = new LoadVars(); LVwrite.action = 'load'; LVwrite.gamekey = _root.gamekey; LVwrite.onLoad = function () { FNshow(LVwrite.h); trace('我的分数:' + _root.count + ' 1 服务器返回:' + LVwrite.h); }; trace(PATHURL + '/submit.php?action=load&gamekey=' + _root.gamekey); LVwrite.sendAndLoad(PATHURL + '/submit.php', LVwrite, 'POST'); } function FNshow(str) { var v5 = str.split(','); var v2 = 0; while (v2 < 5) { var v4 = v5[v2].split('|'); if (v4[1] > 0) { trace('OK?'); var v3 = _root.rank.attachMovie('rankbar', 'rankbar' + v2, v2); v3._x = -10; v3._y = 80 + v2 * 49; v3.username.text = v4[0]; v3.score.text = v4[1]; } ++v2; } } function FN_Score(mc, num) { s_num1 = int(num / 100000) + 1; s_num11 = num % 100000; s_num2 = int(s_num11 / 10000) + 1; s_num22 = s_num11 % 10000; s_num3 = int(s_num22 / 1000) + 1; s_num33 = s_num22 % 1000; s_num4 = int(s_num33 / 100) + 1; s_num44 = s_num33 % 100; s_num5 = int(s_num44 / 10) + 1; s_num6 = s_num44 % 10 + 1; if (num >= 10 && num < 100) { ++s_num5; } else { if (num >= 100 && num < 1000) { ++s_num4; ++s_num5; } else { if (num >= 1000 && num < 10000) { ++s_num3; ++s_num4; ++s_num5; } else { if (num >= 10000 && num < 100000) { ++s_num2; ++s_num3; ++s_num4; ++s_num5; } else { if (num >= 100000) { ++s_num1; ++s_num2; ++s_num3; ++s_num4; ++s_num5; } } } } } mc.mc1.gotoAndStop(s_num6); mc.mc2.gotoAndStop(s_num5); mc.mc3.gotoAndStop(s_num4); mc.mc4.gotoAndStop(s_num3); mc.mc5.gotoAndStop(s_num2); mc.mc6.gotoAndStop(s_num1); } stop(); stop(); trace('排行榜 frame '); PATHURL = 'http://www.razon.cc'; FNload(); } movieClip 211 { } frame 7 { game_start = false; n = 0; while (_root.n < 51) { _root['enemy' + n].removeMovieClip(); ++n; } _root['boss' + _root.boss_depth].removeMovieClip(); score.removeMovieClip(); gage.removeMovieClip(); locati.removeMovieClip(); itemgage.removeMovieClip(); itembox.removeMovieClip(); kutar.removeMovieClip(); black.removeMovieClip(); sky_color.removeMovieClip(); }




http://swfchan.com/24/116477/info.shtml
Created: 8/3 -2019 18:56:25 Last modified: 8/3 -2019 18:56:25 Server time: 22/12 -2024 12:15:21