home *** CD-ROM | disk | FTP | other *** search
- on PutTarotInfo index
- global CCcards, CardsDealt, PosIndex, CCindexes, CardMeanWaite, CardMeanFoster, author, Opt
- set CardS to 3
- puppetSprite(CardS, 1)
- set tmp to item index of CCcards
- set PosIndex to index
- if index >= CardsDealt then
- put " " into field "DivMeaning"
- set the castNum of sprite CardS to the number of cast "waiteBack"
- put " " into field "TarotCard"
- if Opt <> 1 then
- keySound("NotDealt")
- end if
- return
- else
- set lineNum to value(item index of CCindexes)
- if (lineNum = 78) or (lineNum = 156) then
- set Z to 154
- else
- set Z to ((lineNum mod 78) - 1) * 2
- end if
- if author = "Waite" then
- if lineNum > 78 then
- put line Z + 2 of CardMeanWaite into field "DivMeaning"
- else
- put line Z + 1 of CardMeanWaite into field "DivMeaning"
- end if
- else
- if lineNum > 78 then
- put line Z + 2 of CardMeanFoster into field "DivMeaning"
- else
- put line Z + 1 of CardMeanFoster into field "DivMeaning"
- end if
- end if
- set the castNum of sprite CardS to the number of cast tmp
- put char 1 to the number of chars in tmp - 2 of tmp into field "TarotCard"
- end if
- end
-