Fixed broken palette load for shiny followers in the sprite visualizer (#6683)
Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
parent
71cfab6477
commit
6fdb6a9e34
@ -1840,13 +1840,10 @@ u8 CreateObjectGraphicsSprite(u16 graphicsId, void (*callback)(struct Sprite *),
|
||||
const struct ObjectEventGraphicsInfo *graphicsInfo = GetObjectEventGraphicsInfo(graphicsId);
|
||||
struct Sprite *sprite;
|
||||
u8 spriteId;
|
||||
bool32 isShiny = graphicsId & OBJ_EVENT_MON_SHINY;
|
||||
|
||||
spriteTemplate = Alloc(sizeof(struct SpriteTemplate));
|
||||
CopyObjectGraphicsInfoToSpriteTemplate(graphicsId, callback, spriteTemplate, &subspriteTables);
|
||||
|
||||
if (isShiny)
|
||||
graphicsId -= SPECIES_SHINY_TAG;
|
||||
|
||||
if (OW_GFX_COMPRESS)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user