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

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

EVA7.swf

This is the info page for
Flash #118224

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); } // unknown tag 88 length 178 // unknown tag 88 length 62 button 13 { on (release) { getURL('http://www.forkheads.net/index.php', '_blank'); } } // unknown tag 88 length 68 movieClip 17 { } frame 2 { if (loadedbytes == totalbytes) { gotoAndStop(3); gotoAndStop(3); } else { gotoAndPlay(1); } } frame 3 { Asukaemotion = 0; } frame 3 { loadedbytes = getBytesLoaded(); totalbytes = getBytesTotal(); } // unknown tag 88 length 221 // unknown tag 88 length 63 button 37 { on (press) { gotoAndPlay(12); } } button 39 { on (press) { gotoAndStop('blooperreel'); } } movieClip 47 { } // unknown tag 88 length 70 button 55 { on (press) { gotoAndStop(406); stopAllSounds(); } } frame 66 { stop(); } // unknown tag 88 length 78 button 62 { on (press) { gotoAndPlay(67); } } frame 96 { stop(); } button 64 { on (press) { gotoAndPlay(97); } } frame 267 { stop(); } button 67 { on (press) { gotoAndPlay(268); } } frame 284 { stop(); } button 69 { on (press) { gotoAndStop(285); } } frame 285 { stop(); } button 71 { on (press) { nextFrame(); } } frame 286 { stop(); } frame 287 { stop(); } button 74 { on (press) { nextFrame(); } } frame 288 { stop(); } button 76 { on (press) { nextFrame(); } } frame 289 { stop(); } frame 290 { stop(); } frame 291 { stop(); } frame 292 { play(); } // unknown tag 88 length 147 frame 309 { stop(); } // unknown tag 88 length 215 frame 311 { play(); } frame 324 { stop(); } // unknown tag 88 length 63 frame 326 { play(); } movieClip 96 { } frame 374 { stop(); } frame 375 { play(); } frame 405 { stop(); } button 103 { on (press) { nextFrame(); stopAllSounds(); } } movieClip 114 { } button 121 { on (press) { nextFrame(); } } button 124 { on (press) { gotoAndStop(409); } } button 127 { on (press) { gotoAndStop(410); } } button 130 { on (press) { gotoAndStop(411); } } frame 411 { function initGame() { ShinjiHP = 4; AsukaHP = 6; AsukaHPminus1 = AsukaHP - 1; showCash(); } function createDeck() { suits = ['c', 'd', 's', 'h']; temp = new Array(); i = 0; while (i < 6) { suit = 0; while (suit < 4) { num = 1; while (num < 14) { temp.push(suits[suit] + num); ++num; } ++suit; } ++i; } deck = new Array(); while (temp.length > 0) { r = int(Math.random() * temp.length); deck.push(temp[r]); temp.splice(r, 1); } } function initHand() { playerHand = new Array(); dealerHand = new Array(); showDealerFirstCard = false; bet = 5; showBet(); } function addToBet() { bet += 5; if (bet > 25) { bet = 25; } showBet(); } function makeBet() { cash -= bet; showCash(); } function dealCard(hand) { hand.push(deck.pop()); } function showCash() { cashDisplay = '$' + cash; } function showBet() { betDisplay = '$' + bet; } function showCards() { if (showDealerFirstCard) { _root.dealer0.gotoAndStop(dealerHand[0]); } else { _root.dealer0.gotoAndStop(2); } i = 1; while (i < dealerHand.length) { _root['dealer' + i].gotoAndStop(dealerHand[i]); ++i; } i = 0; while (i < playerHand.length) { _root['player' + i].gotoAndStop(playerHand[i]); ++i; } playerValue = handValue(playerHand); dealerValue = handValue(dealerHand); } function checkForBlackjack() { if (playerHand.length == 2 && playerValue == 21) { AsukaHP -= 1; AsukaHPminus1 = AsukaHP - 1; ShinjiHP += 1; showCash(); result = 'Epic win!'; gotoAndPlay(439); Asukaemotion += 1; } else { if (dealerHand.length == 2 && dealerHand == 21) { result = 'You fail!'; gotoAndPlay(439); } } } function hit() { dealCard(playerHand); showCards(); playerValue = handValue(playerHand); if (playerValue >= 21) { startDealer(); } } function startDealer() { showDealerFirstCard = true; showCards(); gotoAndPlay(435); } function dealerMove() { if (handValue(dealerHand) < 17) { dealCard(dealerHand); showCards(); gotoAndPlay(435); } else { decideWinner(); } } function handValue(hand) { total = 0; ace = false; i = 0; while (i < hand.length) { val = Number(hand[i].substr(1, 2)); if (val > 10) { val = 10; } total += val; if (val == 1) { ace = true; } ++i; } if (ace && total <= 11) { total += 10; } return total; } function decideWinner() { showCash(); if (playerValue > 21) { result = 'You failed!'; ShinjiHP -= 1; } else { if (dealerValue > 21) { cash += bet * 2; result = 'Asuka failed. You Win!'; AsukaHP -= 1; AsukaHPminus1 = AsukaHP - 1; Asukaemotion += 1; } else { if (dealerValue > playerValue) { result = 'You Lose!'; ShinjiHP -= 1; } else { if (dealerValue == playerValue) { cash += bet; result = 'Tie!'; } else { if (dealerValue < playerValue) { cash += bet * 2; result = 'Awyeah!'; AsukaHP -= 1; AsukaHPminus1 = AsukaHP - 1; } } } } } showCash(); gotoAndPlay(439); } function newDeal() { resetCards(); if (deck.length < 26) { gotoAndPlay(414); } else { initHand(); gotoAndPlay(417); } } function resetCards() { i = 0; while (i < dealerHand.length) { _root['dealer' + i].gotoAndStop(1); ++i; } i = 0; while (i < playerHand.length) { _root['player' + i].gotoAndStop(1); ++i; } } initGame(); } frame 411 { if (AsukaHP == 6) { _root.Asukaseriesmovieclip.gotoAndStop(1); } if (AsukaHP == 5) { _root.Asukaseriesmovieclip.gotoAndStop(2); } if (AsukaHP == 4) { _root.Asukaseriesmovieclip.gotoAndStop(3); } if (AsukaHP == 3) { _root.Asukaseriesmovieclip.gotoAndStop(4); } if (AsukaHP == 2) { _root.Asukaseriesmovieclip.gotoAndStop(5); } if (AsukaHP == 1) { _root.Asukaseriesmovieclip.gotoAndStop(6); } if (AsukaHP == 0) { _root.Asukaseriesmovieclip.gotoAndStop(7); } } frame 411 { Asukaemotion = 0; } movieClip 139 { } movieClip 144 { } movieClip 170 { } movieClip 177 { } movieClip 185 { } movieClip 191 { } movieClip 197 { } movieClip 200 { } instance Asukaseriesmovieclip of movieClip 200 { } button 205 { on (press) { function gameendchk() { if (ShinjiHP == 0) { gotoAndPlay(441); } } play(); } } // unknown tag 88 length 148 frame 415 { createDeck(); } frame 417 { initHand(); stop(); } frame 417 { if (ShinjiHP == 0) { gotoAndStop(442); } if (AsukaHPminus1 == 0) { gotoAndStop(444); } } frame 417 { if (AsukaHP == 6) { _root.Asukaseriesmovieclip.gotoAndStop(1); } if (AsukaHP == 5) { _root.Asukaseriesmovieclip.gotoAndStop(2); } if (AsukaHP == 4) { _root.Asukaseriesmovieclip.gotoAndStop(3); } if (AsukaHP == 3) { _root.Asukaseriesmovieclip.gotoAndStop(4); } if (AsukaHP == 2) { _root.Asukaseriesmovieclip.gotoAndStop(5); } if (AsukaHP == 1) { _root.Asukaseriesmovieclip.gotoAndStop(6); } if (AsukaHP == 0) { _root.Asukaseriesmovieclip.gotoAndStop(7); } } frame 417 { Asukaemotion = 2; if (2) { _root.Asukaemotion.gotoAndPlay(2); } else { _root.Asukaemotion.gotoAndStop(21); Asukaemotion == 3; } if (Asukaemotion == 3) { _root.Asukaemotion.gotoAndStop(21); } } // unknown tag 88 length 68 movieClip 218 { frame 1 { stop(); } frame 21 { stop(); } } // unknown tag 88 length 65 button 222 { on (press) { makeBet(); gotoAndPlay(420); } } // unknown tag 88 length 67 movieClip 248 Deck { frame 1 { stop(); } } frame 420 { dealCard(dealerHand); showCards(); } frame 423 { dealCard(playerHand); showCards(); } frame 426 { dealCard(dealerHand); showCards(); } frame 429 { dealCard(playerHand); showCards(); } frame 432 { checkForBlackjack(); stop(); } movieClip 256 { } button 258 { on (press) { hit(); } } button 260 { on (press) { startDealer(); } } frame 438 { dealerMove(); } frame 439 { stop(); } movieClip 269 { } button 271 { on (press) { newDeal(); } } frame 442 { stopAllSounds(); } movieClip 285 { } button 293 { on (press) { gotoAndStop(3); stopAllSounds(); } } frame 444 { stopAllSounds(); gotoAndStop('trueending'); } button 303 { on (press) { nextFrame(); AsukaHPminus1 -= 1; AsukaHP = 0; } } frame 449 { if (AsukaHP == 0) { _root.Asukaseriesmovieclip.gotoAndStop(7); } } frame 453 { stop(); } button 313 { on (press) { nextFrame(); play(); } } frame 464 { stop(); } frame 469 { stop(); } button 318 { on (press) { nextFrame(); } } frame 470 { stop(); } frame 471 { stop(); } frame 488 { stop(); } frame 505 { stop(); } button 334 { on (press) { nextFrame(); } } button 339 { on (press) { nextFrame(); play(); } } frame 548 { stop(); } button 343 { on (press) { gotoAndStop(3); } } button 348 { on (press) { prevFrame(); } } movieClip 359 { } button 387 { on (press) { prevFrame(); } } // unknown tag 88 length 215 frame 569 { stop(); } // unknown tag 88 length 216 button 404 { on (press) { stopAllSounds(); nextFrame(); play(); } } movieClip 407 { } frame 677 { stop(); } frame 782 { stop(); } frame 783 { stopAllSounds(); } button 430 { on (press) { stopAllSounds(); nextFrame(); } } frame 838 { stopAllSounds(); } frame 839 { play(); } frame 936 { stop(); } button 472 { on (press) { nextFrame(); play(); } } frame 1011 { stop(); } frame 1012 { stop(); } button 480 { on (press) { gotoAndStop('returntonothing'); stopAllSounds(); } } frame 1028 { stopAllSounds(); } frame 1069 { stopAllSounds(); } frame 1070 { play(); } frame 1167 { stopAllSounds(); } frame 1187 { stop(); } frame 1191 { play(); } frame 2289 { stopAllSounds(); } frame 2290 { stop(); } frame 2301 { stop(); } frame 2306 { stop(); } frame 2307 { stop(); } frame 2308 { stop(); } frame 2325 { stop(); } frame 2342 { stop(); } frame 2385 { stop(); } button 534 { on (press) { gotoAndStop(3); stopAllSounds(); } } button 539 { on (press) { nextFrame(); } }




http://swfchan.com/24/118224/info.shtml
Created: 7/3 -2019 08:50:42 Last modified: 7/3 -2019 08:50:42 Server time: 23/04 -2024 07:26:57