Someone actually did a Metroid HP system before. It might of just been: Game->Counter[..] = Link->HP; And maybe the reserve tanks were just another counter you check only when HP drops to zero.

You can check Link->HP <= 0 now and setting it above zero will save Link from dying. (This has been around since 2.5 RC1 IIRC).