ChocolateFan has very graciously made a plugin to delay the death state in order 
for me to implement a life system!

This plugin has been included if you want to implement this in your levels!

------------
 HOW TO USE
------------

Install the plugin

Use the following line in your script to customize the death TriggerGroups:
Customize= CUST_DEATH_TRIGGERGROUPS, TG_ID_TO_PERFORM

-----------------------
 EXAMPLE - Life System 
-----------------------
Below is a partial code snippet of the script I wrote for my life system. 
It doesn't cover everything, but this can be used as a reference when using the Customize line.

TG5000 is the TG that decreases her life and updates the counters accordingly
TG5003 is the TG that determines where to teleport Lara for the level reset 

;====================================================================================================================
Customize= CUST_DEATH_TRIGGERGROUPS, 5000, 5003

; =======================
;  RESET LEVEL CONDITION 
; =======================
TriggerGroup=5000,  $2000,233,$014A, > ; LBD3 -= 1 (Lives)
					$2000,357,$0207, > ; play lose life sprite sequence for 2 seconds
					$2000,90,$001B,  > ; set HP to 1000
					$8000,74,$002B,  > ; if LBD3 == 0 (Lara lost all lives)
					$2000,79,$01F4,  > ; teleport Lara to Game Over Room
					$2000,68,$0002,  > ; play mission fail sfx
					$5000,185,$002D, > ; play game over flyby
					$2000,371,$1389, > ; perform TG 5001 (clear display)
		TGROUP_ELSE+$2000,90,$001B,  > ; set HP to 100
					$2000,171,$02E4, > ; force standing anim 740 (WAKE UP)
					$2000,51,$0300,  > ; disable all keyboard commands for 3 seconds
					$2000,84,$0019,  > ; set fade in (very fast)
					$2000,129,$0003, $2000,357,$0408, >  ; play mission start and sprite sequence 8
					$2000,70,$1FCE ; play mission fail sfx
					;$2000,91,$0000 ; set invincible status for forever

; DEATH MUSIC RESET
TriggerGroup= 5003, $8000,69,$012B, > ; if round 1 (LBB2 == 1)
					$2000,68,$0107, > ; 	play track 7
					$2000,79,$0000, > ; 	teleport to LSP 0
		TGROUP_ELSE+$8000,69,$022B, > ; or if round 2 (LBB2 == 2)
					$2000,68,$0107, > ; 	play track 7
					$2000,79,$0001, > ; 	teleport to LSP 1
		TGROUP_ELSE+$8000,69,$032B, > ; or if round 3 (LBB2 == 3)
					$2000,68,$0107, > ; 	play track 7
					$2000,79,$0002, > ; 	teleport to LSP 2
		TGROUP_ELSE+$8000,69,$042B, > ; or if round 4 (LBB2 == 4)
					$2000,68,$0107, > ; 	play track 7
					$2000,79,$0003, > ; 	teleport to LSP 3
		TGROUP_ELSE+$8000,69,$052B, > ; or if round 5 (LBB2 == 5)
					$2000,68,$0107, > ; 	play track 7
					$2000,79,$0004, > ; 	teleport to LSP 4
		TGROUP_ELSE+$8000,69,$062B, > ; or if round 6 (LBB2 == 6)
					$2000,68,$0164, > ; 	play track 100
					$2000,79,$0005, > ; 	teleport to LSP 5
		TGROUP_ELSE+$8000,69,$072B, > ; or if round 7 (LBB2 == 7)
					$2000,68,$0109, > ; 	play track 009
					$2000,79,$0006, > ; 	teleport to LSP 6
		TGROUP_ELSE+$8000,69,$082B, > ; or if round 8 (LBB2 == 8)
					$2000,68,$0109, > ; 	play track 009
					$2000,79,$0007, > ; 	teleport to LSP 7
		TGROUP_ELSE+$8000,69,$092B, > ; or if round 9 (LBB2 == 9)
					$2000,68,$0109, > ; 	play track 009
					$2000,79,$0008, > ; 	teleport to LSP 8
		TGROUP_ELSE+$8000,69,$0A2B, > ; or if round 10 (LBB2 == 10)
					$2000,68,$0114, > ; 	play track 020
					$2000,79,$0009    ; 	teleport to LSP 9