Fix item name draw bug when no items
This commit is contained in:
@@ -112,7 +112,8 @@ Menu_BottleIems:
|
||||
|
||||
Menu_DrawItemName:
|
||||
{
|
||||
LDA.w $0202 : DEC
|
||||
LDA.w $0202 : BEQ .no_items
|
||||
DEC
|
||||
ASL : ASL : ASL : ASL : ASL
|
||||
LDY.w #$000
|
||||
TAX
|
||||
@@ -121,6 +122,7 @@ Menu_DrawItemName:
|
||||
STA.w $1692, Y ; <- into the buffer
|
||||
INX : INX
|
||||
INY : INY : CPY #$001C : BCC .loop
|
||||
.no_items
|
||||
RTS
|
||||
}
|
||||
|
||||
@@ -210,7 +212,7 @@ TestLocationName:
|
||||
dw "________________", "________________", "________________", "________________" ; 256
|
||||
|
||||
dw "________________", "________________", "________________", "________________" ; 260
|
||||
dw "LINKS_HOUSE_____", "ZORA_CHAMBERS___", "________________", "________________"
|
||||
dw "YOUR_HOUSE______", "ZORA_CHAMBERS___", "________________", "________________"
|
||||
dw "________________", "________________", "________________", "________________"
|
||||
dw "________________", "________________", "________________", "________________" ; 272
|
||||
|
||||
|
||||
Reference in New Issue
Block a user