home *** CD-ROM | disk | FTP | other *** search
- on exitFrame me
- global riverOffset, riverWidth, playerThrottle, debrisFrequency, debrisTimer, playerPosition, playerData, scoreRecords, debrisData, flagChecks, roundTimer, vanishCheckpoint, splashData, splashCycle, splashRateDelay, checkTimer, secondsTimer, frameTime, frameTally, lapBonusPoints, spareTimeBonus, readySetGoDelay, pDrift, pSpeed, flagPosition, playerFailure
- riverOffset = 50
- riverWidth = 3400
- playerThrottle = 60
- debrisFrequency = 50
- debrisTimer = 25
- playerPosition = 1
- playerData = [0, point(1500, 3000), point(0, 0), 0]
- scoreRecords = [0, 0, 0, 0]
- debrisData = []
- repeat with whichItem = 1 to 20
- add(debrisData, [0, point(0, 0)])
- set the loc of sprite (34 + whichItem) to point(-50, -50)
- end repeat
- repeat with xRep = 1 to 28
- sprite(300 + xRep).locZ = 9
- end repeat
- repeat with xRep = 70 to 85
- sprite(400 + xRep).locZ = 9
- end repeat
- set the loc of sprite 77 to point(468, 362)
- set the locV of sprite 79 to -50
- flagChecks = [0, 0, 0, 0]
- roundTimer = [0, 0, 0, 0]
- sprite(80).visible = 0
- vanishCheckpoint = 0
- put "0" into member "Lap 1 score"
- put "0" into member "Lap 2 score"
- put "0" into member "Lap 3 score"
- put "0" into member "Lap 4 score"
- splashData = []
- splashCycle = 0
- splashRateDelay = 0
- repeat with whichSplash = 1 to 10
- set the loc of sprite (130 + whichSplash) to point(-50, -50)
- sprite(130 + whichSplash).locZ = 60
- add(splashData, [0, point(-50, -50)])
- end repeat
- repeat with whichSprite = 10 to 54
- sprite(whichSprite).locZ = 10
- end repeat
- repeat with whichSprite = 70 to 90
- sprite(whichSprite).locZ = 200
- end repeat
- repeat with whichSprite = 100 to 128
- sprite(whichSprite).locZ = 8
- end repeat
- checkTimer = 30
- secondsTimer = 60
- frameTime = the ticks + 30
- frameTally = 0
- lapBonusPoints = 0
- spareTimeBonus = 0
- sprite(1).locZ = 200
- set the member of sprite 80 to "reddot"
- set the member of sprite 70 to "checkpoint Flag"
- readySetGoDelay = 10
- pDrift = 5
- pSpeed = 0
- set the member of sprite 217 to "Digit 8"
- set the member of sprite 218 to "Digit 0"
- set the member of sprite 219 to "Digit 0"
- set the member of sprite 220 to "Digit 0"
- set the loc of sprite 69 to point(220, -50)
- sprite(69).locZ = 999
- flagPosition = 7500
- playerFailure = 0
- end
-