diff options
author | scnorton <scnorton@biociphers.org> | 2017-06-21 12:43:59 -0400 |
---|---|---|
committer | scnorton <scnorton@biociphers.org> | 2017-06-21 12:43:59 -0400 |
commit | 99f9d40be14633630503ebcd75787fc7fdfe1486 (patch) | |
tree | c3962867c76bca0f06311bc39791aa42889e877d /src/credits.c | |
parent | 294cbd8beb08b14a24385a78f1a8435f5fbe2f8c (diff) | |
parent | 42ae04c74fe07d05175efb4df143dbcf1b2752bc (diff) |
Merge remote-tracking branch 'origin/master' into field_specials
Diffstat (limited to 'src/credits.c')
-rw-r--r-- | src/credits.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/credits.c b/src/credits.c index a7d6191e6..8ec126a41 100644 --- a/src/credits.c +++ b/src/credits.c @@ -1495,7 +1495,7 @@ void spritecb_81454E0(struct Sprite *sprite) { static u8 sub_81456B4(u16 species, u16 x, u16 y, u16 position) { u32 personality; - const u16 *palette; + const u8 *lzPaletteData; u8 spriteId; u8 spriteId2; @@ -1527,8 +1527,8 @@ static u8 sub_81456B4(u16 species, u16 x, u16 y, u16 position) 1 ); - palette = species_and_otid_get_pal(species, 0, 0xFFFF); - LoadCompressedPalette(palette, 0x100 + (position * 16), 0x20); + lzPaletteData = species_and_otid_get_pal(species, 0, 0xFFFF); + LoadCompressedPalette(lzPaletteData, 0x100 + (position * 16), 0x20); sub_8143648(position, position); spriteId = CreateSprite(&gUnknown_02024E8C, x, y, 0); |