For dX = 0.1 To 1 Step 0.01
Shapes.Zoom(halloShape, dX,1)
Program.Delay(40)
EndFor
Show = ""
GraphicsWindow.Title = "Ready. Press any key but 'Escape' to repeat"
Else
Program.Delay(100)
EndIf
EndWhile
' ////////// EVENTs \\\\\\\\\\
Sub OnKeyDown
If GraphicsWindow.LastKey = "LeftShift" Then
ShftFlag = "True"
EndIf
If GraphicsWindow.LastKey = "Space" And ShftFlag Then
ShftFlag = ""
EasterEgg()
EndIf
If GraphicsWindow.LastKey = "Escape" Then
Program.End()
Else
If Show = "" Then
Show = "True"
Shapes.SetText(buuhShape,"")
Shapes.SetText(Blood,"")
Shapes.SetText(Skull,"")
Shapes.SetText(halloShape,"")
EndIf
EndIf
EndSub
' ////////// SUBs \\\\\\\\\\
Sub EasterEgg
GraphicsWindow.BackgroundColor = GraphicsWindow.GetRandomColor()
EndSub