Patch:Game over (Dreams)

From KeenWiki
Jump to navigation Jump to search

This page contains patches relating to the Game Over sequence. This is triggered when the player loses all of their lives or after the ending sequence if the player wins the game. It simply displays a single window before going to the High Scores table.


Game Over Window\Text

In Keen Dreams a 'Game Over' window appears before going to the high scores.

Game Over Window

#Keen Dreams
%patch $3CA0  [$0003W] #Height
%patch $3CA4  [$0010W] #Width
%patch $3CB0  [$036CW] #Text called from
%patch $23DDC "Game Over!" $00


No window

This patch removes the Game over window, causing the game to go straight to the High Scores.

No Game Over Window

#No Game Over window
%patch $3C9A $CB


Complete window code

This is the complete window code for the game over window. On the first line the window's size is set and on the second line the text is called. The rest of the code waits for a response.

Game Over Window

#Game over window - Keen Dreams
%patch $3C9A $9A $0CA507C1RL     $B8 [$0003W]  $50 $B8 [$0010W]  $50 $9A $11FA1C64RL
                     $83 $C4 $04 $B8 [$036CW]  $50 $9A $11FA1A1ERL     $44 $44
             $9A $0CA508C0RL    $9A $0FE40705RL


Window has a different border

It is possible to make the game over window use a different set of 8x8 tiles for its border. This patch is on the 'text windows' page.