Skip to content

Commit

Permalink
Fix Forest Medallion message box texture
Browse files Browse the repository at this point in the history
  • Loading branch information
lilDavid committed Dec 23, 2023
1 parent 426efee commit d3f7e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soh/src/code/z_message_PAL.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,10 +1132,10 @@ void Message_LoadItemIcon(PlayState* play, u16 itemId, s16 y) {
interfaceCtx->mapPalette[30] = 0xFF;
interfaceCtx->mapPalette[31] = 0xFF;
}
if (itemId > ITEM_BOW_ARROW_BOMB) {
if (itemId >= ITEM_BOW_ARROW_BOMB) {
itemId += 1;
}
if (itemId < ITEM_MEDALLION_FOREST) {
if (itemId - 1 < ITEM_MEDALLION_FOREST) {
R_TEXTBOX_ICON_XPOS = R_TEXT_INIT_XPOS - sIconItem32XOffsets[gSaveContext.language];
R_TEXTBOX_ICON_YPOS = y + 6;
R_TEXTBOX_ICON_SIZE = 32;
Expand Down

0 comments on commit d3f7e6d

Please sign in to comment.