Life Meter Will Not Go Back Above 3

TurtleRescueNES

Active member
My hero will start at a full 4 hearts, but once he gets hurt, he never returns to 4. Heart pickups will bump all the way back up to 3, but not to the original 4.

I've played with several settings, such as player's health (4), the initial myhealth variable setting in the HUD (also 4), and the asset type changing from images to numbers (no effect).

Any thoughts?
 

dale_coop

Moderator
Staff member
I saw that too...
You need to modify the "Powerup_IncreaseHealth.asm" script in the "GameEngineData\Routines\UserScripts\AdventureGame_Base\PowerUpCode" folder, from:
Code:
	LDA myHealth
	CLC
	ADC #$01
	CMP #$04
	BCS skipGettingHealth

To:
Code:
	LDA myHealth
	CLC
	ADC #$01
	CMP #$05  ;; <--- MaxHealth+1
	BCS skipGettingHealth
 
Top Bottom