home *** CD-ROM | disk | FTP | other *** search
/ Curio City 11 / CURIO11.bin / pc / movie / game / yuurei.dir / 00021.ls < prev    next >
Encoding:
Text File  |  1998-01-01  |  526 b   |  24 lines

  1. on ahirudown
  2.   set nowv to the locV of sprite 3
  3.   set nowv5 to the locV of sprite 5
  4.   set the locV of sprite 3 to nowv + 16
  5.   set the locV of sprite 5 to nowv5 + 16
  6.   updateStage()
  7.   if (nowv + 16) > 319 then
  8.     puppetSprite(3, 0)
  9.     puppetSprite(5, 0)
  10.     puppetSprite(8, 0)
  11.     go("over")
  12.   end if
  13. end
  14.  
  15. on ahiruup
  16.   set nowv to the locV of sprite 3
  17.   set nowv5 to the locV of sprite 5
  18.   if nowv > 240 then
  19.     set the locV of sprite 3 to nowv - 16
  20.     set the locV of sprite 5 to nowv5 - 16
  21.     updateStage()
  22.   end if
  23. end
  24.