home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / mgiwaug.dxr / 00013_MGISpinE.ls < prev    next >
Encoding:
Text File  |  1996-06-14  |  362 b   |  13 lines

  1. on MGISpinE
  2.   global ESpinsprite, MGIspritediff, MGIFindTV
  3.   if the castNum of sprite ESpinsprite = 34 then
  4.     set MGIspritediff to -1
  5.   else
  6.     if the castNum of sprite ESpinsprite = 29 then
  7.       set MGIspritediff to 1
  8.     end if
  9.   end if
  10.   set the castNum of sprite ESpinsprite to the castNum of sprite ESpinsprite + (1 * MGIspritediff)
  11.   updateStage()
  12. end
  13.