update menu item refresh
This commit is contained in:
@@ -290,14 +290,13 @@ SearchForEquippedItem_Override:
|
|||||||
.item_available
|
.item_available
|
||||||
; Is there an item currently equipped (in the HUD slot)?
|
; Is there an item currently equipped (in the HUD slot)?
|
||||||
LDA.w $0202 : BNE .alreadyEquipped
|
LDA.w $0202 : BNE .alreadyEquipped
|
||||||
; If not, set the equipped item to the Bow and Arrow
|
; If not, set the equipped item to the Lamp
|
||||||
; (even if we don't actually have it)
|
LDA.b #$08 : STA $0202
|
||||||
LDA.b #$01 : STA $0202
|
|
||||||
|
|
||||||
.alreadyEquipped
|
.alreadyEquipped
|
||||||
JMP .exit
|
JMP .exit
|
||||||
.keep_looking
|
.keep_looking
|
||||||
JSR GotoNextItem_Local
|
JSR GotoNextItem_Local
|
||||||
JSL DoWeHaveThisItem_Override : BCC .keep_looking
|
JSL DoWeHaveThisItem_Override : BCC .keep_looking
|
||||||
BCS .we_have_that_item
|
BCS .we_have_that_item
|
||||||
JSR TryEquipNextItem_Override
|
JSR TryEquipNextItem_Override
|
||||||
|
|||||||
Reference in New Issue
Block a user