Added ability to suppress dungeon item textboxes when items appear in their respective dungeons

This commit is contained in:
codemann8
2024-12-24 03:53:08 -06:00
parent 2e0eb97a4b
commit 51ee4f94c2
2 changed files with 8 additions and 3 deletions

View File

@@ -148,7 +148,11 @@ FreeDungeonItemNotice:
LDA.w DungeonID : CMP.w #$0003 : BCS +
.self_notice
SEP #$20
%CopyDialog(Notice_Self)
LDA.l FreeItemText : AND.b #$40 : BEQ ++
LDA.b #$00 : STA.l DialogOffsetPointer : STA.l DialogOffsetPointer+1
JMP .skip
++
%CopyDialog(Notice_Self)
JMP .done
+
SEP #$20