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

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

ChocolateArmorKnight.swf

This is the info page for
Flash #201173

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


ActionScript [AS1/AS2]
Combined Code
movieClip 9 { } movieClip 10 hit { instance of movieClip 9 { onClipEvent (enterFrame) { if (this._currentframe >= 10) { this._parent.removeMovieClip(); } } } } movieClip 13 { } movieClip 16 { } movieClip 17 zangeki { instance of movieClip 16 { onClipEvent (load) { damage = 0; hanteix = 0; hanteiy = 0; hit = 0; var sound_zan = new Sound(); sound_zan.attachSound('hit65.wav'); var sound_bosu = new Sound(); sound_bosu.attachSound('hit10_b.wav'); _root.main.mese.damage = 0; } onClipEvent (enterFrame) { if (_currentframe >= _totalframes) { _root.main.mese.msgokuri = 1; this._parent.removeMovieClip(); } if (this._parent.rotation <= 90 || this._parent.rotation >= 270) { hanteix = (this.getBounds(_root)).xMax; } else { hanteix = (this.getBounds(_root)).xMin; } if (this._parent.rotation >= 180) { hanteiy = (this.getBounds(_root)).xMin; } else { hanteiy = (this.getBounds(_root)).xMax; } hanteix1 = (this.hantei.getBounds(_root)).xMin; hanteix2 = (this.hantei.getBounds(_root)).xMax; hanteiy1 = (this.hantei.getBounds(_root)).yMin; hanteiy2 = (this.hantei.getBounds(_root)).yMax; hanteix15 = hanteix2 - (hanteix2 - hanteix1) / 2; hanteiy15 = hanteiy2 - (hanteiy2 - hanteiy1) / 2; i = 1; while (i <= 15) { if (_root.main.enemy['armor' + i] != null) { if (hit == 0 && _currentframe >= 10 && _root.main.enemy['armor' + i].hitTest(hanteix1, hanteiy1, true)) { damage = Math.ceil((_root.main.atk * 0.5 - _root.main.enemy['armor' + i].def * 0.25) * (0.8 + Math.random() * 0.4)); _root.main.enemy['armor' + i].HP -= damage; _root.main.mese.damage = damage; _root.main.enemy['armor' + i].gotoAndPlay(2); _root.main.attachMovie('hit', 'hit', 800); _root.main.hit._x = hanteix1; _root.main.hit._y = hanteiy1; sound_bosu.start(); i += 15; hit = 1; } } ++i; } if (hit == 0 && _currentframe >= 10 && _root.main.enemy.hitTest(hanteix1, hanteiy1, true)) { damage = int((_root.main.atk * 0.5 - _root.main.enemy.def * 0.25) * (0.8 + Math.random() * 0.4)); _root.main.enemy.HP -= damage; _root.main.mese.damage = damage; _root.main.enemy.gotoAndPlay(2); _root.main.attachMovie('hit', 'hit', 800); _root.main.hit._x = hanteix1; _root.main.hit._y = hanteiy1; sound_zan.start(); hit = 1; } } } } movieClip 24 { } movieClip 25 firemagic { instance of movieClip 24 { onClipEvent (load) { damage = 0; hanteix = 0; hanteiy = 0; hit = 0; _root.main.mese.damage = 0; } onClipEvent (enterFrame) { if (_currentframe >= _totalframes) { _root.main.mese.msgokuri = 2; this._parent.removeMovieClip(); } i = 1; while (i <= 15) { if (_root.main.enemy['armor' + i] != null) { if (_currentframe == 49 && _root.main.enemy['armor' + i].hitTest(this)) { damage = Math.ceil(_root.main.atk * 0.25 * (0.8 + Math.random() * 0.4)); _root.main.enemy['armor' + i].HP -= damage; _root.main.mese.damage += damage; _root.main.enemy['armor' + i].gotoAndPlay(2); } } ++i; } if (_currentframe == 49 && _root.main.enemy.hitTest(this)) { damage = int(_root.main.atk * 0.25 * (0.8 + Math.random() * 0.4)); _root.main.enemy.HP -= damage; _root.main.mese.damage += damage; _root.main.enemy.gotoAndPlay(2); } } } } frame 1 { nude = 0; } movieClip 28 { } // unknown tag 88 length 90 button 35 { on (release) { gotoAndPlay(3); } } // unknown tag 88 length 89 movieClip 42 { frame 1 { stop(); } } button 46 { on (release) { gotoAndPlay('battle'); } } movieClip 49 { } movieClip 50 { } movieClip 72 { frame 1 { stop(); } frame 14 { stop(); } frame 90 { gotoAndPlay(75); } } movieClip 73 { } // unknown tag 88 length 76 movieClip 78 { } movieClip 85 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 89 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 93 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 97 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 101 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 105 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 107 { } movieClip 111 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 115 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 120 { frame 1 { stop(); } frame 19 { if (HP > 0) { gotoAndStop(1); } } frame 20 { stop(); } } movieClip 124 { frame 1 { stop(); } instance armor15 of movieClip 85 { onClipEvent (load) { HP = 200 - (_root.nude != 0) * 130; def = 99 - (_root.nude != 0) * 94; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[15] = 1; } } } instance armor14 of movieClip 89 { onClipEvent (load) { HP = 200 - (_root.nude != 0) * 140; def = 99 - (_root.nude != 0) * 94; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[14] = 1; } } } instance armor3 of movieClip 93 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[3] = 1; } } } instance armor4 of movieClip 93 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[4] = 1; } } } instance armor7 of movieClip 93 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[7] = 1; } } } instance armor8 of movieClip 93 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[8] = 1; } } } instance armor5 of movieClip 97 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[5] = 1; } } } instance armor6 of movieClip 97 { onClipEvent (load) { HP = 10; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[6] = 1; } } } instance armor13 of movieClip 101 { onClipEvent (load) { HP = 20; def = 80; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[13] = 1; } } } instance armor12 of movieClip 105 { onClipEvent (load) { HP = 25; def = 50; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[12] = 1; } } } instance armor1 of movieClip 111 { onClipEvent (load) { HP = 20; def = 20; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[1] = 1; } } } instance armor2 of movieClip 111 { onClipEvent (load) { HP = 20; def = 20; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[2] = 1; } } } instance armor9 of movieClip 115 { onClipEvent (load) { HP = 20; def = 10; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[9] = 1; } } } instance armor10 of movieClip 115 { onClipEvent (load) { HP = 20; def = 10; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[10] = 1; } } } instance armor11 of movieClip 120 { onClipEvent (load) { HP = 10; def = 30; } onClipEvent (enterFrame) { if (HP <= 0) { _root.main.armorkill[11] = 1; } } } } movieClip 131 { } movieClip 139 { } movieClip 141 { } movieClip 144 { instance of movieClip 93 { onClipEvent (load) { if (_root.main.armorkill[3] == 1) { this._alpha = 0; } } } instance of movieClip 111 { onClipEvent (load) { if (_root.main.armorkill[1] == 1) { this._alpha = 0; } } } instance of movieClip 139 { onClipEvent (load) { if (_root.main.armorkill[15] == 1) { this._alpha = 0; } } } instance of movieClip 141 { onClipEvent (load) { if (_root.main.armorkill[14] == 1) { this._alpha = 0; } } } instance of movieClip 93 { onClipEvent (load) { if (_root.main.armorkill[8] == 1) { this._alpha = 0; } } } instance of movieClip 93 { onClipEvent (load) { if (_root.main.armorkill[7] == 1) { this._alpha = 0; } } } instance of movieClip 97 { onClipEvent (load) { if (_root.main.armorkill[5] == 1) { this._alpha = 0; } } } instance of movieClip 97 { onClipEvent (load) { if (_root.main.armorkill[6] == 1) { this._alpha = 0; } } } instance of movieClip 93 { onClipEvent (load) { if (_root.main.armorkill[4] == 1) { this._alpha = 0; } } } instance of movieClip 111 { onClipEvent (load) { if (_root.main.armorkill[2] == 1) { this._alpha = 0; } } } instance of movieClip 115 { onClipEvent (load) { if (_root.main.armorkill[9] == 1) { this._alpha = 0; } } } instance of movieClip 115 { onClipEvent (load) { if (_root.main.armorkill[10] == 1) { this._alpha = 0; } } } instance of movieClip 105 { onClipEvent (load) { if (_root.main.armorkill[12] == 1) { this._alpha = 0; } } } instance of movieClip 101 { onClipEvent (load) { if (_root.main.armorkill[13] == 1) { this._alpha = 0; } } } instance of movieClip 120 { onClipEvent (load) { if (_root.main.armorkill[11] == 1) { this._alpha = 0; } } } } // unknown tag 88 length 64 movieClip 148 { } movieClip 153 { } movieClip 155 { } movieClip 156 { frame 1 { stopAllSounds(); nude = 0; } frame 1 { var MHP = 50; var HP = MHP; var MMP = 20; var MP = MMP; var atk = 50; var def = 20; stop(); } instance of movieClip 42 { onClipEvent (enterFrame) { if (Key.isDown(78) && _root.main.nude == 0 || Key.isDown(85) && _root.main.nude == 0.25 || Key.isDown(68) && _root.main.nude == 0.5 || Key.isDown(69) && _root.main.nude == 0.75) { _root.main.nude += 0.25; } if (_root.main.nude == 1) { _root.nude = 1; } if (_root.nude == 1) { gotoAndStop(2); } } } frame 2 { stopAllSounds(); nude = 0; } frame 101 { stop(); } instance of movieClip 78 { onClipEvent (load) { var msg = ['今日私はパール王女に、「伝説の樹」と呼ばれている場所に呼び出された。', 'パール「待っていたわ。」', 'パール「待ち望んでたチョコよ。」', 'パール「ただし戦って奪えたらね!」', 'パール「鎧化(アムド)!」', 'そう言うとパール王女はいきなり私の見ている前で\rチョコを異形の物に変えたのだ。']; var i = 0; j = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { this._parent.gotoAndPlay(this._parent._currentframe + 1); } if (msg[j].charAt(i) == '') { txt.text = msg[j]; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (mouseUp) { if (msg[j].charAt(i) == '') { txt.text = ''; i = 0; ++j; if (j == 2) { this._parent.ee.pearl.gotoAndPlay(2); } else { if (j == 5) { this._parent.ee.pearl.gotoAndPlay(15); } } } } onClipEvent (release) { } } frame 102 { stopAllSounds(); } frame 135 { var MHP = 60; var HP = MHP; var MMP = 25; var MP = MMP; var atk = 50; var def = 20; stop(); } frame 135 { var armorkill = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; stop(); } instance enemy of movieClip 124 { onClipEvent (load) { HP = 85; MP = 75; atk = 30; def = 5; } onClipEvent (enterFrame) { if (HP <= 0) { gotoAndStop('win'); } } } instance mese of movieClip 78 { onClipEvent (load) { var msg = ['チョ食むアーマーが現れた!', 'ラズリの攻撃!\r通常攻撃:マウスを押して移動→離すと移動した方向に攻撃(単体攻撃)\r火球魔法:マウスを押してその場で離す(範囲攻撃 MP4)\r回復魔法:ステータスウインドウをクリック(MP3)', 'ダメージを与えた!', 'チョ食むアーマーの攻撃! ', 'ダメージを受けた!']; var i = 0; j = 0; msgend = 0; msgokuri = 0; damage = 0; txt.text = ''; var sound_bosu = new Sound(); sound_bosu.attachSound('hit_s11_a.wav'); } onClipEvent (enterFrame) { if (msg[j] == undefined) { j = 1; } if (msg[j].charAt(i) == '') { txt.text = msg[j]; msgend = 1; } else { txt.text += msg[j].charAt(i); } if (msg[j].charAt(i) == '' && j == 1 && msgokuri >= 1) { if (msgokuri == 2) { msg[2] = '合計' + damage + 'のダメージを与えた!'; } else { msg[2] = damage + 'のダメージを与えた!'; } txt.text = ''; i = 0; ++j; msgend = 0; msgokuri = 0; } if (i == 7 && j == 3) { sound_bosu.start(); } if (msg[j].charAt(i) == '' && j == 3) { damage = Math.ceil((_root.main.enemy.atk * 0.5 - _root.main.def * 0.25) * (0.8 + Math.random() * 0.4)); msg[4] = damage + 'のダメージを受けた!'; _root.main.HP -= damage; txt.text = ''; i = 0; ++j; msgend = 0; msgokuri = 0; } ++i; } onClipEvent (mouseUp) { if (msgend == 1 && j == 2 && _root.main.enemy.HP <= 0) { this._parent.gotoAndPlay('win'); } else { if (msgend == 1 && j == 4 && _root.main.HP <= 0) { txt.text = ''; i = 0; ++j; msgend = 0; msgokuri = 0; this._parent.gotoAndPlay('lose'); } else { if (msgend == 1 && j != 1 && j != 3) { txt.text = ''; i = 0; ++j; msgend = 0; msgokuri = 0; } } } } } instance player of movieClip 131 { onClipEvent (load) { HP = _root.main.HP; MP = _root.main.MP; atk = _root.main.atk; def = _root.main.def; kaifuku = 0; var sound_pyoro = new Sound(); sound_pyoro.attachSound('pyoro40_b.wav'); } onClipEvent (enterFrame) { HP = _root.main.HP; MP = _root.main.MP; atk = _root.main.atk; def = _root.main.def; } onClipEvent (press) { if (this._parent.mese.msgend == 1 && this._parent.mese.j == 1) { if (MP < 3) { this._parent.mese.msg[2] = 'MPが足りない!'; } else { kaifuku = int(20 + Math.random() * 10); sound_pyoro.start(); this._parent.mese.msg[2] = 'ラズリのダメージが' + kaifuku + '回復した!'; _root.main.HP += kaifuku; _root.main.MP -= 3; if (_root.main.HP > _root.main.MHP) { _root.main.HP = _root.main.MHP; } } this._parent.mese.txt.text = ''; this._parent.mese.i = 0; ++this._parent.mese.j; this._parent.mese.msgend = 0; this._parent.mese.msgokuri = 0; } } } instance of movieClip 13 { onClipEvent (load) { mouse1 = _root.main._xmouse; mouse2 = _root.main._ymouse; r = 0; push = 0; } onClipEvent (enterFrame) { if (push == 0) { mouse1 = _root.main._xmouse; mouse2 = _root.main._ymouse; } if (this._parent.mese.j != 1) { push = 0; } } onClipEvent (mouseDown) { if (this._parent.mese.msgend == 1 && this._parent.mese.j == 1 && _root.main.firemagic == null && _root.main.zangeki == null) { push = 1; } } onClipEvent (mouseMove) { if (_root.zangeki == null && push == 1) { var r = Math.atan2(_root.main._ymouse - mouse2, _root.main._xmouse - mouse1) * 180 / Math.PI; _rotation = r; } } onClipEvent (mouseUp) { if (push == 1) { push = 2; } if (push == 2) { if (_root.main._xmouse == mouse1 && _root.main._ymouse == mouse2 && _root.main.MP >= 4) { _root.main.attachMovie('firemagic', 'firemagic', 500); _root.main.firemagic._x = mouse1; _root.main.firemagic._y = mouse2; _root.main.MP -= 4; push = 0; } else { _root.main.attachMovie('zangeki', 'zangeki', 500); _root.main.zangeki._x = mouse1; _root.main.zangeki._y = mouse2; _root.main.zangeki._rotation = r; push = 0; } } } } frame 137 { stopAllSounds(); } instance mese of movieClip 78 { onClipEvent (load) { var msg = ['ラズリは負けてしまった!', 'パール「まだまだね。\r破壊したチョコは持って行っていいわよ。」']; var i = 0; j = 0; msgend = 0; damage = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { this._parent.gotoAndStop(2); } if (msg[j].charAt(i) == '') { txt.text = msg[j]; msgend = 1; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (mouseUp) { if (msgend == 1) { txt.text = ''; i = 0; ++j; msgend = 0; } } } frame 138 { stop(); } frame 139 { stopAllSounds(); } instance mese of movieClip 78 { onClipEvent (load) { var msg = ['ラズリは戦いに勝った!']; var i = 0; j = 0; msgend = 0; damage = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { this._parent.gotoAndPlay(this._parent._currentframe + 1); } if (msg[j].charAt(i) == '') { txt.text = msg[j]; msgend = 1; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (mouseUp) { if (msgend == 1) { txt.text = ''; i = 0; ++j; msgend = 0; } } } frame 140 { stop(); } frame 141 { stopAllSounds(); getchoko = 0; i = 1; while (i <= 13) { getchoko += armorkill[i]; ++i; } } instance of movieClip 78 { onClipEvent (load) { var msg = ['パール「てへ、やられちゃった。」', 'パール「この体、あなたの好きにしていいわよ。」', 'パール「こっちに来てキスをちょうだい…」']; var i = 0; j = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { this._parent.gotoAndStop(this._parent._currentframe + 1); } if (msg[j].charAt(i) == '') { txt.text = msg[j]; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (release) { if (msg[j].charAt(i) == '') { txt.text = ''; i = 0; ++j; } else { txt.text = msg[j]; } } } instance of movieClip 148 { onClipEvent (enterFrame) { moji = escape('【ゲーム「チョ食むアーマー」】 '); moji2 = escape('チョコ') + _root.main.getchoko + escape('個'); if (_root.nude != 0 && _root.main.armorkill[14] == 1) { moji2 += escape('とブラジャー'); } if (_root.nude != 0 && _root.main.armorkill[15] == 1) { moji2 += escape('とパンティー'); } moji2 += escape('をゲット! \r http://nrf-flash.sakura.ne.jp/flash/chobam.html \r http://mogera.jp/gameplay?gid=gm0000002636 #NRF_Flash #チョ食むアーマー'); } onClipEvent (release) { getURL('http://twitter.com/home?status=' + moji + moji2, '_blank'); } } frame 142 { stop(); } instance of movieClip 78 { onClipEvent (load) { var msg = ['だが、女だ!', 'ラズリ「姫様、ちゃんとチョコを渡せる殿方を見つけてくださいね…。」', '男運はないが女運は旺盛なパール王女であった。\r \rおわり']; var i = 0; j = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { if (_root.main.getchoko >= 13 && _root.nude == 0) { this._parent.gotoAndStop(this._parent._currentframe + 1); } else { this._parent.gotoAndStop(2); } } if (msg[j].charAt(i) == '') { txt.text = msg[j]; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (release) { if (msg[j].charAt(i) == '') { txt.text = ''; i = 0; ++j; } else { txt.text = msg[j]; } } } instance of movieClip 78 { onClipEvent (load) { var msg = ['チョコ全部ゲットしたあなたに隠しコマンド!', 'タイトル画面で「N」「U」「D」「E」と入力すると\rビキニ鎧もブレイクできる隠しモードに!']; var i = 0; j = 0; txt.text = ''; } onClipEvent (enterFrame) { if (msg[j] == undefined) { this._parent.gotoAndStop(2); } if (msg[j].charAt(i) == '') { txt.text = msg[j]; } else { txt.text += msg[j].charAt(i); } ++i; } onClipEvent (release) { if (msg[j].charAt(i) == '') { txt.text = ''; i = 0; ++j; } else { txt.text = msg[j]; } } } }




http://swfchan.com/41/201173/info.shtml
Created: 28/7 -2019 01:47:41 Last modified: 28/7 -2019 01:47:41 Server time: 19/04 -2024 11:34:55