home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / towerblaster.swf / scripts / DefineSprite_214 / frame_31 / DoAction.as
Encoding:
Text File  |  2007-03-12  |  396 b   |  25 lines

  1. if(shake6 == 1)
  2. {
  3.    _root.pB6._rotation += (random(5) + 1) * 0.5;
  4. }
  5. if(shake5 == 1)
  6. {
  7.    _root.pB5._rotation += (random(5) + 1) * 0.5;
  8. }
  9. if(shake3 == 1)
  10. {
  11.    _root.pB3._rotation += (random(5) + 1) * 0.5;
  12. }
  13. if(shake1 == 1)
  14. {
  15.    _root.pB1._rotation -= (random(5) + 1) * 0.5;
  16. }
  17. if(shake8 == 1)
  18. {
  19.    _root.pB8._rotation = 0;
  20. }
  21. if(shake4 == 1)
  22. {
  23.    _root.pB4._rotation = 0;
  24. }
  25.