If X={x-coordinate of cross/fake exit} [Determines the x-coordinate of the cross/fake exit]
Then If Y={y-coordinate of cross/fake exit} [Determines the y-coordinate of the cross/fake exit]
Then ClrText [Clears the screen]
Locate 7,2,"YOU DIED"{disp_command} [Displays "YOU DIED" text]
D+1-->D [Adds 1 to the death variable]
Prog "LEVEL1" [Restarts the level]
IfEnd [Ends the x-coordinate If-statement]
IfEnd [Ends the y-coordinate If-statement]