home *** CD-ROM | disk | FTP | other *** search
- property pATimer
- global gFishFollowingBait, gRemaindingTime, gScore, gFishCaught
-
- on new me
- gRemaindingTime = 120
- displayTime()
- pATimer = the ticks
- gNumFishCaught = 0
- gScore = 0
- member("FishesDisplay").text = "0"
- member("ScoreDisplay").text = "0"
- end
-
- on exitFrame me
- if (pATimer + 60) < the ticks then
- gRemaindingTime = gRemaindingTime - 1
- if gRemaindingTime < 0 then
- member("YourScore").text = "Your Score: " & string(gScore)
- go(the frame + 1)
- puppetSound(5, "win10")
- else
- pATimer = the ticks
- displayTime()
- end if
- end if
- go(the frame)
- end
-