Merged in DR v1.4.5

This commit is contained in:
codemann8
2024-08-16 23:00:45 -05:00
27 changed files with 481 additions and 290 deletions

View File

@@ -17,7 +17,7 @@ RTL
;================================================================================
HUDRebuildIndoorHole:
PHA
INC.w UpdateHUDFlag
LDA.b #$01 : STA.l UpdateHUDFlag
LDA.l GenericKeys : BEQ .normal
.generic
PLA
@@ -30,7 +30,7 @@ RTL
RTL
;================================================================================
HUDRebuildIndoor:
INC.w UpdateHUDFlag
LDA.b #$01 : STA.l UpdateHUDFlag
LDA.l GenericKeys : BEQ .normal
.generic
LDA.b #$00 : STA.l RoomDarkness
@@ -166,6 +166,15 @@ DrawBootsInMenuLocation:
LDA.w #$1588 : STA.b Scrap00
RTL
;--------------------------------------------------------------------------------
ChangeBootsColorForFakeBoots:
LDA.l FakeBoots : AND.w #$00FF : BEQ +
LDA.l EquipmentSRAM+$15 : AND.w #$00FF : BNE +
LDA.w #$F851 ; address of ItemMenu_ItemIcons_usused_nothing, which has the fake boots now
BRA ++
+ LDA.w #$F821 ; address of ItemMenu_ItemIcons_boots
++ STA.b Scrap04
RTL
;--------------------------------------------------------------------------------
DrawGlovesInMenuLocation:
LDA.l DRMode : AND.w #$00FF : CMP.w #$0002 : BEQ +
LDA.l HUDDungeonItems : BNE +