extern gAncientPowerRockSpriteTemplate fix

This commit is contained in:
DizzyEggg 2025-01-09 15:50:39 +01:00 committed by GitHub
parent 697d2b7f30
commit 9ab4f5d26a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ static void MainCB2_EndIntro(void);
extern const struct CompressedSpriteSheet gBattleAnimPicTable[];
extern const struct CompressedSpritePalette gBattleAnimPaletteTable[];
extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate[];
extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate;
enum {
COPYRIGHT_INITIALIZE,
@ -1993,7 +1993,7 @@ static void CreateGroudonRockSprites(u8 taskId)
for (i = 0; i < (int)ARRAY_COUNT(sGroudonRockData); i++)
{
spriteId = CreateSprite(gAncientPowerRockSpriteTemplate, sGroudonRockData[i][0], DISPLAY_HEIGHT, i);
spriteId = CreateSprite(&gAncientPowerRockSpriteTemplate, sGroudonRockData[i][0], DISPLAY_HEIGHT, i);
gSprites[spriteId].callback = SpriteCB_GroudonRocks;
gSprites[spriteId].oam.priority = 0;
gSprites[spriteId].sRockId = i;