diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-01 15:25:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-01 15:25:22 -0400 |
commit | cd4462f58cce785f408af26a7a3b11ad08575a5a (patch) | |
tree | 2a35a97aa4fb1eae38861178967e6806b4f00e00 /src/ghost.c | |
parent | 471608b56abbdf70a452896a0d895ffa5b4b06f9 (diff) | |
parent | e006569719969870ce480916a23cfd157fdcf454 (diff) |
Merge pull request #474 from lioniac/master
Multiple renamings and removed some orphaned functions
Diffstat (limited to 'src/ghost.c')
-rw-r--r-- | src/ghost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghost.c b/src/ghost.c index e0ed006b8..f6afdd9dc 100644 --- a/src/ghost.c +++ b/src/ghost.c @@ -1322,7 +1322,7 @@ static void sub_80B6BE4(u8 taskId) GetBattleAnimBgData(&animBgData, 2); gMonSpritesGfxPtr->multiUseBuffer = AllocZeroed(0x2000); LZDecompressWram(gBattleAnimBgTilemap_ScaryFacePlayer, gMonSpritesGfxPtr->multiUseBuffer); - sub_80730C0(animBgData.paletteId, gMonSpritesGfxPtr->multiUseBuffer, 256, 0); + RelocateBattleBgPal(animBgData.paletteId, gMonSpritesGfxPtr->multiUseBuffer, 256, 0); CopyToBgTilemapBufferRect_ChangePalette(animBgData.bgId, gMonSpritesGfxPtr->multiUseBuffer, 0, 0, 0x20, 0x20, 0x11); CopyBgTilemapBufferToVram(2); FREE_AND_SET_NULL(gMonSpritesGfxPtr->multiUseBuffer); |