name Wallet::iconStartTile

This commit is contained in:
Henny022p 2023-01-03 23:52:43 +01:00
parent 2c7fc37c0d
commit a26345cde0
2 changed files with 2 additions and 2 deletions

View File

@ -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[];

View File

@ -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;