home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
muzea
/
exemusei
/
secoli.dir
/
00089_Script_•SU
< prev
next >
Wrap
Text File
|
1987-04-11
|
795b
|
28 lines
on mouseDown
global gskr
put the top of sprite 2 into T
put the mouseCast into MC
repeat while the mouseDown = 1 and the mousecast = MC
put T + gSkr into T
put the bottom of sprite 3 into U
put the height of cast (the castNum of sprite 2) into H
put 1+(the top of sprite 4)-H into D
puppetSprite 2,1
puppetSprite 39,1
puppetSprite 40,1
if T <= D then
put D into T
set the locH of sprite 39 = 226
set the locH of sprite 40 = 9000
else if T >= U then
put U into T
set the locH of sprite 39 = 9000
set the locH of sprite 40 = 226
else
set the locH of sprite 39 = 226
set the locH of sprite 40 = 226
end if
set the locV of sprite 2 = T
updatestage
end repeat
end