home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
testsoft
/
muzea
/
exemusei
/
shared.cst
/
00922_Script_922
< prev
next >
Wrap
Text File
|
1987-04-12
|
722b
|
30 lines
on Rgioco nS, RIS
put ns+20 into nP
if the puppet of sprite nP = FALSE then
put 0 into FLAG
puppetSprite nP,1
set the locH of sprite nP = the locH of sprite nP - 9000
updatestage
repeat while rollover (ns)
CTRL
if the mousedown then
put 1 into FLAG
exit repeat
end if
end repeat
if FLAG=1 and RIS=1 then
global gF
put gF+1 into gF
put "@:spkgioco:" & "bravo" & string(gF) & ".aif" into SPK
else if FLAG=1 and RIS=0 then
puppetSprite nP,0
put "@:spkgioco:" & "errore1" into SPK
end if
if flag=1 then
sound playFile 3, SPK
else
puppetSprite nP,0
end if
end if
end