Move setting DungeonsCompleted bitfield to post-boss/prize transition
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user