home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / OvCata.swf / scripts / DefineSprite_155 / frame_3 / DoAction.as
Encoding:
Text File  |  2005-08-04  |  218 b   |  24 lines

  1. x = random(3);
  2. if(x < 1)
  3. {
  4.    this._x = 200;
  5. }
  6. if(x > 0)
  7. {
  8.    if(x < 2)
  9.    {
  10.       this._x = 300;
  11.    }
  12. }
  13. if(x > 1)
  14. {
  15.    if(x < 3)
  16.    {
  17.       this._x = 100;
  18.    }
  19. }
  20. if(x > 2)
  21. {
  22.    this._x = 400;
  23. }
  24.