home *** CD-ROM | disk | FTP | other *** search
- global gTargetsBlocked, gCurrentScore, gRoundScore, gDartCount, gRound, gEnableGrab, gDartList, gEnablethrow, gTotalDartsLeft, gDartScore, gIB, gDartButtons, gTargets, gRSBox, gCompDart
-
- on prepareFrame me
- gCurrentScore = 0
- gRoundScore = []
- set the floatPrecision to 0
- repeat while gRoundScore.count < 20
- gRoundScore.add(0)
- end repeat
- gDartCount = 0
- gRound = 1
- gEnableGrab = 1
- gDartList = []
- gCompDart = []
- gEnablethrow = 0
- gTotalDartsLeft = 0
- gDartScore = [0, 0, 0]
- gIB = []
- gTargetsBlocked = []
- gDartButtons = []
- gTargets = []
- gRSBox = []
- end
-