Fix dungeon completion bitfield (16-bit)

This commit is contained in:
aerinon
2022-05-19 10:36:20 -06:00
parent 003278f7e0
commit 9779f91ce9

View File

@@ -708,8 +708,10 @@ RTS
.setDungeonCompletion
LDX $040C : BMI +
REP #$20 ; 16 bit
LDA.l DungeonMask, X
ORA DungeonsCompleted : STA DungeonsCompleted
SEP #$20 ; 8 bit
+
RTS
;--------------------------------------------------------------------------------