Move setting DungeonsCompleted bitfield to post-boss/prize transition
This commit is contained in:
@@ -103,7 +103,6 @@ SetCutsceneFlag:
|
|||||||
CLC
|
CLC
|
||||||
RTL
|
RTL
|
||||||
.dungeon_prize
|
.dungeon_prize
|
||||||
JSR.w SetDungeonCompletion
|
|
||||||
LDA.w ItemReceiptID : TAX
|
LDA.w ItemReceiptID : TAX
|
||||||
LDA.l InventoryTable_properties,X : BPL .no_cutscene
|
LDA.l InventoryTable_properties,X : BPL .no_cutscene
|
||||||
PLX
|
PLX
|
||||||
@@ -172,14 +171,6 @@ CheckSpawnPrize:
|
|||||||
SEP #$21
|
SEP #$21
|
||||||
RTL
|
RTL
|
||||||
|
|
||||||
SetDungeonCompletion:
|
|
||||||
LDX.w DungeonID : BMI +
|
|
||||||
REP #$20
|
|
||||||
LDA.l DungeonItemMasks, X : ORA.l DungeonsCompleted : STA.l DungeonsCompleted
|
|
||||||
SEP #$20
|
|
||||||
+
|
|
||||||
RTS
|
|
||||||
|
|
||||||
CheckDungeonCompletion:
|
CheckDungeonCompletion:
|
||||||
LDX.w DungeonID
|
LDX.w DungeonID
|
||||||
REP #$20
|
REP #$20
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ RTL
|
|||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
OnDungeonBossExit:
|
OnDungeonBossExit:
|
||||||
JSL.l StatTransitionCounter
|
JSL.l StatTransitionCounter
|
||||||
|
LDX.w DungeonID : BMI +
|
||||||
|
REP #$20
|
||||||
|
LDA.l DungeonItemMasks, X : ORA.l DungeonsCompleted : STA.l DungeonsCompleted
|
||||||
|
SEP #$20
|
||||||
|
+
|
||||||
RTL
|
RTL
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
OnPlayerDead:
|
OnPlayerDead:
|
||||||
|
|||||||
Reference in New Issue
Block a user