Skip to content

Commit

Permalink
Remove portraits in bad case: sell item. #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
laqieer committed Aug 21, 2022
1 parent 440e60f commit c175389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linkerscript/portrait.lds
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
. = 0x80980f2;
.rodata.removePortraitInPrepScreenItemListLowHword : {*(.rodata.removePortraitInPrepScreenItemListLowHword)}
.rodata.removePortraitInPrepScreenItemListHighHword : {*(.rodata.removePortraitInPrepScreenItemListHighHword)}
. = 0x80992b2;
.rodata.removePortraitInPrepScreenItemSellLowHword : {*(.rodata.removePortraitInPrepScreenItemSellLowHword)}
.rodata.removePortraitInPrepScreenItemSellHighHword : {*(.rodata.removePortraitInPrepScreenItemSellHighHword)}
. = 0x801e2aa;
.rodata.itemInfoPanelPosX : {*(.rodata.itemInfoPanelPosX)}
. = 0x801e2cc;
Expand Down
2 changes: 2 additions & 0 deletions source/portrait.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ cu16 removePortraitInPrepScreenItemTradeRightLowHword = 0;
cu16 removePortraitInPrepScreenItemTradeRightHighHword = 0;
cu16 removePortraitInPrepScreenItemListLowHword = 0;
cu16 removePortraitInPrepScreenItemListHighHword = 0;
cu16 removePortraitInPrepScreenItemSellLowHword = 0;
cu16 removePortraitInPrepScreenItemSellHighHword = 0;

// Move item menu panel position to avoid overriding portrait

Expand Down

0 comments on commit c175389

Please sign in to comment.