home *** CD-ROM | disk | FTP | other *** search
- property spriteNum
- global gLine1, gLine2, gLine3, gLine4, gLine5, gLine6, gLine7, gLineFlip1, gLineFlip2, gLineFlip3, gLineFlip4, gLineFlip5, gLineFlip6, gLineFlip7, gEnemy1UpRight, gEnemy1UpLeft, gEnemy1DownRight, gEnemy1DownLeft, gEnemy2UpRight, gEnemy2UpLeft, gEnemy2DownRight, gEnemy2DownLeft, gHikerX, gHikerY, gEnemyX1, gEnemyY1, gEnemyX2, gEnemyY2, gEnemyX3, gEnemyY3, gEnemyX4, gEnemyY4, gCounta, gCounta2, gBlockFace, gGoThru, gMinute, gMoveBady, gMoveBady2, gMoveBady3, gMoveBady4, gLevel, gJumpSpeed, gUp, gCompletePercent, gFlipCount, gTemp, gScore, gTimeAhead, gPlayerUpRight, gPlayerUpLeft, gPlayerDownRight, gPlayerDownLeft, gLevelTime, gTotalTime, gPaused, gBlocksFlipped, gEDelay
-
- on beginSprite
- member("LevelCompleteScoreText").text = "Total Score:" && string(gScore)
- puppetSound(4, "continue&restart")
- end
-
- on mouseLeave
- sprite(spriteNum).member = "Gameover-Normal"
- puppetSound(4, "continue&restart")
- end
-
- on mouseEnter
- sprite(spriteNum).member = "Gameover-MouseOver"
- puppetSound(4, "continue&restart")
- end
-
- on mouseUp
- puppetSound(4, "reset")
- sprite(200).blend = 100
- sprite(200).width = 40
- sprite(200).height = 150
- sprite(200).member = "Balltest_Animated01"
- sprite(205).width = 40
- sprite(205).height = 150
- sprite(205).blend = 100
- sprite(205).member = "Balltest2_Animated01"
- sprite(206).width = 40
- sprite(206).height = 150
- sprite(206).blend = 100
- sprite(205).member = "Balltest2_Animated01"
- sprite(205).pGetTime = 0
- sprite(206).pGetTime = 0
- sprite(207).pGetTime = 0
- sprite(208).pGetTime = 0
- gEDelay = 100
- gTimeAhead = 0
- gReverse1 = 0
- gCounta = 1
- gCounta2 = 1
- gCounta3 = 1
- gCounta4 = 1
- gCounta5 = 1
- gCounta6 = 1
- gCounta7 = 1
- gEnemy1UpRight = 0
- gEnemy1UpLeft = 0
- gEnemy1DownRight = 0
- gEnemy1DownLeft = 0
- gEnemy2UpRight = 0
- gEnemy2UpLeft = 0
- gEnemy2DownRight = 0
- gEnemy2DownLeft = 0
- gEnemy3UpRight = 0
- gEnemy3UpLeft = 0
- gEnemy3DownRight = 0
- gEnemy3DownLeft = 0
- gEnemy4UpRight = 0
- gEnemy4UpLeft = 0
- gEnemy4DownRight = 0
- gEnemy4DownLeft = 0
- gCue = 0
- gMinute = 0
- gBlocksFlipped = 0
- member("BlocksText").text = gBlocksFlipped && "of" && integer((0.5 + (gLevel * 0.08)) * 28)
- gPlayerUpRight = 0
- gPlayerUpLeft = 0
- gPlayerDownRight = 0
- gPlayerDownLeft = 0
- repeat with gCounta3 = 49 to 63
- member(gCounta3).regPoint = point(20, 78)
- end repeat
- repeat with gCounta3 = 73 to 87
- member(gCounta3).regPoint = point(20, 78)
- end repeat
- repeat with gCounta3 = 89 to 103
- member(gCounta3).regPoint = point(20, 78)
- end repeat
- gScore = 0
- member("ScoreText").text = string(gScore)
- gLevel = 1
- member("LevelText").text = string(gLevel)
- gBlocksFlipped = 0
- member("BlocksText").text = gBlocksFlipped && "of" && integer((0.5 + (gLevel * 0.08)) * 28)
- gPaused = 0
- gLevelTime = 0
- gTotalTime = 0
- sprite(6).visible = 0
- gLine1 = [2]
- gLine2 = [0, 0]
- gLine3 = [0, 0, 0]
- gLine4 = [0, 0, 0, 0]
- gLine5 = [0, 0, 0, 0, 0]
- gLine6 = [0, 0, 0, 0, 0, 0]
- gLine7 = [0, 0, 0, 1, 0, 0, 0]
- gLineFlip1 = [0]
- gLineFlip2 = [0, 0]
- gLineFlip3 = [0, 0, 0]
- gLineFlip4 = [0, 0, 0, 0]
- gLineFlip5 = [0, 0, 0, 0, 0]
- gLineFlip6 = [0, 0, 0, 0, 0, 0]
- gLineFlip7 = [0, 0, 0, 0, 0, 0, 0]
- gHikerY = 7
- gHikerX = 4
- gEnemyX1 = 1
- gEnemyY1 = 1
- gEnemyX2 = 0
- gEnemyY2 = 0
- gEnemyX3 = 0
- gEnemyY3 = 0
- gEnemyX4 = 0
- gEnemyY4 = 0
- sprite(200).loc = point(284, 406)
- sprite(205).loc = point(284, 118)
- sprite(205).visible = 1
- sprite(206).loc = point(284, 118)
- sprite(206).visible = 0
- sprite(207).visible = 0
- sprite(208).visible = 0
- gJumpSpeed = 2
- gCounta2 = 0
- gMoveBady = 0
- gMoveBady2 = 0
- gMoveBady3 = 0
- gMoveBady4 = 0
- gUp = 1
- gCompletePercent = 0.0
- gFlipCount = 0.0
- sprite(210).visible = 0
- go(2)
- repeat with gCounta = 0 to 6
- repeat while gHikerY > gCounta2
- sprite(70 + gCounta2 + (gCounta * 7)).locH = 62 + (gCounta2 * 74) + (gCounta * 37)
- sprite(70 + gCounta2 + (gCounta * 7)).locV = 406 - (gCounta * 48)
- moveStarField()
- sprite(70 + gCounta2 + (gCounta * 7)).member = "block06"
- gCounta2 = gCounta2 + 1
- end repeat
- gHikerY = gHikerY - 1
- gCounta2 = 0
- end repeat
- gHikerY = 7
- gHikerX = 4
- startTimer()
- end
-