home *** CD-ROM | disk | FTP | other *** search
/ GKGM 014 / GKGM014.iso / trash / gorillazgroove.swf / scripts / frame_10 / DoAction.as
Text File  |  2007-01-09  |  21KB  |  455 lines

  1. function()
  2. {
  3.    if(mySound.song.position > grooveMark[i] - 25)
  4.    {
  5.       if(turn == "comp")
  6.       {
  7.          grooveMove[i % 4] = int(Math.random() * 3);
  8.          if(grooveMove[i % 4] == 0)
  9.          {
  10.             compLeft.green._alpha = 100;
  11.             gorilla.torso.armLeft._y = 30;
  12.             gorilla.torso.armLeft._rotation = 10;
  13.             gorilla.torso.armLeft.hand._rotation = -40;
  14.             i++;
  15.          }
  16.          else if(grooveMove[i % 4] == 1)
  17.          {
  18.             compRight.green._alpha = 100;
  19.             gorilla.torso.armRight._y = 30;
  20.             gorilla.torso.armRight._rotation = -10;
  21.             gorilla.torso.armRight.hand._rotation = 40;
  22.             i++;
  23.          }
  24.          else if(grooveMove[i % 4] == 2)
  25.          {
  26.             compDown.green._alpha = 100;
  27.             gorilla.torso.armLeft._rotation = -15;
  28.             gorilla.torso.armLeft.hand._rotation = -80;
  29.             gorilla.torso.armRight._rotation = 15;
  30.             gorilla.torso.armRight.hand._rotation = 80;
  31.             i++;
  32.          }
  33.       }
  34.       else if(turn == "player")
  35.       {
  36.          if(mySound.song.position - 200 > grooveMark[i] + 100 && i != 376)
  37.          {
  38.             i++;
  39.          }
  40.       }
  41.    }
  42.    if(compLeft.yellow._alpha > 0)
  43.    {
  44.       compLeft.yellow._alpha -= 6.25;
  45.    }
  46.    if(compLeft.green._alpha > 0)
  47.    {
  48.       compLeft.green._alpha -= 6.25;
  49.    }
  50.    if(compLeft.red._alpha > 0)
  51.    {
  52.       compLeft.red._alpha -= 6.25;
  53.    }
  54.    if(compLeft.orange._alpha > 0)
  55.    {
  56.       compLeft.orange._alpha -= 6.25;
  57.    }
  58.    if(compRight.yellow._alpha > 0)
  59.    {
  60.       compRight.yellow._alpha -= 6.25;
  61.    }
  62.    if(compRight.green._alpha > 0)
  63.    {
  64.       compRight.green._alpha -= 6.25;
  65.    }
  66.    if(compRight.red._alpha > 0)
  67.    {
  68.       compRight.red._alpha -= 6.25;
  69.    }
  70.    if(compRight.orange._alpha > 0)
  71.    {
  72.       compRight.orange._alpha -= 6.25;
  73.    }
  74.    if(compDown.yellow._alpha > 0)
  75.    {
  76.       compDown.yellow._alpha -= 6.25;
  77.    }
  78.    if(compDown.green._alpha > 0)
  79.    {
  80.       compDown.green._alpha -= 6.25;
  81.    }
  82.    if(compDown.red._alpha > 0)
  83.    {
  84.       compDown.red._alpha -= 6.25;
  85.    }
  86.    if(compDown.orange._alpha > 0)
  87.    {
  88.       compDown.orange._alpha -= 6.25;
  89.    }
  90.    if(playerLeft.yellow._alpha > 0)
  91.    {
  92.       playerLeft.yellow._alpha -= 6.25;
  93.    }
  94.    if(playerLeft.green._alpha > 0)
  95.    {
  96.       playerLeft.green._alpha -= 6.25;
  97.    }
  98.    if(playerLeft.red._alpha > 0)
  99.    {
  100.       playerLeft.red._alpha -= 6.25;
  101.    }
  102.    if(playerLeft.orange._alpha > 0)
  103.    {
  104.       playerLeft.orange._alpha -= 6.25;
  105.    }
  106.    if(playerRight.yellow._alpha > 0)
  107.    {
  108.       playerRight.yellow._alpha -= 6.25;
  109.    }
  110.    if(playerRight.green._alpha > 0)
  111.    {
  112.       playerRight.green._alpha -= 6.25;
  113.    }
  114.    if(playerRight.red._alpha > 0)
  115.    {
  116.       playerRight.red._alpha -= 6.25;
  117.    }
  118.    if(playerRight.orange._alpha > 0)
  119.    {
  120.       playerRight.orange._alpha -= 6.25;
  121.    }
  122.    if(playerDown.yellow._alpha > 0)
  123.    {
  124.       playerDown.yellow._alpha -= 6.25;
  125.    }
  126.    if(playerDown.green._alpha > 0)
  127.    {
  128.       playerDown.green._alpha -= 6.25;
  129.    }
  130.    if(playerDown.red._alpha > 0)
  131.    {
  132.       playerDown.red._alpha -= 6.25;
  133.    }
  134.    if(playerDown.orange._alpha > 0)
  135.    {
  136.       playerDown.orange._alpha -= 6.25;
  137.    }
  138.    if(mySound.song.position > grooveMark[0] - 225 && hitFirst)
  139.    {
  140.       lightComp._visible = true;
  141.       hitFirst = false;
  142.    }
  143.    if(mySound.song.position > grooveMark[128] - 225 && hitSecond)
  144.    {
  145.       lightComp._visible = true;
  146.       hitSecond = false;
  147.    }
  148.    if(mySound.song.position > grooveMark[264] - 225 && hitThird)
  149.    {
  150.       lightComp._visible = true;
  151.       hitThird = false;
  152.    }
  153.    if(mySound.song.position > grooveMark[127] + 500 && roundOne)
  154.    {
  155.       roundOnePerfect = perfect;
  156.       roundOneEarly = early;
  157.       roundOneLate = late;
  158.       roundOneAccuracy = Math.round((roundOnePerfect + (roundOneEarly + roundOneLate) / 2) / 64 * 100);
  159.       roundResults.gotoAndStop("roundOne");
  160.       roundResultsDestination = 171;
  161.       roundResults.perfect.text = roundOnePerfect;
  162.       roundResults.perfectShad.text = roundOnePerfect;
  163.       roundResults.early.text = roundOneEarly;
  164.       roundResults.earlyShad.text = roundOneEarly;
  165.       roundResults.late.text = roundOneLate;
  166.       roundResults.lateShad.text = roundOneLate;
  167.       roundResults.accuracy.text = roundOneAccuracy + "%";
  168.       roundResults.accuracyShad.text = roundOneAccuracy + "%";
  169.       roundOne = false;
  170.    }
  171.    if(mySound.song.position > grooveMark[263] + 500 && roundTwo)
  172.    {
  173.       roundTwoPerfect = perfect - roundOnePerfect;
  174.       roundTwoEarly = early - roundOneEarly;
  175.       roundTwoLate = late - roundOneLate;
  176.       roundTwoAccuracy = Math.round((roundTwoPerfect + (roundTwoEarly + roundTwoLate) / 2) / 68 * 100);
  177.       roundResults.gotoAndStop("roundTwo");
  178.       roundResultsDestination = 171;
  179.       roundResults.perfect.text = roundTwoPerfect;
  180.       roundResults.perfectShad.text = roundTwoPerfect;
  181.       roundResults.early.text = roundTwoEarly;
  182.       roundResults.earlyShad.text = roundTwoEarly;
  183.       roundResults.late.text = roundTwoLate;
  184.       roundResults.lateShad.text = roundTwoLate;
  185.       roundResults.accuracy.text = roundTwoAccuracy + "%";
  186.       roundResults.accuracyShad.text = roundTwoAccuracy + "%";
  187.       roundTwo = false;
  188.    }
  189.    if(mySound.song.position > grooveMark[375] + 500 && roundThree)
  190.    {
  191.       roundThreePerfect = perfect - roundOnePerfect - roundTwoPerfect;
  192.       roundThreeEarly = early - roundOneEarly - roundTwoEarly;
  193.       roundThreeLate = late - roundOneLate - roundTwoLate;
  194.       roundThreeAccuracy = Math.round((roundThreePerfect + (roundThreeEarly + roundThreeLate) / 2) / 56 * 100);
  195.       roundResults.gotoAndStop("roundThree");
  196.       roundResultsDestination = 171;
  197.       roundResults.perfect.text = roundThreePerfect;
  198.       roundResults.perfectShad.text = roundThreePerfect;
  199.       roundResults.early.text = roundThreeEarly;
  200.       roundResults.earlyShad.text = roundThreeEarly;
  201.       roundResults.late.text = roundThreeLate;
  202.       roundResults.lateShad.text = roundThreeLate;
  203.       roundResults.accuracy.text = roundThreeAccuracy + "%";
  204.       roundResults.accuracyShad.text = roundThreeAccuracy + "%";
  205.       roundThree = false;
  206.    }
  207.    if(mySound.song.position > grooveMark[128] - 2000 && roundOneEnd)
  208.    {
  209.       roundResultsDestination = 400;
  210.       roundOneEnd = false;
  211.    }
  212.    if(mySound.song.position > grooveMark[264] - 2000 && roundTwoEnd)
  213.    {
  214.       roundResultsDestination = 400;
  215.       roundTwoEnd = false;
  216.    }
  217.    if(mySound.song.position >= mySound.song.duration - 100 && roundThreeEnd)
  218.    {
  219.       roundResultsDestination = 400;
  220.       roundThreeEnd = false;
  221.    }
  222.    if(mySound.song.position > grooveMark[i - 1] + 225)
  223.    {
  224.       if(i % 4 == 0 && i == nextI)
  225.       {
  226.          if(turn == "comp")
  227.          {
  228.             turn = "player";
  229.             lightPlayer._visible = true;
  230.             lightComp._visible = false;
  231.          }
  232.          else if(turn == "player" && i != 128 && i != 264 && i != 376)
  233.          {
  234.             turn = "comp";
  235.             lightPlayer._visible = false;
  236.             lightComp._visible = true;
  237.          }
  238.          else
  239.          {
  240.             turn = "comp";
  241.             lightPlayer._visible = false;
  242.             lightComp._visible = false;
  243.          }
  244.          nextI += 4;
  245.       }
  246.    }
  247.    if(roundResults._y != roundResultsDestination)
  248.    {
  249.       roundResults._y -= (roundResults._y - roundResultsDestination) / 5;
  250.    }
  251.    if(roundResults._y >= 399.5)
  252.    {
  253.       roundResults.gotoAndStop("blank");
  254.    }
  255.    if(brickWall._y != brickWallDestination)
  256.    {
  257.       brickWall._y -= (brickWall._y - brickWallDestination) / 7;
  258.    }
  259.    if(brickWall._y <= -409.5 && brickWallDestination == -410)
  260.    {
  261.       brickWall.gotoAndStop("blank");
  262.    }
  263.    if(mySound.song.position >= mySound.song.duration - 100 && endGame)
  264.    {
  265.       brickWallDestination = 0;
  266.       brickWall.gotoAndStop("brickWall");
  267.       endGame = false;
  268.    }
  269.    if(brickWall._y >= -0.5 && !endGame)
  270.    {
  271.       Key.removeListener(listener);
  272.       delete actions.onEnterFrame;
  273.       gotoAndStop("enterName");
  274.    }
  275.    if(mySound.song.position <= left[leftTotal] - time)
  276.    {
  277.       russelLeftDestination = 0;
  278.    }
  279.    else if(mySound.song.position <= left[leftTotal])
  280.    {
  281.       russelLeftDestination = -9;
  282.    }
  283.    else if(mySound.song.position >= left[leftTotal] + time)
  284.    {
  285.       leftTotal++;
  286.    }
  287.    else if(mySound.song.position > left[leftTotal])
  288.    {
  289.       russelLeftDestination = 11;
  290.    }
  291.    russel.armLeft._rotation -= (russel.armLeft._rotation - russelLeftDestination) / 3.5;
  292.    if(mySound.song.position <= right[rightTotal] - time)
  293.    {
  294.       russelRightDestination = 0;
  295.       russelHeadDestination = 0;
  296.    }
  297.    else if(mySound.song.position <= right[rightTotal])
  298.    {
  299.       russelRightDestination = 9;
  300.    }
  301.    else if(mySound.song.position >= right[rightTotal] + time)
  302.    {
  303.       rightTotal++;
  304.    }
  305.    else if(mySound.song.position > right[rightTotal])
  306.    {
  307.       russelRightDestination = -11;
  308.       russelHeadDestination = 10;
  309.    }
  310.    if(mySound.song.position <= rhythmMark[rhythmMarkTotal] - time)
  311.    {
  312.       gorillaHeadDestination = 0;
  313.       gorillaArmDestination = 60;
  314.       gorillaTorsoDestination = 15;
  315.       gorillaLegLeftDestination = 0;
  316.       gorillaLegLeftUpperDestination = 0;
  317.       gorillaLegRightDestination = 0;
  318.       gorillaLegRightUpperDestination = 0;
  319.       noodleHeadDestination = 1;
  320.       noodleTorsoDestination = 58;
  321.       noodleArmRightDestination = -14;
  322.       noodleArmRightLowerDestination = 3;
  323.       noodleArmLeftDestination = 16;
  324.       noodleArmLeftLowerDestination = -8;
  325.       noodleLegLeftDestination = 0;
  326.       noodleLegRightDestination = 0;
  327.    }
  328.    else if(mySound.song.position >= rhythmMark[rhythmMarkTotal] + time * 1.5)
  329.    {
  330.       rhythmMarkTotal++;
  331.    }
  332.    else if(mySound.song.position > rhythmMark[rhythmMarkTotal])
  333.    {
  334.       gorillaHeadDestination = 60;
  335.       gorillaArmDestination = 70;
  336.       gorillaTorsoDestination = 60;
  337.       gorillaLegLeftDestination = -20;
  338.       gorillaLegLeftUpperDestination = 80;
  339.       gorillaLegRightDestination = 20;
  340.       gorillaLegRightUpperDestination = -80;
  341.       noodleHeadDestination = 27;
  342.       noodleTorsoDestination = 78;
  343.       noodleArmRightDestination = -24;
  344.       noodleArmRightLowerDestination = 43;
  345.       noodleArmLeftDestination = 26;
  346.       noodleArmLeftLowerDestination = -48;
  347.       noodleLegLeftDestination = -25;
  348.       noodleLegRightDestination = 25;
  349.    }
  350.    russel.armRight.lower._rotation -= (russel.armRight.lower._rotation - russelRightDestination) / 3.5;
  351.    russel.head._y -= (russel.head._y - russelHeadDestination) / 10;
  352.    gorilla.head._y -= (gorilla.head._y - gorillaHeadDestination) / 8;
  353.    gorilla.torso.armLeft._y -= (gorilla.torso.armLeft._y - gorillaArmDestination) / 6;
  354.    gorilla.torso.armRight._y -= (gorilla.torso.armRight._y - gorillaArmDestination) / 6;
  355.    gorilla.torso._y -= (gorilla.torso._y - gorillaTorsoDestination) / 8;
  356.    gorilla.legLeft._rotation -= (gorilla.legLeft._rotation - gorillaLegLeftDestination) / 6;
  357.    gorilla.legLeft.upper._rotation -= (gorilla.legLeft.upper._rotation - gorillaLegLeftUpperDestination) / 6;
  358.    gorilla.legRight._rotation -= (gorilla.legRight._rotation - gorillaLegRightDestination) / 6;
  359.    gorilla.legRight.upper._rotation -= (gorilla.legRight.upper._rotation - gorillaLegRightUpperDestination) / 6;
  360.    noodle.head._y -= (noodle.head._y - noodleHeadDestination) / 8;
  361.    noodle.torso._y -= (noodle.torso._y - noodleTorsoDestination) / 8;
  362.    noodle.torso.armRight._rotation -= (noodle.torso.armRight._rotation - noodleArmRightDestination) / 6;
  363.    noodle.torso.armRight.lower._rotation -= (noodle.torso.armRight.lower._rotation - noodleArmRightLowerDestination) / 6;
  364.    noodle.torso.armLeft._rotation -= (noodle.torso.armLeft._rotation - noodleArmLeftDestination) / 6;
  365.    noodle.torso.armLeft.lower._rotation -= (noodle.torso.armLeft.lower._rotation - noodleArmLeftLowerDestination) / 6;
  366.    noodle.legLeft.leg._rotation -= (noodle.legLeft.leg._rotation - noodleLegLeftDestination) / 6;
  367.    noodle.legRight.leg._rotation -= (noodle.legRight.leg._rotation - noodleLegRightDestination) / 6;
  368.    noodle.head._rotation -= noodle.head._rotation / 7;
  369.    gorilla.torso.armLeft._rotation -= gorilla.torso.armLeft._rotation / 7;
  370.    gorilla.torso;
  371. }
  372. _root.mySound.song.start();
  373. lightPlayer._visible = false;
  374. lightComp._visible = false;
  375. offset = 2000;
  376. scale = 20;
  377. time = 150;
  378. rightTotal = 0;
  379. leftTotal = 0;
  380. rhythmMarkTotal = 0;
  381. grooveMarkTotal = 0;
  382. right = new Array(6806,7671,8544,9400,10273,11138,12002,12869,13734,14600,15474,16335,17199,18070,18934,19795,20658,21535,22393,23263,24132,24994,25860,26733,27613,28461,29333,30197,33661,34526,35400,36273,37126,37998,38864,39729,40589,41459,42327,43197,44927,45795,46658,47513,48386,49258,50133,50984,51856,52713,53580,55313,56184,57041,57913,58779,59655,60513,61383,62250,63113,79570,80442,81313,82175,83026,83913,84765,85636,86513,87374,88231,89113,89964,90835,91713,92568,93435,96034,96913,97762,98634,99513,100367,101233,102113,102951,103853,104713,105571,106422,108165,109913,110765,111623,112513,113350,114216,115083,115954,116826,117686,118558,119429,120313,121163,122024,122886,123757,124619,125480,126357,127213,128089,128936,129827,130674,131543,132427,133296,134143,135000,135873,136750,137611,166200,167077,167938,168807,169669,170538,171400,172269,173133,174000,174867,175725,176592,177500,177500,179184,180060,180927,181803,182661,183537,184392,185254,186109,187000,187855,190455,191332,192179,193056,193926,194780,195657,196514,197396,198258,199112,200000,204321,205176,206045,206907,207799,208653,209506,210385,211261,212123,213000,213855);
  383. rhythmMark = new Array(6806,7671,8544,9400,10273,11138,12002,12869,13734,14600,15474,16335,17199,18070,18934,19795,20658,21535,22393,23263,24132,24994,25860,26733,27613,28461,29333,30197,31063,31929,32795,33661,34526,35400,36273,37126,37998,38864,39729,40589,41459,42327,43197,44062,44927,45795,46658,47513,48386,49258,50133,50984,51856,52713,53580,54446,55313,56184,57041,57913,58779,59655,60513,61383,62250,63113,63979,64845,65711,66577,67443,68309,69175,70041,70907,71773,72639,73505,74371,75237,76103,76969,77835,78701,79570,80442,81313,82175,83026,83913,84765,85636,86513,87374,88231,89113,89964,90835,91713,92568,93435,94301,95167,96034,96913,97762,98634,99513,100367,101233,102113,102951,103853,104713,105571,106422,107288,108165,109031,109913,110765,111623,112513,113350,114216,115083,115954,116826,117686,118558,119429,120313,121163,122024,122886,123757,124619,125480,126357,127213,128089,128936,129827,130674,131543,132427,133296,134143,135000,135873,136750,137611,138477,139343,140209,141075,141941,142807,143673,144539,145405,146271,147137,148003,148869,149735,150601,151467,152333,153199,154065,154931,155797,156663,157529,158395,159261,160127,160993,161859,162725,163591,164457,165323,166200,167077,167938,168807,169669,170538,171400,172269,173133,174000,174867,175725,176592,177500,178366,179184,180060,180927,181803,182661,183537,184392,185254,186109,187000,187855,188721,189587,190455,191332,192179,193056,193926,194780,195657,196514,197396,198258,199112,200000,200866,201732,202598,203464,204321,205176,206045,206907,207799,208653,209506,210385,211261,212123,213000,213855);
  384. left = new Array(6374,7455,8113,9190,9841,10913,11574,12656,13313,14386,15034,16127,16769,17854,18500,19371,20240,21313,21966,23049,23694,24784,25436,26294,26513,27164,28247,28898,29983,33446,34097,35200,35832,36913,37565,38647,39295,40377,41030,42113,42761,45580,46226,47313,47966,49039,49689,50774,51427,52513,53151,54880,56010,56618,57713,58346,59426,60079,61164,61817,62913,63550,79142,80233,80875,81966,82618,83713,84341,85208,86074,87155,87807,88888,89540,90621,91273,92369,93001,95815,96472,97553,98201,99286,99939,101014,101677,102752,103405,104480,105113,106208,106866,107946,108594,109679,110352,111417,112060,113145,113798,114874,115513,116617,117258,118349,118991,120007,120713,121810,122452,123543,124190,125276,125913,127004,127662,128737,129378,130460,131116,132191,132847,133944,134585,135682,136308,137383,165781,166856,167500,168594,169220,170325,171000,171834,172704,173777,174429,175500,176154,177245,177888,178344,178764,179086,179407,179640,180703,181365,182446,183090,184171,184819,185917,186551,187663,190029,191126,191759,192850,193500,194566,195230,196320,196961,198037,198692,199775,203879,204955,205618,206701,207364,208440,209095,210178,210819,211910,212558,213634);
  385. grooveMark = new Array(6374,6806,7455,7671,8113,8544,9190,9400,9841,10273,10913,11138,11574,12002,12656,12869,13313,13734,14386,14600,15034,15474,16127,16335,16769,17199,17854,18070,18500,18934,19371,19795,20240,20658,21313,21535,21966,22393,23049,23263,23694,24132,24784,24994,25436,25860,26513,26733,27164,27613,28247,28461,28898,29333,29983,30197,30629,31063,31714,31929,32361,32795,33446,33661,34097,34526,35200,35400,35832,36273,36913,37126,37565,37998,38647,38864,39295,39729,40377,40589,41030,41459,42113,42327,42761,43197,43847,44062,44493,44927,45580,45795,46226,46658,47313,47513,47966,48386,49039,49258,49689,50133,50774,50984,51427,51856,52513,52713,53151,53580,54231,54446,54880,55313,56010,56184,56618,57041,57713,57913,58346,58779,59426,59655,60079,60513,61164,61383,79142,79570,80233,80442,80875,81313,81966,82175,82618,83026,83713,83913,84341,84765,85208,85636,86074,86513,87155,87374,87807,88231,88888,89113,89540,89964,90621,90835,91273,91713,92369,92568,93001,93435,94086,94301,94733,95167,95815,96034,96472,96913,97553,97762,98201,98634,99286,99513,99939,100367,101014,101233,101677,102113,102752,102951,103405,103853,104480,104713,105113,105571,106208,106422,106866,107288,107946,108165,108594,109031,109679,109913,110352,110765,111417,111623,112060,112513,113145,113350,113798,114216,114874,115083,115513,115954,116617,116826,117258,117686,118349,118558,118991,119429,120007,120313,120713,121163,121810,122024,122452,122886,123543,123757,124190,124619,125276,125480,125913,126357,127004,127213,127662,128089,128737,128936,129378,129827,130460,130674,131116,131543,132191,132427,132847,133296,133944,134143,134585,135000,135682,135873,136308,136750,137383,137611,165781,166200,166856,167077,167500,167938,168594,168807,169220,169669,170325,170538,171000,171400,171834,172269,172704,173133,173777,174000,174429,174867,175500,175725,176154,176592,177245,177500,177888,178366,178764,179184,179640,180060,180703,180927,181365,181803,182446,182661,183090,183537,184171,184392,184819,185254,185917,186109,186551,187000,187663,187855,188287,188721,189372,189587,190029,190455,191126,191332,191759,192179,192850,193056,193500,193926,194566,194780,195230,195657,196320,196514,196961,197396,198037,198258,198692,199112,199775,200000,200432,200866,201517,201732,202164,202598,203149,203464,203879,204321,204955,205176,205618,206045,206701,206907,207364,207799,208440,208653,209095,209506,210178,210385,210819,211261,211910,212123,212558,213000,213634,213855);
  386. grooveMove = new Array(0,0,0,0);
  387. russelLeftDestination = 0;
  388. russelRightDestination = 0;
  389. russelHeadDestination = 0;
  390. gorillaHeadDestination = 0;
  391. gorillaArmDestination = 60;
  392. gorillaHandRightDestination = 7;
  393. gorillaHandLeftDestination = -7;
  394. gorillaTorsoDestination = 15;
  395. gorillaLegLeftDestination = 0;
  396. gorillaLegLeftUpperDestination = 0;
  397. noodleHeadDestination = 1;
  398. noodleTorsoDestination = 58;
  399. noodleArmRightDestination = -14;
  400. noodleArmRightLowerDestination = 3;
  401. noodleArmLeftDestination = 16;
  402. noodleArmLeftLowerDestination = -8;
  403. noodleLegLeftDestination = 0;
  404. noodleLegRightDestination = 0;
  405. i = 0;
  406. nextI = 4;
  407. turn = "comp";
  408. hitFirst = true;
  409. hitSecond = true;
  410. hitThird = true;
  411. perfect = 0;
  412. late = 0;
  413. early = 0;
  414. penalty = 0;
  415. roundOnePerfect = 0;
  416. roundOneLate = 0;
  417. roundOneEarly = 0;
  418. roundOne = true;
  419. roundTwo = true;
  420. roundThree = true;
  421. roundOneEnd = true;
  422. roundTwoEnd = true;
  423. roundThreeEnd = true;
  424. roundResultsDestination = 400;
  425. compLeft.yellow._alpha = 0;
  426. compLeft.green._alpha = 0;
  427. compLeft.red._alpha = 0;
  428. compLeft.orange._alpha = 0;
  429. compRight.yellow._alpha = 0;
  430. compRight.green._alpha = 0;
  431. compRight.red._alpha = 0;
  432. compRight.orange._alpha = 0;
  433. compDown.yellow._alpha = 0;
  434. compDown.green._alpha = 0;
  435. compDown.red._alpha = 0;
  436. compDown.orange._alpha = 0;
  437. playerLeft.yellow._alpha = 0;
  438. playerLeft.green._alpha = 0;
  439. playerLeft.red._alpha = 0;
  440. playerLeft.orange._alpha = 0;
  441. playerRight.yellow._alpha = 0;
  442. playerRight.green._alpha = 0;
  443. playerRight.red._alpha = 0;
  444. playerRight.orange._alpha = 0;
  445. playerDown.yellow._alpha = 0;
  446. playerDown.green._alpha = 0;
  447. playerDown.red._alpha = 0;
  448. playerDown.orange._alpha = 0;
  449. brickWallDestination = -410;
  450. inARow = 0;
  451. currentInARow = 0;
  452. endGame = true;
  453. actions;
  454. "onEnterFrame";
  455.