More HUD stuff

This commit is contained in:
cassidoxa
2023-06-08 19:26:31 -04:00
parent 815c2ab81f
commit aec3370f48
7 changed files with 33 additions and 25 deletions

View File

@@ -191,6 +191,7 @@ NewHUD_DrawPrizeIcon:
;================================================================================
NewHUD_DrawItemCounter:
REP #$20
LDA.w UpdateHUD : BEQ NewHUD_DrawMagicMeter
LDA.l ItemCounterHUD : AND.w #$00FF : BEQ NewHUD_DrawMagicMeter
LDA.w #!SlashTile : STA.w HUDGoalIndicator+$08
@@ -282,6 +283,7 @@ DrawCompassCounts:
LDA.l CompassField : AND.l DungeonItemMasks,X : BEQ .done
.draw_compass_count
SEP #$20
TYX : BNE .not_sewers
INX
@@ -301,6 +303,7 @@ DrawCompassCounts:
STY.w HUDTileMapBuffer+$94 : STX.w HUDTileMapBuffer+$96
.done
SEP #$20
RTS
;================================================================================
DrawMapCounts:
@@ -312,11 +315,11 @@ DrawMapCounts:
LDA.l MapField : AND.l DungeonItemMasks,X : BEQ .done
.draw_map_count
SEP #$20
TYX : BNE .not_sewers
INX
.not_sewers
SEP #$20
LDA.l DungeonCollectedKeys, X
PHA
@@ -332,6 +335,7 @@ DrawMapCounts:
STX.w HUDTileMapBuffer+$A2
.done
SEP #$20
RTS
;================================================================================
; Exits with: