home *** CD-ROM | disk | FTP | other *** search
/ Sunday That One Day / STOD_VFS_INVIS.ISO / pc / map3.dxr / 00258.ls < prev    next >
Encoding:
Text File  |  1995-09-15  |  489 b   |  23 lines

  1. on mouseUp
  2.   global gSprite2Cast, TimerCount, PlayedCarAnim
  3.   CursorOff()
  4.   if PlayedCarAnim = 1 then
  5.     set TimerCount to 0
  6.   end if
  7.   puppetSprite(2, 0)
  8.   puppetSprite(3, 0)
  9.   puppetSprite(4, 0)
  10.   if gSprite2Cast = the number of cast "LakeWave1" then
  11.     CursorOff()
  12.     play frame "TownAnim1"
  13.   else
  14.     if gSprite2Cast = the number of cast "LakeWave2" then
  15.       CursorOff()
  16.       play frame "TownAnim2"
  17.     else
  18.       CursorOff()
  19.       play frame "TownAnim3"
  20.     end if
  21.   end if
  22. end
  23.