diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-29 21:10:54 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-29 21:10:54 -0400 |
commit | e130a00cdf69c58dbff8e98a69559aeb33f87b60 (patch) | |
tree | e128e502a2229f5d934f0436a0eb31dc86350bbb /src/unk_815C980.c | |
parent | ef4c86fbfdd18b78700f61b629907a85579197c0 (diff) | |
parent | d4cc0e161bf103d3d3e01fefa02e867d4a2053c2 (diff) |
Merge branch 'master' into slot_machine
Diffstat (limited to 'src/unk_815C980.c')
-rw-r--r-- | src/unk_815C980.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unk_815C980.c b/src/unk_815C980.c index 9d0dd3341..09b92c834 100644 --- a/src/unk_815C980.c +++ b/src/unk_815C980.c @@ -41,6 +41,7 @@ static void sub_815CFEC(struct UnkStruct2 *arg0, s32 arg1, bool32 arg2); static bool32 SharesTileWithAnyActive(u32 id); static bool32 SharesPalWithAnyActive(u32 id); static void sub_8035648(void); +static u8 sub_815D324(u32 shape, u32 size); // ewram static EWRAM_DATA struct UnkStruct1 *gUnknown_203F454 = {0}; @@ -127,7 +128,7 @@ bool32 sub_815CA40(u32 id, s32 arg1, const struct UnkStruct3 *arg2) compObjectPic = *(struct CompressedSpriteSheet*)(arg2->spriteSheet); compObjectPic.size = GetDecompressedDataSize(arg2->spriteSheet->data); - gUnknown_203F454->array[id].tileStart = LoadCompressedObjectPic(&compObjectPic); + gUnknown_203F454->array[id].tileStart = LoadCompressedSpriteSheet(&compObjectPic); } if (gUnknown_203F454->array[id].tileStart == 0xFFFF) @@ -430,7 +431,7 @@ static bool32 SharesPalWithAnyActive(u32 id) return FALSE; } -u8 sub_815D324(u32 shape, u32 size) +static u8 sub_815D324(u32 shape, u32 size) { return gUnknown_8479658[shape][size]; } |