home *** CD-ROM | disk | FTP | other *** search
- on pushbutton1 markername
- set spnum to clickOn()
- set nowcastnum to the memberNum of sprite spnum
- puppetSprite(spnum, 1)
- repeat while the stillDown
- if rollOver(spnum) then
- set the memberNum of sprite spnum to nowcastnum + 1
- else
- set the memberNum of sprite spnum to nowcastnum
- end if
- updateStage()
- end repeat
- updateStage()
- if rollOver(spnum) then
- wait(30)
- puppetSprite(spnum, 0)
- updateStage()
- go(markername)
- end if
- puppetSprite(spnum, 0)
- updateStage()
- end
-
- on pushbutton2 markername
- set spnum to clickOn()
- set nowcasth to the locH of sprite spnum
- set nowcastv to the locV of sprite spnum
- puppetSprite(spnum, 1)
- repeat while the stillDown
- if rollOver(spnum) then
- set the locH of sprite spnum to nowcasth + 4
- set the locV of sprite spnum to nowcastv + 4
- else
- set the locH of sprite spnum to nowcasth
- set the locV of sprite spnum to nowcastv
- end if
- updateStage()
- end repeat
- set the locH of sprite spnum to nowcasth
- set the locV of sprite spnum to nowcastv
- updateStage()
- if rollOver(spnum) then
- wait(30)
- puppetSprite(spnum, 0)
- updateStage()
- go(markername)
- end if
- puppetSprite(spnum, 0)
- updateStage()
- end
-
- on btndown2
- set spnum to clickOn()
- set nowcastnum to the memberNum of sprite spnum
- puppetSprite(spnum, 1)
- repeat while stillDown()
- if rollOver(clickOn()) then
- set the memberNum of sprite spnum to nowcastnum + 1
- else
- set the memberNum of sprite spnum to nowcastnum
- end if
- updateStage()
- end repeat
- wait(30)
- set the memberNum of sprite spnum to nowcastnum
- puppetSprite(spnum, 0)
- updateStage()
- if rollOver(clickOn()) then
- return 1
- end if
- return 0
- end
-
- on btndown3
- set spnum to clickOn()
- set nowcastnum to the memberNum of sprite spnum
- puppetSprite(spnum, 1)
- repeat while stillDown()
- if rollOver(clickOn()) then
- set the cursor of sprite 22 to [member "yubiG", member "yubiGM"]
- set the memberNum of sprite spnum to nowcastnum + 1
- else
- set the cursor of sprite 22 to [member "yubiP", member "yubiPM"]
- set the memberNum of sprite spnum to nowcastnum
- end if
- updateStage()
- end repeat
- wait(20)
- set the cursor of sprite 22 to [member "yubiP", member "yubiPM"]
- set the memberNum of sprite spnum to nowcastnum
- puppetSprite(spnum, 0)
- updateStage()
- if the mouseUp then
- return 1
- end if
- return 0
- end
-
- on wait t
- set endtime to the ticks + t
- repeat while the ticks <= endtime
- nothing()
- end repeat
- end
-