Cleanup menu components
This commit is contained in:
@@ -30,7 +30,6 @@ org $0DF14F ; AnimateHeartRefill
|
||||
LDA.b #$C7 : STA $01
|
||||
LDA.b #$7E : STA $02
|
||||
|
||||
|
||||
; ==========================================================
|
||||
; Main HUD Update Loop
|
||||
|
||||
@@ -229,7 +228,6 @@ HUD_UpdateItemBox:
|
||||
.no_silver_arrows
|
||||
|
||||
LDX.b #$02
|
||||
|
||||
LDA $7EF377 : BNE .draw_bow_item_icon
|
||||
LDX.b #$01
|
||||
|
||||
@@ -294,8 +292,6 @@ HUD_UpdateItemBox:
|
||||
|
||||
CPX.w #$0010 : BNE .custom_rod_not_equipped
|
||||
LDA.w FishingOrPortalRod
|
||||
|
||||
|
||||
.custom_rod_not_equipped
|
||||
|
||||
JSR HUD_DrawItem
|
||||
@@ -468,7 +464,6 @@ org $0DF859
|
||||
dw $24D4, $24D5, $24E4, $24E5 ; Red
|
||||
dw $34D4, $34D5, $34E4, $34E5 ; Gold
|
||||
|
||||
|
||||
; Roc's Feather (Net)
|
||||
org $0DF731
|
||||
dw $2840, $2841, $3C42, $3C43 ; Roc's Feather
|
||||
@@ -587,10 +582,8 @@ FloorIndicator:
|
||||
|
||||
; Check the world state
|
||||
LDA $7EF3C5 : CMP.b #$02 : BCS .no_rain_state
|
||||
|
||||
; cause the ambient rain sound to occur (indoor version)
|
||||
LDA.b #$05 : STA $012D
|
||||
|
||||
.no_rain_state
|
||||
REP #$20
|
||||
.not_floor_1F
|
||||
|
||||
@@ -77,7 +77,6 @@ Menu_ItemCursorPositions:
|
||||
|
||||
; =========================================================
|
||||
|
||||
|
||||
Menu_FindNextItem:
|
||||
{
|
||||
LDY.w $0202 : INY
|
||||
@@ -235,7 +234,7 @@ Menu_AddressLong:
|
||||
db $58 ; Wolf Mask
|
||||
db $48 ; Bunny Hood
|
||||
db $52 ; Stone Mask
|
||||
db $5F ; Bottle #4
|
||||
db $5F ; Bottle 4
|
||||
|
||||
GotoNextItem_Local:
|
||||
{
|
||||
@@ -243,7 +242,6 @@ GotoNextItem_Local:
|
||||
; If we reach our limit (21), set it back to the bow and arrow slot.
|
||||
LDA $0202 : INC A : CMP.b #$18 : BCC .dont_reset
|
||||
LDA.b #$01
|
||||
|
||||
.dont_reset
|
||||
; Otherwise try to equip the item in the next slot
|
||||
STA $0202
|
||||
@@ -325,6 +323,5 @@ SearchForEquippedItem:
|
||||
}
|
||||
assert pc() <= $0DE3C7
|
||||
|
||||
; =========================================================
|
||||
|
||||
pullpc
|
||||
|
||||
|
||||
@@ -100,7 +100,6 @@ Menu_DrawPlaytimeLabel:
|
||||
; LDX #$18
|
||||
JSR Menu_DrawMinuteDigit
|
||||
|
||||
|
||||
RTS
|
||||
}
|
||||
|
||||
@@ -199,7 +198,6 @@ Menu_DrawItemName:
|
||||
CMP.b #$0C : BEQ .bottle_2
|
||||
CMP.b #$12 : BEQ .bottle_3
|
||||
CMP.b #$18 : BEQ .bottle_4
|
||||
|
||||
.draw_item
|
||||
REP #$30
|
||||
LDA.w $0202 : BEQ .no_items
|
||||
|
||||
Reference in New Issue
Block a user