home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Corrida / dragracer.swf / scripts / DefineSprite_1631 / frame_1 / DoAction.as
Encoding:
Text File  |  2005-10-06  |  432 b   |  27 lines

  1. if(_root.car["UPGRADE" add i])
  2. {
  3.    this._visible = false;
  4. }
  5. description = "";
  6. if(upTQ != 0)
  7. {
  8.    description += "TQ +" add upTQ add ", ";
  9. }
  10. if(upHP != 0)
  11. {
  12.    description += "HP +" add upHP add ", ";
  13. }
  14. if(upCL != 0)
  15. {
  16.    description += "CL +" add upCL add ", ";
  17. }
  18. if(upWT > 0)
  19. {
  20.    description += "WT +" add upWT add ", ";
  21. }
  22. if(upWT < 0)
  23. {
  24.    description += "WT " add upWT add ", ";
  25. }
  26. description += ";";
  27.