home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gnum1, gvar1
- puppetSound(3, 64)
- set the castNum of sprite (gnum1 + 21) to 331
- puppetTransition(26, 1, 8)
- updateStage()
- set num to random(5)
- set the castNum of sprite (gnum1 + 21) to num + 235
- puppetTransition(26, 1, 8)
- updateStage()
- waitsnd()
- puppetSound(3, num + 230)
- waitsnd()
- puppetSound(3, 64 + random(2))
- waitsnd()
- puppetSound(3, 67)
- set the castNum of sprite 48 to 127 + gvar1
- compjunluselecth()
- endh()
- end
-
- on compjunluselecth
- global gnum1
- set alist to [5, 8, 13]
- repeat with n = 1 to 1
- set num to random(19) + 1
- if (num = gnum1) or (getOne(alist, num) <> 0) then
- set n to n - 1
- end if
- end repeat
- set gnum1 to num
- cursormoveh1()
- selectedjunluh()
- end
-
- on endh
- waitsnd()
- puppetSound(3, 31)
- repeat with n = 2 to 41
- puppetSprite(n, 0)
- end repeat
- go("e")
- abort()
- end
-