diff --git a/include/player.h b/include/player.h index 0a8c07b1..6c31cf38 100644 --- a/include/player.h +++ b/include/player.h @@ -400,7 +400,7 @@ extern void (*const gPlayerItemFunctions[])(Entity*); typedef struct { u16 size; - u16 unk; + u16 iconStartTile; } Wallet; extern const Wallet gWalletSizes[]; extern const u8 gBombBagSizes[]; diff --git a/src/ui.c b/src/ui.c index c4cd4674..a7834601 100644 --- a/src/ui.c +++ b/src/ui.c @@ -276,7 +276,7 @@ void DrawRupees(void) { gUnk_0200AF00.unk_a = 2; ptr4 = &gUnk_02035160; ptr2 = &ptr4->unk_40; - ptr4->unk_0.unk_0 = temp2 = gWalletSizes[gSave.stats.walletType].unk; + ptr4->unk_0.unk_0 = temp2 = gWalletSizes[gSave.stats.walletType].iconStartTile; ptr4->unk_0.unk_2 = temp2 + 1; ptr2->unk_0 = temp2 + 2; ptr2->unk_2 = temp2 + 3;