home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global codelist
- sresp(40)
- set temp to line the frame - 843 of the text of cast 4138
- set c1 to value(item 1 of temp)
- set c2 to value(item 2 of temp)
- set c3 to value(item 3 of temp)
- set butnum to value(item 4 of temp)
- set bpage to the frame - c3
- set bchannel to 20 + butnum
- set whichcast to the castNum of sprite bchannel
- if (whichcast = 0) and (butnum <> 0) then
- set the visible of sprite 21 to 1
- set the visible of sprite 22 to 1
- updateStage()
- puppetSprite(21, 0)
- puppetSprite(22, 0)
- go(the frame + 1)
- exit
- end if
- if (the puppet of sprite bchannel = 1) and (c2 > 1) then
- go(the frame + 1)
- else
- if (butnum = 0) and (c2 = 0) then
- go(the frame + 1)
- else
- set the visible of sprite 21 to 1
- set the visible of sprite 22 to 1
- updateStage()
- puppetSprite(21, 0)
- puppetSprite(22, 0)
- go(the frame + c2)
- end if
- end if
- end
-