home *** CD-ROM | disk | FTP | other *** search
- on OnElevSprites
- puppetSprite(1, 1)
- updateStage()
- end
-
- on OffElevSprites
- puppetSprite(1, 0)
- updateStage()
- end
-
- on UpElev
- puppetSprite(1, 1)
- set H to the locV of sprite 1
- set the locV of sprite 1 to H + 6
- if the locV of sprite 1 < 85 then
- nothing()
- else
- set the locV of sprite 1 to 85
- puppetSprite(1, 0)
- updateStage()
- go("EL CLOSE 2")
- end if
- updateStage()
- end
-
- on DownElev
- puppetSprite(1, 1)
- set H to the locV of sprite 1
- set the locV of sprite 1 to H - 6
- if the locV of sprite 1 > -486 then
- nothing()
- else
- set the locV of sprite 1 to -486
- puppetSprite(1, 0)
- updateStage()
- go("EL CLOSE 1")
- end if
- updateStage()
- end
-