Health Alarm Revamp
Release Date: May 15, 2022
Type: Assembly
Rating: Pending
[download] .asm file (95 downloads)
Game: SM
This code reworks how the low health status is calculated
Instead of always setting off the alarm at 30 energy, the threshold scales based on Samus' max energy
When Samus has 399 or less health, the alarm will trigger at 30 energy as usual
Each subsequent 100 health she attains will increase the threshold by 10
- At 5 energy tanks (giving 100 energy each), the low health alarm will trigger at 50 energy
- At 14 energy tanks, the low health alarm will trigger at 140 energy
This code also alters the cutoff for the game exclusively giving Samus health drops at low energy
Instead of always cutting off at 50, it cuts off at 20 above the low energy threshold

- This patch hijacks both the room load routine and the energy tank collection routine
If either of these routines have been changed, their respective hijack points will have to be changed as well
- This patch uses 4 bytes of RAM
- This patch uses 70 bytes of freespace in bank $84
No Screenshots Provided
Ratings and Reviews
This resource has not yet been rated.

You must login to rate this resource