home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Greatest Childrens Stories Ever Told
/
Greatest_Stories.iso
/
menus
/
storysub.dir
/
00497_Script_497
< prev
next >
Wrap
Text File
|
1994-11-16
|
1KB
|
43 lines
-- choose questions on or off in sub menu
on startmovie
global questions,mpath,theRECT,numr,wrong,MENUMOVIE,SCOREMOVIE
--set theRECT=rect(the StageLeft+120,theStageTop+30,the StageLeft+408,the StageTop+218)
put questions into field "keepquesinfo"
CLEARGLOBALS
set numr=0.0
set wrong=0.0
set the soundenabled to true
put chars (the moviePath,1,offset("\menus",the moviePath)) into mpath
PUT THE MOVIEPATH&"SCORESTR.DIR" INTO SCOREMOVIE
PUT THE MOVIEPATH&THE MOVIENAME INTO MENUMOVIE
set questions=field "keepquesinfo"
queswindow questions
end startmovie
on queswindow a
global questions
puppetsprite 22,1
if a=1 then
set questions=1
set the castnum of sprite 22 to the number of cast "Q on"
UPDATESTAGE
else
if a=0 then
set questions=0
--PUPPETSPRITE 18,TRUE
set the castnum of sprite 22 to the number of cast "Q off"
UPDATESTAGE
end if
end if
put questions into field "keepquesinfo"
end queswindow
ON PUPPETTHESPRITES
REPEAT WITH BUTTONS=2 TO 17
PUT BUTTONS
PUPPETSPRITE BUTTONS,TRUE
END REPEAT
END PUPPETTHESPRITES