Fix current dungeon items in menu

This commit is contained in:
cassidoxa
2023-08-22 16:22:39 -04:00
parent 80f94824f4
commit 9bde734ca3

View File

@@ -115,14 +115,14 @@ CheckCloseItemMenu:
RTL RTL
;================================================================================ ;================================================================================
ShowDungeonItems: ShowDungeonItems:
REP #$30
LDA.w DungeonID-1 : BMI .no_dungeon LDA.w DungeonID-1 : BMI .no_dungeon
LDA.l HudFlag : AND.w #$0040 : BEQ + LDA.l HudFlag : AND.w #$0040 : BEQ +
.no_dungeon .no_dungeon
LDA.w #$0000 LDA.w #$0000
RTL RTL
+ +
LDA.w IndoorsFlag LDA.w DungeonID
REP #$02
.done .done
RTL RTL
;-------------------------------------------------------------------------------- ;--------------------------------------------------------------------------------