menu housekeeping
This commit is contained in:
@@ -172,7 +172,7 @@ MirrorGFX:
|
||||
dw $2C62, $2C63, $2C72, $2C73 ; Mirror
|
||||
|
||||
|
||||
; =============================================================================
|
||||
; =========================================================
|
||||
; Collectibles
|
||||
; ---------------------------------------------------------
|
||||
|
||||
|
||||
@@ -332,17 +332,16 @@ HUD_UpdateHearts:
|
||||
JSR .draw_heart
|
||||
INX #2
|
||||
BRA .next_heart
|
||||
|
||||
.less_than_one_heart
|
||||
|
||||
CMP.w #$0005 : BCC .half_heart_or_less
|
||||
LDY.w #$0004
|
||||
BRA .draw_heart
|
||||
|
||||
.half_heart_or_less
|
||||
|
||||
CMP.w #$0001 : BCC .empty_heart
|
||||
LDY.w #$0002
|
||||
BRA .draw_heart
|
||||
|
||||
.empty_heart
|
||||
RTS
|
||||
|
||||
@@ -352,8 +351,8 @@ HUD_UpdateHearts:
|
||||
; if not, we have to move down one tile in the tilemap
|
||||
LDX.w #$0000
|
||||
LDA.b $07 : CLC : ADC.w #$0040 : STA.b $07
|
||||
|
||||
.no_line_change
|
||||
|
||||
LDA.b [$0A], Y : TXY : STA.b [$07], Y
|
||||
RTS
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user