Cleanup menu_draw and menu_text components
This commit is contained in:
@@ -470,7 +470,6 @@ Menu_DrawBigKey:
|
||||
{
|
||||
LDA $040C : AND.w #$00FF : CMP.w #$00FF : BEQ .notInPalace
|
||||
LSR A : TAX
|
||||
|
||||
; Check if we have the big key in this palace
|
||||
LDA $7EF366
|
||||
|
||||
@@ -508,7 +507,6 @@ Menu_DrawBigKey:
|
||||
|
||||
LDA $040C : AND.w #$00FF : CMP.w #$00FF : BEQ .notInPalaceAgain
|
||||
LSR A : TAX
|
||||
|
||||
; Check if we have the map in this dungeon
|
||||
LDA $7EF368
|
||||
|
||||
@@ -525,7 +523,6 @@ Menu_DrawBigKey:
|
||||
|
||||
.dontHaveMap
|
||||
.notInPalaceAgain
|
||||
|
||||
RTS
|
||||
}
|
||||
|
||||
@@ -535,11 +532,8 @@ Menu_DrawBigKey:
|
||||
CheckPalaceItemPossession:
|
||||
{
|
||||
SEP #$30
|
||||
|
||||
LDA $040C : LSR A
|
||||
|
||||
JSL UseImplicitRegIndexedLocalJumpTable
|
||||
|
||||
dw .no_item
|
||||
dw .no_item
|
||||
dw .bow
|
||||
@@ -565,7 +559,6 @@ CheckPalaceItemPossession:
|
||||
|
||||
STZ $02
|
||||
STZ $03
|
||||
|
||||
RTS
|
||||
|
||||
.bow
|
||||
@@ -581,7 +574,6 @@ CheckPalaceItemPossession:
|
||||
|
||||
LDA.b #$01 : STA $02
|
||||
STZ $03
|
||||
|
||||
RTS
|
||||
|
||||
.power_glove
|
||||
@@ -943,4 +935,3 @@ Menu_DrawCursor:
|
||||
RTS
|
||||
}
|
||||
|
||||
; =========================================================
|
||||
Reference in New Issue
Block a user