Move setting DungeonsCompleted bitfield to post-boss/prize transition

This commit is contained in:
cassidoxa
2023-08-23 13:24:46 -04:00
parent 9bde734ca3
commit 247128b9f6
2 changed files with 5 additions and 9 deletions

View File

@@ -103,7 +103,6 @@ SetCutsceneFlag:
CLC
RTL
.dungeon_prize
JSR.w SetDungeonCompletion
LDA.w ItemReceiptID : TAX
LDA.l InventoryTable_properties,X : BPL .no_cutscene
PLX
@@ -172,14 +171,6 @@ CheckSpawnPrize:
SEP #$21
RTL
SetDungeonCompletion:
LDX.w DungeonID : BMI +
REP #$20
LDA.l DungeonItemMasks, X : ORA.l DungeonsCompleted : STA.l DungeonsCompleted
SEP #$20
+
RTS
CheckDungeonCompletion:
LDX.w DungeonID
REP #$20