Global subroutines designed for use in games.
This file contains the following global subroutines:
+YESNO Wait for Y or N to be pressed and return 1 or 0 respectively.
+SETKEYS Sets up keys for game (no fire).
+GK Wait for any key to be pressed and return the value.
Used by +YESNO and +SETKEYS.
+GAMEOVR Clear the gfx screen and display the message "GAME OVER" nicely.
GO2 Subroutine of +GAMEOVR, blacks out a character with lines.
Cls
Plot 25,36
Prog "GO2"
Text 28,X,"G"
Prog "GO2"
Text 28,X,"A"
Prog "GO2"
Text 28,X,"M"
Isz X
Prog "GO2"
Text 28,X,"E"
X+7->X
Prog "GO2"
Text 28,X,"O"
Prog "GO2"
Text 28,X,"V"
Prog "GO2"
Text 28,X,"E"
Prog "GO2"
Text 28,X,"R"
PlotOff X,Y
Plot 0,0