home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global theSenetGame, aFirstPlayerSelected
- if the playerMoving of theSenetGame = the computerPlayer of theSenetGame then
- PauseForThis(30)
- resetDice(100)
- PauseForThis(15)
- rollDice(theSenetGame)
- checkForOne(theSenetGame)
- else
- if the playerMoving of theSenetGame = 1 then
- PauseForThis(30)
- resetDice(100)
- else
- if the playerMoving of theSenetGame = 2 then
- PauseForThis(30)
- resetDice(440)
- end if
- end if
- end if
- if not aFirstPlayerSelected then
- go(the frame)
- end if
- end
-
- on resetDice Hloc
- set Iteration to 1
- repeat with x = 4 to 7
- set the locH of sprite x to Hloc + (Iteration * 25)
- set the castNum of sprite x to the number of cast "Dice Down.1"
- updateStage()
- set Iteration to Iteration + 1
- end repeat
- end
-