Skip to navigation


Start and end: DEATH2

[Elite-A, Parasite]

Name: DEATH2 [Show more] Type: Subroutine Category: Start and end Summary: Reset most of the game and restart from the title screen
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * check_keys calls DEATH2 * DEATH calls DEATH2 * DK4_FLIGHT calls DEATH2

This routine is called following death, and when the game is quit by pressing ESCAPE when paused.
.DEATH2 JSR RES2 \ Reset a number of flight variables and workspaces \ and fall through into the entry code for the game \ to restart from the title screen JMP INBAY \ Jump to INBAY to restart the game following death