Fixed issue with MapCountDisplay flags not getting set when entering a dungeon and maps aren't wild

This commit is contained in:
codemann8
2025-01-05 05:33:39 -06:00
parent 72b7dea6fd
commit 9cbcd33d70

View File

@@ -1225,7 +1225,8 @@ FlagCompassCount:
RTS RTS
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------
FlagMapCount: FlagMapCount:
CMP.w #$0002 : BEQ .mapShown ; CMP.w #$0002 : BEQ .mapShown
LDA.l MapMode : AND.w #$00FF : BEQ .mapShown
LDA.l MapField : AND.l DungeonItemMasks, X : BEQ .done ; skip if we don't have map LDA.l MapField : AND.l DungeonItemMasks, X : BEQ .done ; skip if we don't have map
.mapShown .mapShown
TYA : ORA.l MapCountDisplay : STA.l MapCountDisplay TYA : ORA.l MapCountDisplay : STA.l MapCountDisplay