home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / asitchintime2.swf / scripts / DefineSprite_104 / frame_1 / DoAction.as < prev   
Encoding:
Text File  |  2005-11-09  |  296 b   |  20 lines

  1. stop();
  2. if(value == undefined)
  3. {
  4.    switch(cuddle)
  5.    {
  6.       case 1:
  7.          value = 250;
  8.          break;
  9.       case 2:
  10.          value = 500;
  11.          break;
  12.       case 3:
  13.          value = 750;
  14.          break;
  15.       default:
  16.          cuddle = 1;
  17.          value = 250;
  18.    }
  19. }
  20.