summaryrefslogtreecommitdiff
path: root/src/ghost.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-24 23:19:48 -0400
committerGitHub <noreply@github.com>2021-03-24 23:19:48 -0400
commit35b68c68ee565b9b232252e4f37ea082e9310560 (patch)
treeaeacb544f27db8f63b17b7e808b28f4a1e12acde /src/ghost.c
parentd8b76e6fb545efd69bfb18322a67243520e4d11d (diff)
parent7f70b570dd2e18a34a2c0ee558f404c15c77371c (diff)
Merge pull request #404 from PikalaxALT/misc_doc
[PARTIALLY LEAK INFORMED] Miscellaneous cleanup and documentation
Diffstat (limited to 'src/ghost.c')
-rw-r--r--src/ghost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghost.c b/src/ghost.c
index 0efcc28d4..c8ddf3c12 100644
--- a/src/ghost.c
+++ b/src/ghost.c
@@ -643,7 +643,7 @@ static void sub_80B5AD4(u8 taskId)
break;
case 1:
task->data[14] = (task->data[14] + 16) * 16;
- CpuSet(&gPlttBufferUnfaded[task->data[4]], &gPlttBufferFaded[task->data[14]], 0x4000008);
+ CpuCopy32(&gPlttBufferUnfaded[task->data[4]], &gPlttBufferFaded[task->data[14]], 0x20);
BlendPalette(task->data[4], 16, 10, RGB(13, 0, 15));
++task->data[15];
break;