Patch:Press any key

From KeenWiki
Jump to: navigation, search

The 'Press any key' function in Keen Vorticons is used by the save game windows (and in Keen 3 the BwB messages.) to display a small graphic and wait for the player to press a key. Calling this function will make the graphic appear and animate and the game to pause until any key is pressed.

There is also a second, slightly different, function is used by the C T Space and Patch:G O D Cheats. The two are independent.


Graphic

This is the little twirling blue circle displayed at the very end of the message. it waits for Keen to press a key. By default the graphic is an 8x8 tile, with four frames of animation. The two functions differ in how they produce this however. The cheats function starts with a tile, then animates until it reaches the tile before another tile. By default these values are $09 and $0D, so the animation is $09, $0A, $0B and $0C. The animation speed can also be altered.

The savegame function however simply has a start tile and a number of animation frames.

Patch: Keen 1
#Press any key graphic -Cheats
%patch $626E $09
#Animation start
%patch $62A7 $0D
#Animation end + 1
%patch $628B $05
#Animation speed
#Press any key graphic -Savegame
%patch $B198 $09
#Tile used
%patch $B204 $04
#Number of animation frames

Patch: Keen 2
#Press any key graphic -Cheats
%patch $2841 $09
#Animation start
%patch $287A $0D
#Animation end + 1
%patch $285E $05
#Animation speed
#Press any key graphic -Savegame
%patch $A8B1 $09
#Tile used
%patch $A91D $04
#Number of animation frames

Patch: Keen 3
#Press any key graphic -Cheats
%patch $27E0 $09
#Animation start
%patch $2817 $0D
#Animation end + 1
%patch $27FD $05
#Animation speed
#Press any key graphic -Savegame
%patch $BC12 $09
#Tile used
%patch $BC7B $04
#Number of animation frames


No graphic

Setting the tile to $20 with 1 frame of animation will make the graphic indistinguishable froma normal window background, in effect removing the graphic.

Patch: Keen 1
#Press any key graphic invisible - cheats
%patch $626E $20
#Animation start
%patch $62A7 $21
#Animation end + 1
#Press any key graphic invisible - Savegame
%patch $B198 $20
#Tile used
%patch $B204 $01
#Number of animation frames

Patch: Keen 2
#Press any key graphic invisible - cheats
%patch $2841 $20
#Animation start
%patch $287A $21
#Animation end + 1
#Press any key graphic invisible - Savegame
%patch $A8B1 $20
#Tile used
%patch $A91D $01
#Number of animation frames

Patch: Keen 3
#Press any key graphic invisible - cheats
%patch $27E0 $20
#Animation start
%patch $2817 $21
#Animation end + 1
#Press any key graphic invisible - Savegame
%patch $BC12 $20
#Tile used
%patch $BC7B $01
#Number of animation frames