home *** CD-ROM | disk | FTP | other *** search
- on reveal
- global CardsDealt, CardCoord, CCindexes, Cnt
- set C to 22
- set H to 23
- repeat with i = 1 to CardsDealt - 1
- cursor(4)
- if the controlDown or Cnt then
- exit repeat
- end if
- idle()
- RevealCard(i)
- if the controlDown then
- exit repeat
- end if
- idle()
- Sound_Color(value(item i of CCindexes), 1)
- end repeat
- set Cnt to 0
- cursor(-1)
- puppetSprite(H, 0)
- puppetSprite(C, 0)
- updateStage()
- end
-