diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-04-08 16:24:30 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-04-08 16:27:11 -0400 |
commit | 8853588af07169ac61a5fe22ab928d94c92a05ea (patch) | |
tree | b40fee810b450954fd5c75d74ab4eed632f7bced /src/rom_81520A8.c | |
parent | 22fa4cb17865f12d1cd9a6aea23691eaf99adc59 (diff) |
Sync digit_obj_util
Diffstat (limited to 'src/rom_81520A8.c')
-rw-r--r-- | src/rom_81520A8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rom_81520A8.c b/src/rom_81520A8.c index f6d14d49c..8b10d44d0 100644 --- a/src/rom_81520A8.c +++ b/src/rom_81520A8.c @@ -2,7 +2,7 @@ #include "rom_81520A8.h" #include "malloc.h" #include "main.h" -#include "rom_8034C54.h" +#include "digit_obj_util.h" static EWRAM_DATA struct { @@ -138,7 +138,7 @@ static bool32 sub_81523F4(struct UnkStruct_81520A8 *structPtr, u8 arg1) return FALSE; structPtr->unk18 = arg1; - structPtr->tileNum = (sub_80355F8(structPtr->oam.shape, structPtr->oam.size) * arg1) + tileStart; + structPtr->tileNum = (GetTilesPerImage(structPtr->oam.shape, structPtr->oam.size) * arg1) + tileStart; return TRUE; } |