home *** CD-ROM | disk | FTP | other *** search
- on GoMovie mov, frm
- repeat with i = 18 to 22
- puppetSprite(i, 0)
- end repeat
- repeat with i = 35 to 47
- puppetSprite(i, 0)
- end repeat
- unLoad()
- unLoadCast()
- go("black")
- sound stop 1
- sound stop 2
- if the paramCount = 2 then
- go(frm, mov)
- else
- go(1, mov)
- end if
- end
-
- on SetInk
- puppetSound(2, the number of cast "click")
- updateStage()
- set temp to the clickOn
- puppetSprite(temp, 1)
- set the castNum of sprite temp to 1000
- updateStage()
- if the frame < label("medicin") then
- set the movieRate of sprite 15 to 0
- end if
- end
-
- on SetCast var
- puppetSound(2, the number of cast "click")
- updateStage()
- if the paramCount = 0 then
- set temp to the clickOn
- else
- set temp to var
- end if
- puppetSprite(temp, 1)
- if label("medicin") > marker(0) then
- set newCast to the castNum of sprite temp + 1
- else
- set newCast to the castNum of sprite temp + 2
- end if
- set the castNum of sprite temp to newCast
- updateStage()
- end
-