home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / eroticos / stripbowl_game.swf / scripts / DefineSprite_1373 / frame_19 / DoAction.as
Text File  |  2005-08-19  |  4KB  |  251 lines

  1. scenario = random(6);
  2. if(scenario == 0 && eval("../:turn") == 1)
  3. {
  4.    if(pin1switch != 0)
  5.    {
  6.       "../:pin1function"();
  7.    }
  8.    if(pin2switch != 0)
  9.    {
  10.       "../:pin2function"();
  11.    }
  12.    if(pin3switch != 0)
  13.    {
  14.       "../:pin3function"();
  15.    }
  16. }
  17. if(scenario == 1 && eval("../:turn") == 1)
  18. {
  19.    if(pin1switch != 0)
  20.    {
  21.       "../:pin1function"();
  22.    }
  23.    if(pin2switch != 0)
  24.    {
  25.       "../:pin2function"();
  26.    }
  27.    if(pin3switch != 0)
  28.    {
  29.       "../:pin3function"();
  30.    }
  31.    if(pin4switch != 0)
  32.    {
  33.       "../:pin4function"();
  34.    }
  35.    if(pin5switch != 0)
  36.    {
  37.       "../:pin5function"();
  38.    }
  39. }
  40. if(scenario == 2 && eval("../:turn") == 1)
  41. {
  42.    if(pin1switch != 0)
  43.    {
  44.       "../:pin1function"();
  45.    }
  46.    if(pin2switch != 0)
  47.    {
  48.       "../:pin2function"();
  49.    }
  50.    if(pin3switch != 0)
  51.    {
  52.       "../:pin3function"();
  53.    }
  54.    if(pin4switch != 0)
  55.    {
  56.       "../:pin4function"();
  57.    }
  58.    if(pin5switch != 0)
  59.    {
  60.       "../:pin5function"();
  61.    }
  62.    if(pin6switch != 0)
  63.    {
  64.       "../:pin6function"();
  65.    }
  66. }
  67. if(scenario == 3 && eval("../:turn") == 1)
  68. {
  69.    if(pin3switch != 0)
  70.    {
  71.       "../:pin3function"();
  72.    }
  73.    if(pin4switch != 0)
  74.    {
  75.       "../:pin4function"();
  76.    }
  77.    if(pin5switch != 0)
  78.    {
  79.       "../:pin5function"();
  80.    }
  81.    if(pin6switch != 0)
  82.    {
  83.       "../:pin6function"();
  84.    }
  85. }
  86. if(scenario == 4 && eval("../:turn") == 1)
  87. {
  88.    if(pin1switch != 0)
  89.    {
  90.       "../:pin1function"();
  91.    }
  92.    if(pin2switch != 0)
  93.    {
  94.       "../:pin2function"();
  95.    }
  96.    if(pin6switch != 0)
  97.    {
  98.       "../:pin6function"();
  99.    }
  100.    if(pin8switch != 0)
  101.    {
  102.       "../:pin8function"();
  103.    }
  104. }
  105. if(scenario == 5 && eval("../:turn") == 1)
  106. {
  107.    if(pin1switch != 0)
  108.    {
  109.       "../:pin1function"();
  110.    }
  111.    if(pin2switch != 0)
  112.    {
  113.       "../:pin2function"();
  114.    }
  115.    if(pin3switch != 0)
  116.    {
  117.       "../:pin3function"();
  118.    }
  119.    if(pin4switch != 0)
  120.    {
  121.       "../:pin4function"();
  122.    }
  123. }
  124. if(scenario == 0 && eval("../:turn") == 2)
  125. {
  126.    if(pin1switch != 0)
  127.    {
  128.       "../:pin1function"();
  129.    }
  130.    if(pin2switch != 0)
  131.    {
  132.       "../:pin2function"();
  133.    }
  134.    if(pin3switch != 0)
  135.    {
  136.       "../:pin3function"();
  137.    }
  138.    if(pin7switch != 0)
  139.    {
  140.       "../:pin7function"();
  141.    }
  142.    if(pin8switch != 0)
  143.    {
  144.       "../:pin8function"();
  145.    }
  146.    if(pin9switch != 0)
  147.    {
  148.       "../:pin9function"();
  149.    }
  150. }
  151. if(scenario == 1 && eval("../:turn") == 2)
  152. {
  153.    if(pin1switch != 0)
  154.    {
  155.       "../:pin1function"();
  156.    }
  157.    if(pin2switch != 0)
  158.    {
  159.       "../:pin2function"();
  160.    }
  161.    if(pin7switch != 0)
  162.    {
  163.       "../:pin7function"();
  164.    }
  165.    if(pin8switch != 0)
  166.    {
  167.       "../:pin8function"();
  168.    }
  169.    if(pin9switch != 0)
  170.    {
  171.       "../:pin9function"();
  172.    }
  173.    if(pin10switch != 0)
  174.    {
  175.       "../:pin10function"();
  176.    }
  177. }
  178. if(scenario == 2 && eval("../:turn") == 2)
  179. {
  180.    if(pin1switch != 0)
  181.    {
  182.       "../:pin1function"();
  183.    }
  184.    if(pin2switch != 0)
  185.    {
  186.       "../:pin2function"();
  187.    }
  188.    if(pin3switch != 0)
  189.    {
  190.       "../:pin3function"();
  191.    }
  192.    if(pin5switch != 0)
  193.    {
  194.       "../:pin5function"();
  195.    }
  196.    if(pin8switch != 0)
  197.    {
  198.       "../:pin8function"();
  199.    }
  200.    if(pin9switch != 0)
  201.    {
  202.       "../:pin9function"();
  203.    }
  204.    if(pin10switch != 0)
  205.    {
  206.       "../:pin10function"();
  207.    }
  208. }
  209. if(scenario == 4 && eval("../:turn") == 2)
  210. {
  211.    if(pin1switch != 0)
  212.    {
  213.       "../:pin1function"();
  214.    }
  215.    if(pin2switch != 0)
  216.    {
  217.       "../:pin2function"();
  218.    }
  219.    if(pin3switch != 0)
  220.    {
  221.       "../:pin3function"();
  222.    }
  223.    if(pin7switch != 0)
  224.    {
  225.       "../:pin7function"();
  226.    }
  227.    if(pin8switch != 0)
  228.    {
  229.       "../:pin8function"();
  230.    }
  231.    if(pin9switch != 0)
  232.    {
  233.       "../:pin9function"();
  234.    }
  235. }
  236. if(scenario == 5 && eval("../:turn") == 2)
  237. {
  238.    if(pin1switch != 0)
  239.    {
  240.       "../:pin1function"();
  241.    }
  242.    if(pin7switch != 0)
  243.    {
  244.       "../:pin7function"();
  245.    }
  246.    if(pin10switch != 0)
  247.    {
  248.       "../:pin10function"();
  249.    }
  250. }
  251.