home *** CD-ROM | disk | FTP | other *** search
- on SETUPBOARD
- global GRIDX, GRIDY, MAN, HEAD, TELE, TELECNT, OPT
- set OPT to 0
- set TELECNT to 0
- repeat with n = 1 to 14 * 12
- set G to random(5)
- if G = 1 then
- set the locH of sprite 11 to getAt(GRIDX, n)
- set the locV of sprite 11 to getAt(GRIDY, n)
- setAt(GRIDVAL, n, 2)
- updateStage()
- end if
- if G < 5 then
- next repeat
- end if
- set the locH of sprite 10 to getAt(GRIDX, n)
- set the locV of sprite 10 to getAt(GRIDY, n)
- setAt(GRIDVAL, n, 1)
- updateStage()
- end repeat
- set the locH of sprite 30 to getAt(GRIDX, 41)
- set the locV of sprite 30 to getAt(GRIDY, 41)
- updateStage()
- set MAN to 41
- set the keyUpScript to "GETDIR"
- repeat with n = 10 to 11
- set the locH of sprite n to -2000
- set the locV of sprite n to -2000
- updateStage()
- end repeat
- set TELE to random(164)
- set the castNum of sprite 9 to 14
- set the locH of sprite 9 to getAt(GRIDX, TELE)
- set the locV of sprite 9 to getAt(GRIDY, TELE)
- updateStage()
- setAt(GRIDVAL, TELE, 30)
- end
-