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 + LDA.w DungeonID : CMP.w #$0003 : BCS +
.self_notice .self_notice
SEP #$20 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 JMP .done
+ +
SEP #$20 SEP #$20

View File

@@ -765,9 +765,10 @@ db $01 ; #00 = Never Locked - #$01 = Locked During Escape (default) - #$02 = Loc
org $B0816A ; PC 0x18016A org $B0816A ; PC 0x18016A
FreeItemText: FreeItemText:
db $00 ; #00 = Off (default) db $00 ; #00 = Off (default)
;--po bmcs ;-tpo bmcs
;t - suppress "this dungeon" textboxes (temporary fix)
;p - enabled for non-prize crystals ;p - enabled for non-prize crystals
;o - enabled for outside dungeon items ;o - enabled for outside dungeon items (not used?)
;b - enabled for inside big key items ;b - enabled for inside big key items
;m - enabled for inside map items ;m - enabled for inside map items
;c - enabled for inside compass items ;c - enabled for inside compass items