home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gwlist1, gnum1, gvar1, gflag1
- set gnum1 to getAt(gwlist1, gnum1)
- puppetSprite(4, 1)
- set the castNum of sprite 4 to (gnum1 * 4) + 517
- updateStage()
- set qinf to "1820251230201723282729192410300516271224"
- set num to value(chars(qinf, (2 * gnum1) - 1, 2 * gnum1))
- set deb to 0
- if (num > deb) and (random(10) <> 10) then
- set gflag1 to (num + 30) * (random(4) + 4) / 10
- set gvar1 to 1
- else
- set gflag1 to num + 30
- set gvar1 to 0
- end if
- puppetSprite(8, 1)
- preLoadCast(gnum1 + 500)
- puppetSound(3, 51 + random(2))
- waitsnd()
- waith(40)
- end
-