home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gvar1, gpersonlist, gnum1
- puppetSprite(6, 1)
- set num to getAt(gpersonlist, gvar1 + 1) + 380
- puppetSound(3, 57)
- set the castNum of sprite 4 to 145
- set the locV of sprite 4 to -11 + (33 * gnum1)
- repeat with n = 1 to 3
- set the castNum of sprite (gvar1 + 8) to num
- updateStage()
- waith(10)
- set the castNum of sprite (gvar1 + 8) to num + 30
- updateStage()
- waith(10)
- end repeat
- set the castNum of sprite (gvar1 + 8) to num
- updateStage()
- atarih(num)
- end
-
- on atarih num
- global gvar1, gpersonlist
- puppetSound(3, 57 + random(2))
- set the castNum of sprite (gvar1 + 8) to num + 40
- repeat with n = 1 to 4
- if (n - 1) <> gvar1 then
- set the castNum of sprite (n + 7) to 430 + getAt(gpersonlist, n)
- end if
- end repeat
- waith(60)
- updateStage()
- gopanel()
- end
-
- on gopanel
- global gvar1, gnum1, gwlist1, gpa
- puppetSprite(42, 0)
- puppetSprite(43, 0)
- puppetSprite(2, 1)
- puppetSprite(3, 1)
- puppetSprite(5, 1)
- repeat with c = 1 to 4
- set v to -10 + (92 * c)
- set sp to (5 * c) - 5 + 21
- set pos to (5 * c) - 5
- repeat with n = 1 to 5
- set the locH of sprite (n + sp) to -21 + (114 * n)
- set the locV of sprite (n + sp) to v
- set the castNum of sprite (n + sp) to getAt(gwlist1, pos + n) + 190
- set the locH of sprite (n + sp - 20) to -21 + (114 * n)
- set the locV of sprite (n + sp - 20) to v
- set the castNum of sprite (n + sp - 20) to getAt(gwlist1, pos + n)
- end repeat
- end repeat
- set gnum1 to gpa
- set the castNum of sprite (gnum1 + 21) to getAt(gwlist1, gnum1) + 210
- set the castNum of sprite (gnum1 + 1) to gvar1 + 122
- waitsnd()
- end
-