home *** CD-ROM | disk | FTP | other *** search
/ Blender Volume 2 #3 / Blender_2_3.iso / BLENDER / FILES / GHOST.DIR / 00013.ls < prev    next >
Encoding:
Text File  |  1996-04-01  |  470 b   |  18 lines

  1. on mouseUp
  2.   sound playFile 2, "stuni.aif"
  3.   set sp to the clickOn
  4.   puppetSprite(sp, 1)
  5.   if the castNum of sprite sp = 57 then
  6.     set the foreColor of sprite sp to 0
  7.     set the backColor of sprite sp to 162
  8.     set the castNum of sprite sp to 171
  9.   else
  10.     set the visible of sprite sp to 0
  11.     set the foreColor of sprite sp to 255
  12.     set the backColor of sprite sp to 0
  13.     set the castNum of sprite sp to 57
  14.     puppetSprite(sp, 0)
  15.   end if
  16.   updateStage()
  17. end
  18.