home *** CD-ROM | disk | FTP | other *** search
- on dspten
- global gten, gcnt, gspeed
- set gcnt to gcnt + 1
- set gten to gten + 1
- if gcnt = 2 then
- set gcnt to 0
- set gspeed to gspeed + 1
- if gspeed > 9 then
- set gspeed to 9
- end if
- set ii to gspeed
- repeat with i = 16 to 24
- if ii > 0 then
- set the puppet of sprite i to 1
- set the blend of sprite i to 100
- set ii to ii - 1
- next repeat
- end if
- exit
- end repeat
- end if
- end
-
- on dsplife life
- global glife
- set glife to glife - life
- if glife < 0 then
- set glife to 0
- end if
- set ii to glife
- repeat with i = 10 to 12
- if ii > 0 then
- set the puppet of sprite i to 1
- set the blend of sprite i to 100
- set ii to ii - 1
- next repeat
- end if
- set the puppet of sprite i to 0
- end repeat
- end
-
- on clear no
- set the puppet of sprite 34 to 0
- repeat with i = 10 to 12
- set the puppet of sprite i to 0
- end repeat
- repeat with i = 35 to 47
- set the puppet of sprite i to 0
- end repeat
- repeat with i = 27 to 29
- set the puppet of sprite i to 0
- end repeat
- if no = 0 then
- repeat with i = 16 to 24
- set the puppet of sprite i to 0
- end repeat
- end if
- end
-