home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / powerballs.swf / scripts / DefineSprite_175 / frame_1 / DoAction.as
Encoding:
Text File  |  2007-03-12  |  1.1 KB  |  89 lines

  1. spielername = _root.spielername;
  2. maxrpm = _root.maxrpm;
  3. email = _root.email;
  4. sip = random(10) + 1;
  5. if(sip == 1)
  6. {
  7.    codemultiplikator = 1447;
  8. }
  9. if(sip == 2)
  10. {
  11.    codemultiplikator = 1459;
  12. }
  13. if(sip == 3)
  14. {
  15.    codemultiplikator = 1453;
  16. }
  17. if(sip == 4)
  18. {
  19.    codemultiplikator = 1471;
  20. }
  21. if(sip == 5)
  22. {
  23.    codemultiplikator = 1451;
  24. }
  25. if(sip == 6)
  26. {
  27.    codemultiplikator = 1481;
  28. }
  29. if(sip == 7)
  30. {
  31.    codemultiplikator = 1483;
  32. }
  33. if(sip == 8)
  34. {
  35.    codemultiplikator = 1487;
  36. }
  37. if(sip == 9)
  38. {
  39.    codemultiplikator = 1489;
  40. }
  41. if(sip == 10)
  42. {
  43.    codemultiplikator = 1493;
  44. }
  45. style = random(10) + 1;
  46. if(style == 1)
  47. {
  48.    codesub = 1453;
  49. }
  50. if(style == 2)
  51. {
  52.    codesub = 1451;
  53. }
  54. if(style == 3)
  55. {
  56.    codesub = 1471;
  57. }
  58. if(style == 4)
  59. {
  60.    codesub = 1459;
  61. }
  62. if(style == 5)
  63. {
  64.    codesub = 1447;
  65. }
  66. if(style == 6)
  67. {
  68.    codesub = 1493;
  69. }
  70. if(style == 7)
  71. {
  72.    codesub = 1489;
  73. }
  74. if(style == 8)
  75. {
  76.    codesub = 1487;
  77. }
  78. if(style == 9)
  79. {
  80.    codesub = 1483;
  81. }
  82. if(style == 10)
  83. {
  84.    codesub = 1481;
  85. }
  86. code = _root.maxrpm * codemultiplikator - codesub + style * sip;
  87. geladen = 0;
  88. _root.speicherstatus.gotoAndStop(2);
  89.