mirror of https://github.com/zeldaret/tmc.git
name Wallet::iconStartTile
This commit is contained in:
parent
2c7fc37c0d
commit
a26345cde0
|
@ -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[];
|
||||
|
|
2
src/ui.c
2
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;
|
||||
|
|
Loading…
Reference in New Issue