home *** CD-ROM | disk | FTP | other *** search
- on setokasih
- global gnum1, gwlist1, gwlist2
- set num to getAt(gwlist1, gnum1)
- if num < 6 then
- set var to 1
- set num to (num * 5) + 5
- else
- set var to 5
- end if
- set alist to []
- set gwlist2 to []
- repeat with n = 1 to 5
- set nn to 140 + num + (n * var)
- append(alist, nn)
- end repeat
- set flg to 5 - (random(4) + 1)
- repeat with n = 1 to 15 + flg
- set nn to 150 + random(25)
- if getOne(alist, nn) = 0 then
- append(alist, nn)
- next repeat
- end if
- set n to n - 1
- end repeat
- repeat with n = 1 to flg
- deleteAt(alist, random(6 - n))
- end repeat
- set flg to 5 - flg
- repeat with n = 1 to flg
- append(gwlist2, getAt(alist, n))
- end repeat
- repeat with n = 10 to 29
- set var to random(count(alist))
- set the memberNum of sprite n to getAt(alist, var)
- deleteAt(alist, var)
- end repeat
- end
-
- on setfh5
- global gnum1
- set the memberNum of sprite (gnum1 + 2) to getAt([134, 136, 135, 135, 137], gnum1)
- set the locH of sprite (gnum1 + 2) to getAt([245, 343, 320, 409, 352], gnum1)
- set the locV of sprite (gnum1 + 2) to getAt([89, 90, 90, 89, 91], gnum1)
- end
-
- on setbagh5
- global gnum1
- set the locH of sprite (gnum1 + 2) to getAt([112, 211, 388, 546, 459], gnum1)
- end
-