Skip to content

Commit

Permalink
extern gAncientPowerRockSpriteTemplate fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DizzyEggg authored Jan 9, 2025
1 parent 697d2b7 commit 9ab4f5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/intro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9ab4f5d

Please sign in to comment.