home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gPerspective, s20, s10, s40, s60, s5
- if gPerspective = 2 then
- puppetSound("rbowswd.wav")
- repeat with Reps = 4 down to 0
- animate(EMPTY, 23, "cycle01.bmp", 10, s10, EMPTY)
- animate(EMPTY, 23, "cycle01.bmp", -10, s10, EMPTY)
- set Reps to Reps - 1
- end repeat
- set the castNum of sprite 23 to the number of cast "star04.bmp"
- updateStage()
- end if
- if gPerspective = 3 then
- animate("wobble.wav", 23, "sword1.bmp", 5, s5, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", -5, s20, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", 5, s5, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", -5, s5, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", 5, s5, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", -5, s5, EMPTY)
- animate(EMPTY, 23, "sword1.bmp", 5, s5, "star04.bmp")
- end if
- if gPerspective = 1 then
- animate("shing.wav", 23, "star04.bmp", 17, s20, EMPTY)
- end if
- puppetSprite(23, 0)
- end
-