Implement checking for what maps can be viewed

This commit is contained in:
2026-06-06 12:36:00 -05:00
parent 9843d72327
commit 3c17ec5d48
7 changed files with 96 additions and 25 deletions
+9
View File
@@ -5,6 +5,15 @@ LoadDungeonIndicator:
LDA.w DungeonID
CMP.b #DungeonIndicatorMap_end-DungeonIndicatorMap : BCS .done
TAX
; mark dungeon as entered
REP #$20
LDA.w DungeonMask, X
ORA.l DungeonVisited
STA.l DungeonVisited
SEP #$20
; load indicator
LDA.l DungeonIndicatorMap, X
TAX