home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gmode
- set gmode to the clickOn
- set h to the mouseH
- cursor(200)
- set the cursor of sprite 46 to 0
- set the cursor of sprite 48 to 0
- repeat with n = 20 to 24
- set the cursor of sprite n to 0
- end repeat
- puppetSound(3, 98)
- puppetSprite(gmode, 1)
- if h > 370 then
- gogameh()
- else
- helph()
- end if
- end
-
- on gogameh
- global gmode
- if gmode < 22 then
- sound stop 1
- puppetSound(1, 0)
- end if
- set the castNum of sprite gmode to 172 + gmode
- updateStage()
- if gmode < 22 then
- go("pl")
- else
- go(string(gmode))
- end if
- end
-
- on helph
- global gmode
- set the castNum of sprite gmode to 226
- updateStage()
- repeat while soundBusy(3)
- nothing()
- end repeat
- puppetSound(3, 93)
- set the castNum of sprite gmode to gmode + 201
- puppetTransition(29, 1, 4, 1)
- updateStage()
- go("h1")
- end
-