home *** CD-ROM | disk | FTP | other *** search
- global gTime_spr, gxronos, gtimeFlag, gLepta, gxronos_flag, gKrataTime, gIsPaused_flag, gPoints, perase, gMiaw_flag, gPauseAllowed, thequit
-
- on enterFrame me
- gTime_spr = 29
- if not gMiaw_flag then
- gPauseAllowed = 1
- if sprite(gTime_spr).visible = 0 then
- gtimeFlag = 0
- end if
- if gxronos_flag = 1 then
- startTimer()
- gxronos_flag = 0
- end if
- if sprite(gTime_spr).visible = 1 then
- gxronos = (the timer / 60) + gKrataTime
- if gxronos = 59 then
- gLepta = gLepta + 1
- gKrataTime = 0
- startTimer()
- end if
- if gxronos < 10 then
- sprite(gTime_spr).member.text = string(gLepta & ":" & "0" & gxronos)
- else
- sprite(gTime_spr).member.text = string(gLepta & ":" & gxronos)
- end if
- end if
- time_Flag = gxronos mod 2
- if time_Flag = 1 then
- if perase = 1 then
- initShowPoints()
- perase = 0
- end if
- else
- perase = 1
- end if
- end if
- end
-
- on exitFrame
- CheckSound()
- if thequit then
- go(1, "exitMov")
- end if
- go(the frame)
- end
-