;Patch by SMILEuser96
;Makes suits divide damage by 2 each instead of the retardy the original game does
;So you can pick either suit first without making the other useless
;As an added benefit, Gravity will halve heat damage


lorom

org $A0A45E	;Suit damage division routine

	STA $12
	LDA $09A2 : BIT #$0001 : BEQ +	;checks for varia, branches if NOT equipped
	LSR $12				;varia equipped, divide damage by 2
+
	BIT #$0020 : BEQ +		;checks for gravity, branches if NOT equipped
	LSR $12				;gravity equipped, divide damage by 2
+
	LDA $12				;loads the resulting damage to A and returns
	RTL



org $8DE37D

	DB $01	;Gravity will no longer completely protect from heat, but it will halve heat damage. Remove this line to let Gravity negate heat damage completely