diff options
| author | Henny022p <73211432+Henny022p@users.noreply.github.com> | 2026-02-08 18:32:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-08 18:32:38 +0100 |
| commit | 5ab63f00e522ff69c5bc987e379f0163943f2833 (patch) | |
| tree | 53622222ac729c6ab6dc75ef7f9bafa8031daf18 /src/npc/phonograph.c | |
| parent | 73901a0a012d55ebb66a4627dcb246d19737fcb5 (diff) | |
| parent | 5b2cafdc894823d57beee8f3947a391d881d91de (diff) | |
Various code cleanup changes
Diffstat (limited to 'src/npc/phonograph.c')
| -rw-r--r-- | src/npc/phonograph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/npc/phonograph.c b/src/npc/phonograph.c index f10677d2..241f2947 100644 --- a/src/npc/phonograph.c +++ b/src/npc/phonograph.c @@ -8,10 +8,10 @@ #include "entity.h" #include "fileselect.h" #include "flags.h" -#include "functions.h" #include "message.h" #include "screen.h" #include "script.h" +#include "sound.h" typedef struct { /*0x00*/ Entity base; @@ -205,14 +205,14 @@ const static Font gUnk_081146B8 = { #ifdef EU void sub_0806EABC(PhonographEntity* this) { sub_08050384(); - sub_08057044(this->unk_68, gUnk_020227E8, 0x202020); + NumberToAsciiPad3Digits(this->unk_68, gUnk_020227E8, 0x202020); ShowTextBox(0x3302, &gUnk_081146B8); gScreen.bg0.updated = 1; } #else void sub_0806EABC(Entity* this, u32 param) { sub_08050384(); - sub_08057044(param, gUnk_020227E8, 0x202020); + NumberToAsciiPad3Digits(param, &gUnk_020227E8[0], 0x202020); ShowTextBox(0x3302, &gUnk_081146B8); gScreen.bg0.updated = 1; } |
