home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global move, BLENDER, ROLLNUMBER, i, HELPTRUE
- set i to (i + 1) mod 8
- set j to i mod 4
- set k to i mod 2
- if not j then
- set BLENDER to [790 + not (not i), 792]
- set the cursor of sprite 48 to BLENDER
- end if
- repeat with n = 47 down to 41
- if rollOver(n) then
- puppetSprite(n, 1)
- set x to the castNum of sprite n
- if (x <= 753) and (750 <= x) then
- set the castNum of sprite n to the number of cast (750 + j)
- else
- if (x <= 757) and (754 <= x) then
- set the castNum of sprite n to the number of cast (754 + j)
- else
- if (x <= 761) and (758 <= x) then
- set the castNum of sprite n to the number of cast (758 + j)
- else
- if (x <= 765) and (762 <= x) then
- set the castNum of sprite n to the number of cast (762 + j)
- else
- if (x <= 773) and (767 <= x) then
- set the castNum of sprite n to the number of cast (x + 50)
- else
- if (x <= 823) and (817 <= x) then
- set the castNum of sprite n to the number of cast (x - 50)
- else
- if (x <= 775) and (774 <= x) then
- set the castNum of sprite n to the number of cast (774 + k)
- else
- if (x <= 777) and (776 <= x) then
- set the castNum of sprite n to the number of cast (776 + k)
- else
- if (x <= 779) and (778 <= x) then
- set the castNum of sprite n to the number of cast (778 + k)
- else
- if (x <= 781) and (780 <= x) then
- set the castNum of sprite n to the number of cast (780 + k)
- else
- if (x <= 783) and (782 <= x) then
- set the castNum of sprite n to the number of cast (782 + k)
- else
- if (x <= 808) and (807 <= x) then
- set the castNum of sprite n to the number of cast (807 + k)
- else
- if (x <= 811) and (810 <= x) then
- set the castNum of sprite n to the number of cast (810 + k)
- else
- if (x <= 816) and (813 <= x) then
- set the castNum of sprite n to the number of cast (813 + j)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- next repeat
- end if
- puppetSprite(n, 0)
- end repeat
- if HELPTRUE <> 0 then
- tell the stage
- ROLLTEST()
- end tell
- tell window "CONTROLS"
- ROLLTEST()
- end tell
- end if
- updateStage()
- end
-