diff options
| author | Henny022p <info@henny022.de> | 2023-01-03 23:52:43 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2023-01-03 23:52:43 +0100 |
| commit | a26345cde0c3b2aaaf0efe98310ccca4acb358ad (patch) | |
| tree | 727183187b5414b6ab103d4af635745bf94a26ed | |
| parent | 2c7fc37c0d43a819567f9b899651f4199463f8a5 (diff) | |
name Wallet::iconStartTile
| -rw-r--r-- | include/player.h | 2 | ||||
| -rw-r--r-- | src/ui.c | 2 |
2 files changed, 2 insertions, 2 deletions
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[]; @@ -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; |
