home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gslt, gspdl, gkritu
- movelamp(3)
- updatelamp()
- movedigit()
- if getAt(gspdl, 2) = 0 then
- if getAt(gslt, 2) = getAt(gslt, 4) then
- if getAt(gslt, 2) = 1 then
- set gkritu to 10
- end if
- if getAt(gslt, 2) = 2 then
- set gkritu to 5
- end if
- if getAt(gslt, 2) = 3 then
- set gkritu to 1
- end if
- if getAt(gslt, 2) = 4 then
- set gkritu to random(14) + 1
- end if
- startTimer()
- go("ìñÇýÇË")
- else
- resetlamp(1)
- go("ê¥éZ")
- end if
- end if
- go(the frame)
- end
-