home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gmode
- set num to the clickOn
- puppetSound(3, 100)
- cursor(200)
- set the cursor of sprite 41 to 0
- set the cursor of sprite 42 to 0
- if num = 42 then
- set the castNum of sprite num to 236
- closew(num)
- go("m")
- else
- if gmode < 22 then
- sound stop 1
- set the castNum of sprite num to 233
- closew(num)
- go("pl")
- else
- set the castNum of sprite num to gmode + 212
- closew(num)
- if gmode = 22 then
- go("22")
- else
- sound stop 1
- puppetSprite(48, 0)
- go("qu")
- end if
- end if
- end if
- end
-
- on closew num
- global gmode
- updateStage()
- set the castNum of sprite num to 231
- repeat while soundBusy(3)
- nothing()
- end repeat
- puppetSound(3, 94)
- set the castNum of sprite gmode to 191
- puppetSprite(gmode, 0)
- puppetTransition(15, 1, 4, 1)
- updateStage()
- end
-