home *** CD-ROM | disk | FTP | other *** search
/ Kimeruze! Yamikon! / Kimeruze! Yamikon!.iso / pc / yarikon / wevent11.dxr / 00006.ls < prev    next >
Encoding:
Text File  |  1996-10-23  |  740 b   |  33 lines

  1. on enterFrame
  2.   global samasu, ayumi, syu, mayu, drink, tired
  3.   if samasu = 1 then
  4.     go("mainz")
  5.   end if
  6.   if ayumi >= 10 then
  7.     set ayumi to 10
  8.   end if
  9.   if syu >= 10 then
  10.     set syu to 10
  11.   end if
  12.   if mayu >= 10 then
  13.     set mayu to 10
  14.   end if
  15.   puppetSprite(16, 1)
  16.   puppetSprite(17, 1)
  17.   puppetSprite(18, 1)
  18.   puppetSprite(19, 1)
  19.   puppetSprite(20, 1)
  20.   set the castNum of sprite 16 to 238 + ayumi
  21.   set the castNum of sprite 17 to 238 + syu
  22.   set the castNum of sprite 18 to 238 + mayu
  23.   set the castNum of sprite 19 to 249 + drink
  24.   set the castNum of sprite 20 to 249 + tired
  25. end
  26.  
  27. on exitFrame
  28.   global volume, slide
  29.   set volume to the soundLevel
  30.   set the visible of sprite 14 to 0
  31.   set the visible of sprite 15 to 0
  32. end
  33.