Fix issue with Potion Shop prices drawing on top of Link
This commit is contained in:
@@ -800,9 +800,9 @@ Shopkeeper_DrawNextPrice:
|
|||||||
REP #$20 ; set 16-bit accumulator
|
REP #$20 ; set 16-bit accumulator
|
||||||
PHY
|
PHY
|
||||||
LDA.l ShopType : AND.w #$0003 : DEC : ASL : TAY
|
LDA.l ShopType : AND.w #$0003 : DEC : ASL : TAY
|
||||||
|
LDA.w .price_columns_idx, Y : STA.b Scrap02 ; get table from the table table
|
||||||
LDA.b RoomIndex : CMP.w #$109 : BNE + : INY #6 : +
|
LDA.b RoomIndex : CMP.w #$109 : BNE + : INY #6 : +
|
||||||
LDA.w Shopkeeper_DrawNextItem_item_offsets_idx, Y : STA.b Scrap00 ; get table from the table table
|
LDA.w Shopkeeper_DrawNextItem_item_offsets_idx, Y : STA.b Scrap00 ; get table from the table table
|
||||||
LDA.w .price_columns_idx, Y : STA.b Scrap02 ; get table from the table table
|
|
||||||
PLY : PHY
|
PLY : PHY
|
||||||
TYA : ASL #2 : TAY
|
TYA : ASL #2 : TAY
|
||||||
LDA.b (Scrap00), Y : STA.b Scrap0E ; set coordinate
|
LDA.b (Scrap00), Y : STA.b Scrap0E ; set coordinate
|
||||||
|
|||||||
Reference in New Issue
Block a user