home *** CD-ROM | disk | FTP | other *** search
- global grid, points, currentStage, levelIndicator, pScore, ScoreTotal, pScoreBox, pScoreBoxTotal, CLRS
-
- on prepareFrame me
- CLRS = [#red: 0, #orange: 0, #blue: 0, #green: 0, #yellow: 0, #purple: 0]
- points = 125
- pScore = 0
- pScoreBox.text = string(pScore)
- pScoreBoxTotal.text = string(ScoreTotal)
- currentStage = "stage 5"
- grid = []
- cC = currentStage.char.count
- levelIndicator.text = currentStage.char[cC]
- repeat with o = 1 to 11
- grid.add([])
- repeat with s = 1 to 13
- grid[o].add([#empty])
- end repeat
- end repeat
- end
-