home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set theSp to the clickOn
- puppetSound("Click")
- set the castNum of sprite (theSp - 3) to theSp - 5
- updateStage()
- repeat while the stillDown
- end repeat
- if theSp = 10 then
- CreateTableObj("S820.TXT")
- set theToFName to "Bu-1"
- else
- if theSp = 11 then
- CreateTableObj("COLOR2S.TXT")
- set theToFName to "Bu-2"
- else
- CreateTableObj("COLOR2.TXT")
- set theToFName to "Bu-3"
- end if
- end if
- puppetSprite(14, 0)
- puppetSprite(15, 0)
- puppetSprite(16, 0)
- go(theToFName)
- puppetSound(0)
- end
-